-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Although the pyproject.toml says requires-python = ">=3.7", when installing the requirements, I get:
% uv add -r requirements.txt
× No solution found when resolving dependencies for split (markers: python_full_version >= '3.7' and python_full_version < '3.9'):
╰─▶ Because the requested Python version (>=3.7) does not satisfy Python>=3.9 and build==1.3.0 depends on Python>=3.9, we can conclude that build==1.3.0
cannot be used.
And because your project depends on build==1.3.0, we can conclude that your project's requirements are unsatisfiable.
hint: The `requires-python` value (>=3.7) includes Python versions that are not supported by your dependencies (e.g., build==1.3.0 only supports
>=3.9). Consider using a more restrictive `requires-python` value (like >=3.9).
hint: While the active Python version is 3.12, the resolution failed for other Python versions supported by your project. Consider limiting your
project's supported Python versions using `requires-python`.
help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.This is an easy fix, just change to requires-python = ">=3.9" and it works fine, which is good: 3.7 is too old already. If that's ok, I can make a PR.
Metadata
Metadata
Assignees
Labels
No labels