Skip to content
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

BUG: pip install scipy failing on PypPy 7.3.7 #15056 #426

Closed
carlosyanez opened this issue Nov 26, 2021 · 7 comments
Closed

BUG: pip install scipy failing on PypPy 7.3.7 #15056 #426

carlosyanez opened this issue Nov 26, 2021 · 7 comments

Comments

@carlosyanez
Copy link

Hi!,

When trying to install scipy on pypy 7.3.7, it fails due to numpy failing to build - this happens even if numpy has been previously installed.

This issue has been raised here pypa/pip#10631 - where a complete reproducible example has been given. However, it doesn't seem to be neither pip problem, nor a scipy issue (scipy/scipy#15056)

Thanks,
Carlos

@gwerbin
Copy link

gwerbin commented Nov 29, 2021

For the sake of the Wheel maintainers: the problem might be that Wheel is erroneously rejecting a valid tag, pp37-pypy37_pp73-macosx_10_7_x86_64.

@agronholm
Copy link
Contributor

Is this with the latest wheel? I don't have a mac to try with, but at least on Linux, the vendored packaging lists pp38-pypy38_pp73-linux_x86_64 as a supported tag.

@gwerbin
Copy link

gwerbin commented Nov 29, 2021

Is this with the latest wheel? I don't have a mac to try with, but at least on Linux, the vendored packaging lists pp38-pypy38_pp73-linux_x86_64 as a supported tag.

The issue was with 3.7 and 37 tags. I believe everything worked correctly when I used 3.8, but I can double check.

@agronholm
Copy link
Contributor

agronholm commented Nov 29, 2021

Just tried on pypy3 3.7.3 and packaging 20.9. The pp37-pypy37_pp73-linux_x86_64 tag is on the list of supported tags.
Is the problem reproduceable on Linux, or macOS only?

EDIT: Should've scrolled to the top where a link to repro was given.

@agronholm
Copy link
Contributor

Looked at the upstream post, found the whole log as gist and this in it:

  Collecting wheel<0.37.0
    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)

When you explicitly request a version of wheel that does not have the necessary fixes, this is the expected result.

@agronholm
Copy link
Contributor

And here is the relevant version in their pyproject.toml: https://github.com/numpy/numpy/blob/main/pyproject.toml#L6

This has come up quite a few times on this issue tracker. It always comes down to the scientific Python projects pinning their packaging dependencies and then not updating those dependencies.

@mattip
Copy link
Contributor

mattip commented Nov 29, 2021

Well spotted, thanks. PR to NumPy submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants