I have a docker application where I don't want each uv run syncing every time (due to how I build the image without dev group on uv sync) and I don't want uv sync trying to resolve anything.
Therefore I tried to add both env variables to my docker image
For syncing, the UV_NO_SYNC variable is simply ignored, which makes sense and is desirable.
When doing uv run I get:
$ uv run foo
error: the argument '--no-sync' cannot be used with '--frozen'
Usage: uv run --no-sync
Also notice the error messages refer as if I passed conflicting arguments when in fact I used env variables which should be more lenient as in a best effort basis.
In any case, I do not think --no-sync and --frozen are exclusive parameters. They should play along well
I have a docker application where I don't want each
uv runsyncing every time (due to how I build the image without dev group on uv sync) and I don't wantuv synctrying to resolve anything.Therefore I tried to add both env variables to my docker image
For syncing, the UV_NO_SYNC variable is simply ignored, which makes sense and is desirable.
When doing
uv runI get:Also notice the error messages refer as if I passed conflicting arguments when in fact I used env variables which should be more lenient as in a best effort basis.
In any case, I do not think --no-sync and --frozen are exclusive parameters. They should play along well