PythonNest/PyNest

Could you update the dependencies?

Opened this issue · 3 comments

I'm facing compatibility issues with the pydantic version, which is later a dependency on fastapi and won't let me update either of them...

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.

I'll try to reproduce that and see if there is a quick fix