-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MNT Update dependencies versions in PyPy CI #17994
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
Conversation
OK, still getting the segfault at import time,
will to import cython version and if it doesn't help report upstream. @ogrisel The output of,
is
The issue was with openblas 3.10 only right? |
The regression I mentioned IRL is impacting OpenBLAS 0.3.10 indeed. It was not present in 0.3.9 but I don't know about 0.3.9*.dev* though. |
See: #17980 and linked issues. |
If the numpy openblas is the culprit then there is the following minimal reproducer: import numpy as np
np.ones(shape=(300000, 5)) @ np.ones(shape=(5, 5)) |
@@ -105,16 +105,16 @@ jobs: | |||
|
|||
pypy3: | |||
docker: | |||
- image: pypy:3.6-7.2.0 | |||
- image: pypy:3.6-7.3.1 |
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.
PyPy released 7.3.2, is there a image for it yet?
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 have downloaded 7.3.2 from the download page and the segfaults are still there.
@@ -21,10 +21,8 @@ which python | |||
pip install -U pip | |||
|
|||
# pins versions to install wheel from https://antocuni.github.io/pypy-wheels/manylinux2010 | |||
pip install --extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010 numpy==1.18.0 scipy==1.3.2 | |||
pip install --extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010 Cython numpy==1.19.1 scipy==1.5.2 |
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.
The NumPy wheel is available on PyPI (at the bottom of the page) now
|
||
# Install Cython directly | ||
pip install https://antocuni.github.io/pypy-wheels/ubuntu/Cython/Cython-0.29.14-py3-none-any.whl |
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 think this is can also be installed from PyPI
FWIW I can reproduce the problem locally:
Tail of the output:
so very similar to #17994 (comment). I can run fine the snippet in: |
Thanks for the detailed report. I can reproduce and am looking at the problem. |
xref PyPy issue https://foss.heptapod.net/pypy/pypy/-/issues/3336. There is a bug in PyPy which currently only allows the format string of |
@mattip thanks for investigating this! I have curated a list of sklearn import throwing segfault with pypy (with the error message reported by @lesteve above). |
Should be fixed on PyPy HEAD, and there is a temporary fix bubbling through the conda-forge soup, linked above. |
I think this PR is no longer relevant since we switched to installing PyPi via conda-forge. |
Updates dependencies versions for PyPy, numpy, scipy in PyPy CI
Let's see if this fixes the segfaults we are currently seeing there.