-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Replace deprecated setup.py install command #14568
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's just going to break packaging meson when pip isn't installed. e.g. on Gentoo, building meson will have gpep517
installed but almost certainly not pip.
871f8bb
to
4a8c663
Compare
I wasn't sure about this. You confirm it. Unfortunately, it seems |
The problem is that setuptools (and pip) vendor all sort of crap, so you need to install something. In the end they all use either You could try multiple strategies and then gpep517 could be one of them, but because it uses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure about this. You confirm it. Unfortunately, it seems
pip
is installed on the Gentoo CI, so its hard to test for me. I'm blindly trying something...
Reversing the order would make it test the gpep517 codepath. :P
cc9971c
to
edad459
Compare
edad459
to
64d0076
Compare
In `run_meson_command_tests.py`. Replace it with `pip install .` if `pip` is available. Replace it with 'gpep517 install-from-source` if available. Else keep the old behaviour. Fixes mesonbuild#14522.
64d0076
to
1dd7f8b
Compare
In
run_meson_command_tests.py
. Replace it withpip install .
.Fixes #14522.