Pydantic V2 Update¶
Change Proposal: https://fedoraproject.org/wiki/Changes/Update_To_Pydantic_Version_2
Tracking bugzilla: https://bugzilla.redhat.com/2157134
Copr: https://copr.fedorainfracloud.org/coprs/gotmax23/pydanticv2-testing/
Repository: https://git.sr.ht/~gotmax23/python-pydantic-core/tree/main/item/deps
Reviews¶
These packages are awaiting review.
(none)
Dependents¶
This tracks issues in pydantic’s dependents that need to be addressed.
- 👍 = successful build in copr
- ❗ = package update requires dropping support for pydantic v1
- ✅ = patch applied
✅ dirty-equals¶
- https://github.com/samuelcolvin/dirty-equals/issues/72 tracks test failures.
- https://github.com/samuelcolvin/dirty-equals/commit/6b3b7dd41e64eb463ba5044413d698e17a57cb96 and https://github.com/samuelcolvin/dirty-equals/commit/9ea7e27853c08096090abd5dcc3bb5234afa509c do not fix test failures despite purporting to do so.
- Temporary fix: https://src.fedoraproject.org/rpms/python-dirty-equals/c/4de5b19effcbdf8644c18fa33f3c9536037054f2?branch=rawhide
✅ matrix-synapse¶
Add pydantic v2 compatibility
- https://github.com/matrix-org/synapse/issues/15858
- https://github.com/matrix-org/synapse/pull/16332
- https://src.fedoraproject.org/fork/gotmax23/rpms/matrix-synapse/diff/rawhide..pydanticv2
- Upstreamed
👍❗ rstcheck-core¶
Requires pydantic v2.
✅ fastapi¶
New packages¶
(key: already imported)
- python-pydantic-settings
- python-pydantic v2
- python-pydantic-extra-types
- python-pydantic v2
- python-pydantic v2
python-annotated-types (https://bugzilla.redhat.com/2238391)python-pydantic-corerust-enum_dispatchrust-speedate
Lists¶
These source packages require pydantic:
This is a more details breakdown of pydantic’s dependents:
$ fedrq wrsrc python-pydantic -F breakdown -X
Runtime:
fedrq
input-remapper
matrix-synapse
psi4
psi4
python3-aws-sam-translator
python3-bsmschema
python3-dirty-equals+pydantic
python3-fastapi
python3-pytoolconfig+validation
python3-qcelemental
python3-qcengine
python3-rstcheck-core
13 total runtime dependencies
Buildtime:
fedrq
input-remapper
matrix-synapse
psi4
python-aws-sam-translator
python-bsmschema
python-deepdiff
python-dirty-equals
python-fastapi
python-pytoolconfig
python-qcelemental
python-qcengine
python-rstcheck-core
python-versioningit
14 total buildtime dependencies
All SRPM names:
fedrq
input-remapper
matrix-synapse
psi4
python-aws-sam-translator
python-bsmschema
python-deepdiff
python-dirty-equals
python-fastapi
python-pytoolconfig
python-qcelemental
python-qcengine
python-rstcheck-core
python-versioningit
14 total SRPMs
These packages pin pydantic v1: