-
Notifications
You must be signed in to change notification settings - Fork 87
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
pip 20 breaks supported_wheels.py? #298
Comments
it looks like the old pip's diff --git a/supported_wheels.py b/supported_wheels.py
index 41abc37..7d54ec4 100755
--- a/supported_wheels.py
+++ b/supported_wheels.py
@@ -28,7 +28,10 @@ def tags_for(fname):
def main():
- supported = set(get_supported())
+ supported = {
+ (tag.interpreter, tag.abi, tag.platform) if not isinstance(tag, tuple) else tag
+ for tag in get_supported()
+ }
for fname in sys.argv[1:]:
tags = set(tags_for(fname))
if supported.intersection(tags): alternatively we could check |
Here's where it was changed in pip:
|
Ugh - dammit, how frustrating. They've changed their API again. @anthrotype - any chance of a PR? |
They don't offer a programmatic API at all... so the fact they've changed their internal private implementation detail not sure if it warrants frustration. |
FWIW, we've switched to using |
@pfmoore - thanks - that's an excellent suggestion. |
|
After the recently updated pip 20.0.1, the multibuild's
supported_wheels.py
script (which filters wheel filenames not supported on the current platform) is no longer working.It returns nothing, whereas if I downgrade to pip==19.3.1 it works as before.
I am not sure what exactly changed.
The text was updated successfully, but these errors were encountered: