这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@markjrouse

Description

@markjrouse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions