Summary
This warning appears when failing to set lower bounds on dependencies:
warning: The direct dependency `click` is unpinned. Consider setting a lower bound when using `--resolution lowest` to avoid using outdated versions.
This occurs when using --resolution lowest-direct, which could be misleading since the message implies --resolution lowest is being used.
Simple reproducer
uv init --lib
- Add an unpinned dep; e.g.
dependencies = ["click"]
- Run
uv export --resolution lowest-direct > requirements.txt
Platform
Windows 10 x86_64
Version
uv 0.7.3 (3c413f7 2025-05-07)
Python version
Python 3.13.2