Skip to content

--dev does not override UV_NO_DEV=1 #19310

Description

@multimeric

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions