Skip to content

Commit d2a2a69

Browse files
authored
Merge pull request #801 from fractal-analytics-platform/pydantic-v2-second-attempt-jsonschema
Pydantic v2 second attempt jsonschema
2 parents fee52d4 + dbd93b3 commit d2a2a69

16 files changed

+1043
-889
lines changed

.github/workflows/manifest_external_packages.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,23 @@ jobs:
7575
- name: Install package
7676
run: ${{ matrix.cmd_install }}
7777

78+
- name: Get fractal-tasks-core
79+
uses: actions/checkout@v4
80+
with:
81+
path: fractal-tasks-core
82+
83+
- name: Install current fractal-tasks-core (this may fail)
84+
run: python -m pip install -e ./fractal-tasks-core
85+
86+
- name: DEBUG install devtools
87+
run: python -m pip install devtools
88+
7889
- name: Create manifest
7990
run: ${{ matrix.cmd_create_manifest }}
8091

92+
- name: Setup friendly diff style
93+
run: echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1"
94+
8195
- name: Run git diff for manifest
8296
run: git diff ${{ matrix.manifest_path }}
8397

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88
* Enable workaround to support yx images in Cellpose task (\#789).
99
* Fix error handling in `calculate_registration_image_based` (\#799).
1010
* Fix minor issues with call-signature and type hints in `calculate_registration_image_based` (\#799).
11-
* Development:
12-
* Switch all core models to pydantic v2 (\#790).
11+
* Core-library and tasks:
12+
* Switch all core models to Pydantic V2 (\#793).
13+
* JSON Schema generation tools:
14+
* Move JSON-Schema tools to Pydantic V2 (\#793).
15+
* Testing:
16+
* Remove dependency on `pytest-pretty` (\#793).
17+
* Update `manifest_external_packages.yml` GitHub Action so that it installs the current `fractal-tasks-core` (\#793).
1318

1419
# 1.1.0
1520

0 commit comments

Comments
 (0)