-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Failed to install offline #2031
Comments
I guess the problem here is that we don't provide a wheel, and while building the sdist we require setuptools. I'm actually not sure why there are no wheels for the most recent two releases; perhaps @cooperlees knows? |
For context, the reason why building from the sdist is a pain is that the build isolation pip enforces by default (see PEP 517) means installing a fresh setuptools and wheel into such isolated build environment. Now your locally curated wheelhouse doesn't have a copy of setuptools or wheel so the isolated build environment creation failed. A bypass is passing @JelleZijlstra for |
Doing some digging, yes, same story for |
Thanks for the prompt replies! |
We do have wheels for the last few releases, so this should no longer be a problem. |
Describe the bug A clear and concise description of what the bug is.
Failed to install a downloaded black package with pip
To Reproduce Steps to reproduce the behavior:
python -m pip download black -d .\wheels
- seems to download the right packages to.\wheels
python -m pip install --no-index --find-links .\wheels black
- failsExpected behavior A clear and concise description of what you expected to happen.
The downloaded package should be installable offline as any other package via pip.
Environment (please complete the following information):
black-20.8b1.tar.gz
Does this bug also happen on master? To answer this, you have two options:
irrelevant - the bug concerns the package installation.
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: