Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels