-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Warning Using legacy 'setup.py install' for pipfile, since package 'wheel' is not installed.
while building python helper
#5478
Comments
I think this is because I filed pypa/pipfile#143 for Also filed pypa/pip#11362 for Beyond that, there's nothing we can really do here. |
diff --git a/python/helpers/build b/python/helpers/build
index 6b05b879f..c2c2345b5 100755
--- a/python/helpers/build
+++ b/python/helpers/build
@@ -18,6 +18,8 @@ cp -r \
"$install_dir"
cd "$install_dir"
+PYENV_VERSION=3.10.5 pyenv exec pip install wheel
+
PYENV_VERSION=3.10.5 pyenv exec pip install -r "requirements.txt"
# Workaround of https://github.com/python-poetry/poetry/issues/3010 This seems to get rid of the warning and let pip code through the code paths it likes the most I think? Before you get
With the patch you get
|
Oooh, very nifty! I misread the logs and didn't realize we were downloading but not installing One thing is if we do this, how do we manage the version pin of
In some ways, this just adds complexity as well... For now, I'd say let's float this for a few days and see if we get clarity whether if |
Re-opening, as we'll likely need to take some sort of action based on pypa/pip#11362 (comment). The easy fix is manually installing
I plan to dig into a bunch of this as part of #3290 so may re-evaluate it then if nobody gets to it sooner... |
Just FYI, a better way might be to add You probably don't even need to list |
Oh nifty! Thanks for pointing that out @SpecLad, I didn't realize that was an option. Since you suggested this, do you want to submit a PR and getting credit for it on the changelog? This is the line that's throwing the warning: dependabot-core/python/helpers/build Line 21 in c00c019
There's a few other places we use I can also do it if you're not interested. |
Okay, PR submitted. I ended up not removing |
Noticed this warning:
I'm a little confused, since
wheel
is already installed in a previous step.Perhaps the problem is that both are installed during the same
pip
run and instead need to first installwheel
and then re-run pip install with the other stuff?Need to dig further... Looks like there might be some additional info here: pypa/pip#8102
The text was updated successfully, but these errors were encountered: