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

install not possible because of version conflicts #533

Closed
digi604 opened this issue Aug 31, 2023 · 1 comment
Closed

install not possible because of version conflicts #533

digi604 opened this issue Aug 31, 2023 · 1 comment

Comments

@digi604
Copy link

digi604 commented Aug 31, 2023

Describe the bug
Trying to install this package with "poetry add supabase" gives the following error:

Because no versions of supabase match >1.0.4,<2.0.0
and supabase (1.0.4) depends on postgrest (>=0.10.8,<0.11.0), supabase (>=1.0.4,<2.0.0) requires postgrest (>=0.10.8,<0.11.0).
Because postgrest (0.10.8) depends on pydantic (>=2.1.0,<3.0)
and no versions of postgrest match >0.10.8,<0.11.0, postgrest (>=0.10.8,<0.11.0) requires pydantic (>=2.1.0,<3.0).
Thus, supabase (>=1.0.4,<2.0.0) requires pydantic (>=2.1.0,<3.0).
So, because main depends on both pydantic (^1.10.4) and supabase (^1.0.4), version solving failed.

To Reproduce
poetry add supabase

Expected behavior
It installs

Desktop (please complete the following information):

  • OS: osx
@digi604 digi604 closed this as completed Aug 31, 2023
@sarperdag
Copy link

Requiring pydantic higher than v2 conflicts with many other packages. A recent discussion is here.

https://twitter.com/jeremyphoward/status/1703112053446385915

Is it possible to go pydantic 1.x ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants