Summary
After updating to the latest version of uv 0.11.15 I noticed the following error in our docker build:
> [builder 4/8] RUN --mount=type=cache,target=/root/.cache uv sync --frozen --no-dev --no-install-local --no-install-project :
0.105 error: invalid value '' for '--no-binary-package <NO_BINARY_PACKAGE>': Not a valid package or extra name: "". Names must start and end with a letter or digit and may only contain -, _, ., and alphanumeric characters.
0.105
0.105 For more information, try '--help'.
We have this in our dockerfile:
ARG UV_NO_BINARY_PACKAGE=""
ENV UV_NO_BINARY_PACKAGE=${UV_NO_BINARY_PACKAGE}
I assume it's related to this recent change: #19435
I rolled back to 0.11.14 and confirmed it worked previously. I wonder if that validation should be on cli args only?
Platform
Debian
Version
0.11.15
Python version
3.11
Summary
After updating to the latest version of uv
0.11.15I noticed the following error in our docker build:We have this in our dockerfile:
I assume it's related to this recent change: #19435
I rolled back to
0.11.14and confirmed it worked previously. I wonder if that validation should be on cli args only?Platform
Debian
Version
0.11.15
Python version
3.11