Skip to content

Commit

Permalink
Dependencies: restrict pydantic to at least 1.10.8
Browse files Browse the repository at this point in the history
The release of `typing_extensions` version `4.6.0` highlighted a bug in
`pydantic` related to the `Literal` type for Python versions 3.8 and 3.9.
This was fixed in `pydantic` version `1.10.8`.

Here the version of `pydantic` is set to be a compatible release with `1.10`
but at least `1.10.8`.
  • Loading branch information
mbercx authored May 24, 2023
1 parent 37d2a14 commit f430139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
'importlib_resources',
'jsonschema',
'numpy',
'pydantic',
'pydantic~=1.10,>=1.10.8',
'packaging',
'qe-tools~=2.0',
'xmlschema~=1.2,>=1.2.5'
Expand Down

0 comments on commit f430139

Please sign in to comment.