Open njzjz opened 5 months ago
I think we've avoided this because we're not interested in supporting the pip syntax outside of the pip interface. Maybe we could namespace them e.g. UV_PIP_NO_BINARY
in the meantime?
Some of them are available, though, like UV_CONSTRAINT
, UV_INDEX_URL
, UV_EXTRA_INDEX_URL
, and UV_BREAK_SYSTEM_PACKAGES
. I don't really care what it's called, but it would be nice to have, as you can't pass flags through inside cibuildwheel to every command.
@sanmai-NL we do support this via persistent configuration, e.g.,
Since our top-level settings differ from pip (we don't use :all:
, we have a dedicated flag instead), I'm not sure how best to introduce environment variables for this.
I guess:
UV_NO_BINARY=1
UV_NO_BINARY_PACKAGE="foo bar"
And uv pip
users would need to use the new syntax too?
This is useful with cibuildwheel or some other complicated tools in the CI environment.
pip has similiar
PIP_NO_BINARY
andPIP_ONLY_BINARY
: https://pip.pypa.io/en/latest/cli/pip_install/#cmdoption-no-binary