Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry can't install ormar-postgres-extensions due to Pydantic incompatibility #1425

Open
markjrouse opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@markjrouse
Copy link

Describe the bug
Can't install with Poetry ormar-postgres-extensions as it comes up with the following error:

Because no versions of ormar-postgres-extensions match >2.3.0,<3.0.0
and ormar-postgres-extensions (2.3.0) depends on pydantic (>=1.9.0,<2.0.0), ormar-postgres-extensions (>=2.3.0,<3.0.0) requires pydantic (>=1.9.0,<2.0.0).
And because ormar (0.20.2) depends on pydantic (>=2.5.3,<2.9.0)
and no versions of ormar match >0.20.2,<0.21.0, ormar-postgres-extensions (>=2.3.0,<3.0.0) is incompatible with ormar (>=0.20.2,<0.21.0).
So, because depends on both ormar (^0.20.2) and ormar-postgres-extensions (^2.3.0), version solving failed.

To Reproduce
Steps to reproduce the behavior:

  1. poetry add ormar-postgres-extensions

Expected behavior
I should be able to use Poetry to add ormar-postgres-extensions to my project.

Versions (please complete the following information):

  • Database backend used (postgres)
  • Python 3.11
  • ormar 0.20.1
  • pydantic 2.8.2
@markjrouse markjrouse added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant