-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packages that fail to install under PEP 517 with build isolation #2252
Comments
|
Prior versions of However, the most recent published version (
|
This also causes |
I have problems with ❯ uv pip install setuptools torch numpy
Resolved 11 packages in 2ms
Installed 1 package in 23ms
+ numpy==1.26.4
❯ uv pip install xformers --no-build-isolation
Resolved 11 packages in 2ms
error: Failed to download distributions
Caused by: Failed to fetch wheel: xformers==0.0.24
Caused by: Failed to build: xformers==0.0.24
Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
--- stdout:
--- stderr:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel' |
@baggiponte -- I think you need to install |
That solves it - then I get weird C errors but definitely not uv-related. Do you think uv should automatically recommend this kind of suggestions? A bit like the Rust compiler, that has wonderfully helpful error messages. |
Yeah we should add a nice message for “missing wheel”. We have that for a few other failures. \cc @konstin |
|
|
$ uv venv .venv --seed
$ .venv/bin/pip install cython==3.0.0
$ .venv/bin/pip install cchardet==2.1.7 --use-pep517
$ uv venv .venv
$ uv pip install --python .venv/bin/python cython==3.0.0
$ uv pip install --python .venv/bin/python cchardet==2.1.7 fails.
|
|
|
Ahhhhhhh I'm like 90% certain EDIT: Yeah this fails: |
I don't know that an issue is the right home for this, but I want to track the packages we know can't be installed under PEP 517 when build isolation is enforced. In all cases, these packages also fail under
pip install --use-pep517
.The text was updated successfully, but these errors were encountered: