Summary
The uv docs say that:
Settings provided via environment variables take precedence over persistent configuration, and settings provided via the command line take precedence over both.
However, you can easily test that uv run --dev does not override UV_NO_DEV=1. I've created a repo that demonstrates this here: https://github.com/multimeric/UvNoDevBug. In the workflow run, pytest is not available, which indicates that UV_NO_DEV=1 is winning.
Platform
Tested on MacOS 15.6 and Ubuntu 24.04.4
Version
0.11.10, 0.11.11
Python version
3.12
Summary
The uv docs say that:
However, you can easily test that
uv run --devdoes not overrideUV_NO_DEV=1. I've created a repo that demonstrates this here: https://github.com/multimeric/UvNoDevBug. In the workflow run,pytestis not available, which indicates thatUV_NO_DEV=1is winning.Platform
Tested on MacOS 15.6 and Ubuntu 24.04.4
Version
0.11.10, 0.11.11
Python version
3.12