uv pip "No solution found" resolver conflict in CI
uv resolved your dependency graph and found no version set that satisfies every constraint. It prints a concise explanation naming the requirements that cannot coexist.
What this error means
uv stops with "x No solution found when resolving dependencies:" followed by a "Because ... and ..., we can conclude" chain identifying the conflict.
pip
x No solution found when resolving dependencies:
+-> Because only urllib3<2 is available and boto3 depends on urllib3>=2,
we can conclude that your requirements are unsatisfiable.Common causes
Two requirements demand incompatible ranges
uv reports the exact "Because" chain: one constraint caps a shared dependency below what another requires.
A pinned version excludes a needed transitive bump
A hard pin in your project blocks the upgrade a dependency needs, leaving no satisfiable set.
How to fix it
Follow the "Because" chain and relax a constraint
- Read uv's conclusion to see which two constraints collide.
- Loosen the over-tight pin or upgrade the capping package.
- Re-run
uv pip compileto confirm a solution exists.
Terminal
uv pip compile requirements.in -o requirements.txtAllow prereleases only if required
If the only compatible version is a prerelease, opt in explicitly rather than pinning around it.
Terminal
uv pip install --prerelease=allow -r requirements.inHow to prevent it
- Compile a uv lockfile so conflicts surface before CI.
- Prefer ranges over hard pins in your input requirements.
- Upgrade related packages together to keep shared deps compatible.
Related guides
pip "ResolutionImpossible" dependency conflict in CIFix pip "ResolutionImpossible" in CI - the new resolver exhausted all candidates because two requirements dem…
poetry "SolverProblemError" / no matching version in CIFix poetry "SolverProblemError: Could not find a matching version of X" in CI - poetry's solver could not sat…
pip "Could not find a version that satisfies the requirement" in CIFix pip "ERROR: Could not find a version that satisfies the requirement X" in CI - the index has no release m…