-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
While trying to bump pact-python
version in one of our projects, I get the following error (we are using poetry):
⋊> poetry update 11:36:03
Updating dependencies
Resolving dependencies... (48.7s)
SolverProblemError
Because pact-python (1.4.0) depends on uvicorn (0.14.0)
and no versions of pact-python match >1.4.0,<2.0.0, pact-python (>=1.4.0,<2.0.0) requires uvicorn (0.14.0).
So, because <our project name> depends on both uvicorn (0.15.0) and pact-python (^1.4.0), version solving failed.
at /usr/local/Cellar/poetry/1.1.7/libexec/lib/python3.9/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
Would it be possible to allow a range of uvicorn versions, e.g., >= 0.14.0
?
Same for FastAPI - since it's the main dependency for some of our services, there is a high chance that the exact version will not match with one defined in pact-python.
Thanks in advance.
LanderMoerkerke
Metadata
Metadata
Assignees
Labels
No labels