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

Update websockets dependency version #35

Closed
Matthew-Burkard opened this issue Apr 30, 2022 · 0 comments · Fixed by #36
Closed

Update websockets dependency version #35

Matthew-Burkard opened this issue Apr 30, 2022 · 0 comments · Fixed by #36

Comments

@Matthew-Burkard
Copy link
Contributor

realtime-py uses websockets = "^9.1" which is outdated causing realtime-py to be incompatible with other libraries using later versions of websockets such as uvicorn.

poetry add supabase
Using version ^0.5.3 for supabase

Updating dependencies
Resolving dependencies... (2.4s)

  SolverProblemError

  Because no versions of supabase match >0.5.3,<0.6.0
   and supabase (0.5.3) depends on realtime (>=0.0.4,<0.0.5), supabase (>=0.5.3,<0.6.0) requires realtime (>=0.0.4,<0.0.5).
  And because no versions of realtime match >0.0.4,<0.0.5
   and realtime (0.0.4) depends on websockets (>=9.1,<10.0), supabase (>=0.5.3,<0.6.0) requires websockets (>=9.1,<10.0).
  And because uvicorn (0.17.6) depends on websockets (>=10.0)
   and no versions of uvicorn match >0.17.6,<0.18.0, supabase (>=0.5.3,<0.6.0) is incompatible with uvicorn (>=0.17.6,<0.18.0).
  So, because supa-test depends on both uvicorn (^0.17.6) and supabase (^0.5.3), version solving failed.

  at ~/.poetry/lib/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│ 
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes
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

Successfully merging a pull request may close this issue.

1 participant