constraint-dependencies
not respected outside of pyproject.toml
#9508
Labels
constraint-dependencies
not respected outside of pyproject.toml
#9508
constraint-dependencies
specified in either a project uv.toml, or a user-level uv.toml are ignored, regardless of anything present in the pyproject.toml. I'm using uv version 0.5.5.The documentation on constraint dependencies is a bit light but I feel like this is surprising behaviour.
If it is expected, are there any plans to support
constraint-dependencies
specified in either the user or system-level uv configuration?Simple example of them working in pyproject.toml
pyproject.toml
Running
uv add flask
does not install a version >=3Simple example of them not working in uv.toml
pyproject.toml
uv.toml
Running
uv add flask
installs version 3.1.0The text was updated successfully, but these errors were encountered: