You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening this issue here because issues are disabled on the aind-data-schema repo, and aind-data-schema#1870 directs all new requests to this repo.
Problem
aind-data-schema restricts pydantic to >=2.7, <2.12. The upper bound was added
because of a regression in pydantic 2.12 around model_validators, but AllenNeuralDynamics/aind-data-schema#1583 fixed that.
So the constraint seems to have outlived the bug.
Proposal
Relax the bound to pydantic>=2.7, <3.0.
To catch this kind of breakage before downstream users do, you can test both ends of the declared range in CI using uv's --resolution strategies:
highest catches new releases (like pydantic 2.12) the day they ship. You can run it on a schedule and it fails here first, instead of in downstream projects. lowest-direct verifies the >=2.7 floor still actually works. uv pip install is a drop-in replacement for the current pip install -e .[dev] step, so existing test/lint commands run unchanged.
Activity
dbirman commentedon Sep 9, 2026
Thanks I should be able to get this in to the v3.0.0 release we're doing, which will be the first release of biodata-schema.