You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both make deps and poetry install got SolverProblemError:
$ make deps
Installing dependencies from lock file
SolverProblemError
Because psycopg (3.0.12) depends on backports.zoneinfo (>=0.2.0) which doesn't match any versions, psycopg is forbidden.
So, because tortoise-orm depends on psycopg (3.0.12), version solving failed.
at ~/.local/pipx/venvs/poetry/lib/python3.8/site-packages/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
make: *** [deps] Error 1
To Reproduce
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
git clone https://github.com/tortoise/tortoise-orm
cd tortoise-orm
poetry env use python3.8
poetry shell
make deps
Expected behavior
Install dependencies without error
Describe the bug
Both
make deps
andpoetry install
got SolverProblemError:To Reproduce
Expected behavior
Install dependencies without error
Additional context
Poetry version: 1.1.13
OS: Mac
Latest git commit: db9c36c
The text was updated successfully, but these errors were encountered: