Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
f7b5bbe
Update pydantic version across various files
BenjaminCharmes Jun 7, 2026
7238da2
Refactor server config for pydantic v2
BenjaminCharmes Nov 11, 2025
5f4315b
Update traits module to pydantic v2
ml-evs Jun 7, 2026
c424096
Refactor model imports to avoid circular deps
ml-evs Nov 11, 2025
18ab61e
Rework all models and tasks into pydantic v2 amenable form
BenjaminCharmes Nov 11, 2025
86134fd
Load FTS fields for MongoDB from model schemas directly
BenjaminCharmes Nov 11, 2025
f06642f
Misc pydantic v2 bumps around code
ml-evs Nov 11, 2025
dd1b28e
Update various routes for pydantic v2
BenjaminCharmes Nov 11, 2025
cd32422
More model updates
ml-evs Jun 7, 2026
4069ae9
Minimal test updates
ml-evs Jun 7, 2026
4e816c2
Patch optional vs default value for plugin data blocks
ml-evs Jun 7, 2026
1be1ee8
Simplify error handling of all item routes
ml-evs Jun 7, 2026
b8bf705
Fix exports for pydantic 2
ml-evs Jun 7, 2026
a5ac1b8
Fix info endpoint for pydantic 2
ml-evs Jun 7, 2026
bbf684d
Unpick circular dependencies between export/items routes by moving lo…
ml-evs Jun 7, 2026
f1caab1
Move `datalab_*` fields in schema to `json_schema_extra` and allow ca…
ml-evs Jun 7, 2026
5f4ca8e
Final wave of model_dump/dict changes
ml-evs Jun 7, 2026
e48f55b
Minor tweaks suggested by copilot
ml-evs Jun 7, 2026
4b1ddd4
Fix docker build by reordering tasks imports
ml-evs Jun 7, 2026
57b5505
Update plugin config validator for pydantic 2
ml-evs Jun 8, 2026
c75fdae
Added test to check if None fields are preserved with saving items an…
be-smith Jun 25, 2026
388bf0b
Fix None field stripping in item creation and version snapshots (pyda…
be-smith Jun 25, 2026
78b440b
Add failing test. Checking if saving None overwrites a previously sav…
be-smith Jun 25, 2026
953c784
Remove exclude None from the save_item route
be-smith Jun 25, 2026
7391c01
Fix status dropdown broken by Pydantic v2 schema migration
jbouquiaux Jun 12, 2026
66b99db
Fix enum value sanitisation in change-user-role
ml-evs Aug 4, 2026
ea2653d
Use `model_dump(mode=json)` to prevent repeated deserialization
ml-evs Aug 4, 2026
6acc3fa
Catch final remaining dict()
ml-evs Aug 12, 2026
1e350f2
Final regeneration of schemas
ml-evs Aug 20, 2026
c075b7a
Move HasFiles trait into files model module
ml-evs Aug 20, 2026
c211fed
Update cell docstrings
ml-evs Aug 22, 2026
390edf6
Chatblock fix: make sure to set item data properly
ml-evs Aug 22, 2026
239a785
Fix plugin config schema regression
ml-evs Aug 22, 2026
5b49756
Use post-pydantic validator in config
ml-evs Aug 22, 2026
00b6b24
Fix double-coercion in admin task
ml-evs Aug 23, 2026
2d7f246
Remove global containing item_fts_fields
ml-evs Aug 23, 2026
4056ee2
Revert to allow collection_id to be None
ml-evs Aug 23, 2026
623edac
Ditch now-extraneous collection relationship block
ml-evs Aug 23, 2026
4f0a823
tagging system
gpetretto Jul 19, 2026
150d7ff
add scope to tags
gpetretto Jul 20, 2026
23e4d2e
remove canary comments
gpetretto Jul 20, 2026
cffc4f8
tags updates
gpetretto Jul 23, 2026
7a30b2f
attempt to fix test by creating admin user
gpetretto Jul 23, 2026
1c6044e
Regenerate schemas after rebase onto bump-pydantic-final-final
gpetretto Aug 21, 2026
f122121
use werkzeug exceptions
gpetretto Aug 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ updates:
- minor
- patch
ignore:
- dependency-name: "pydantic"
versions: [ ">=2" ]
- dependency-name: "bokeh"
versions: [ ">=3" ]
- dependency-name: "langchain"
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ jobs:
cp webapp/.env.test_e2e .env
echo "PYDATALAB_TESTING=true" >> .env
echo "PYDATALAB_TESTING=true" >> pydatalab/.env
# Enable the tags feature for the e2e backend (frontend flag is in .env.test_e2e).
echo "PYDATALAB_ENABLE_TAGS=true" >> .env
echo "PYDATALAB_ENABLE_TAGS=true" >> pydatalab/.env

- name: Build Docker images
uses: docker/bake-action@v7
Expand Down Expand Up @@ -323,6 +326,10 @@ jobs:
exit 1
fi

- name: Create the test admin user
# The first admin cannot be created over the API, so create one directly.
run: docker compose exec -T api uv run invoke admin.seed-e2e-admin

- name: Run end-to-end tests
uses: cypress-io/github-action@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ repos:
hooks:
- id: mypy
additional_dependencies:
["types-python-dateutil", "types-requests", "types-paramiko", "pydantic~=1.10"]
["types-python-dateutil", "types-requests", "types-paramiko", "pydantic", "pydantic-settings"]
args: ["--config-file", "pydatalab/pyproject.toml"]

- repo: local
Expand Down
4 changes: 3 additions & 1 deletion pydatalab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ dependencies = [
"bokeh ~= 2.4, < 3.0",
"matplotlib ~= 3.8",
"periodictable ~= 2.1",
"pydantic[email, dotenv] < 2.0",
"pydantic[email] >= 2.11, < 3.0",
"pydantic-settings ~= 2.10",
"python-dotenv ~= 1.1",
"pint ~= 0.24",
"pandas[excel] ~= 2.2",
"pymongo ~= 4.7",
Expand Down
Loading
Loading