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
Hi @1Marcuth !
Thank you for raising this issue. So you are saying when pip install pynest-api there is a dependency error? Could you attach maybe screenshots?
The updating dependencies is part of the initiative to move to poetry so i hope it will happened soon.
Not really, this happens when I try to install a library that uses a newer version of pydantic in its code. Then it ends up that I can't install it due to this incompatibility of pydantic versions between pynest and this other library that I mentioned.
(dc-data-api-py3.12) PS D:\programming\projects\actives\typescript\dc-data-api> poetry add git+https://github.com/1Marcuth/dc-wiki.git
Updating dependencies
Resolving dependencies... (0.3s)
Because dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD depends on pydantic (^2.6.1)
and fastapi (0.95.1) depends on pydantic (>=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.7.3,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0), dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with fastapi (0.95.1).
And because pynest-api (0.1.2) depends on fastapi (0.95.1)
and no versions of pynest-api match >0.1.2,<0.2.0, dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with pynest-api (>=0.1.2,<0.2.0).
So, because dc-data-api depends on both pynest-api (^0.1.2) and dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git, version solving failed.
Resolved in the current release line. PyNest now supports Pydantic 2 (pydantic>=2.9.2,<3.0.0) and uses a modern FastAPI line (fastapi>=0.136.3,<0.137.0), eliminating the original FastAPI 0.95 / Pydantic <2 dependency conflict. The dependency modernization landed through #122 and was updated further in #135.
Activity
ItayTheDar commentedon Mar 4, 2024
Hi @1Marcuth !
Thank you for raising this issue. So you are saying when pip install pynest-api there is a dependency error? Could you attach maybe screenshots?
The updating dependencies is part of the initiative to move to poetry so i hope it will happened soon.
marcuth commentedon Mar 4, 2024
Not really, this happens when I try to install a library that uses a newer version of
pydanticin its code. Then it ends up that I can't install it due to this incompatibility ofpydanticversions betweenpynestand this other library that I mentioned.ItayTheDar commentedon Mar 6, 2024
I'll try to reproduce that and see if there is a quick fix
ItayTheDar commentedon Jul 28, 2026
Resolved in the current release line. PyNest now supports Pydantic 2 (
pydantic>=2.9.2,<3.0.0) and uses a modern FastAPI line (fastapi>=0.136.3,<0.137.0), eliminating the original FastAPI 0.95 / Pydantic <2 dependency conflict. The dependency modernization landed through #122 and was updated further in #135.Closing as completed.