Skip to content

Commit

Permalink
Blocking pydantic versions 2.9.0/2.9.1 in [dev] (#1068)
Browse files Browse the repository at this point in the history
* chore: un-cap pydantic version

* fix: increasing pydantic floor to avoid model_construct() + Union issues

* fix: specify versions to ignore

* fix: moving version limits to [dev]
  • Loading branch information
dbirman authored Sep 23, 2024
1 parent 6cfd0ea commit a965558
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ dynamic = ["version"]
dependencies = [
'aind-data-schema-models>=0.3.2',
'dictdiffer',
'pydantic>=2.7,<2.9',
'pydantic>=2.7',
'inflection',
'jsonschema',
'semver'
]

[project.optional-dependencies]
dev = [
'aind_data_schema[linters]'
'aind_data_schema[linters]',
'pydantic>=2.7, !=2.9.0, !=2.9.1'
]

linters = [
Expand Down

0 comments on commit a965558

Please sign in to comment.