pypy failure on master
See original GitHub issueNot sure what’s happening but the failure persists after I rerun the job. ping @rth maybe? See https://circleci.com/gh/scikit-learn/scikit-learn/43934
Installing collected packages: scikit-learn
Running setup.py develop for scikit-learn
Running command /root/project/pypy-env/bin/pypy3 -c "import setuptools, tokenize;__file__='/root/project/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps
Partial import of sklearn during the build process.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/root/project/setup.py", line 243, in <module>
setup_package()
File "/root/project/setup.py", line 216, in setup_package
numpy_status = get_numpy_status()
File "/root/project/setup.py", line 149, in get_numpy_status
import numpy
File "/root/project/pypy-env/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/root/project/pypy-env/site-packages/numpy/core/__init__.py", line 16, in <module>
from . import multiarray
File "/root/project/pypy-env/site-packages/numpy/core/multiarray.py", line 44, in <module>
arange.__module__ = 'numpy'
AttributeError: readonly attribute '__module__'
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Tests are broken on master for pypy / pypy3 #1378 - GitHub
The core of the problem is that tox -e py27 might match a python2.7 that is pypy2 which fails the interpreter matching code...
Read more >Cannot install opencv-python for PyPy2.7 - Stack Overflow
Now I want to install opencv-python, which results in the error ... /pbMoMa-master/my-pypy/site-packages/pip/_vendor/pep517/_in_process.py", ...
Read more >Libraries like Pikepdf fail to build because of ... - Heptapod
Because of lines like the above, there is a problem while building these packages in pypy. The error is. In file included from...
Read more >Packages installed from PyPI cannot depend on packages ...
Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI. I'm getting this error when I try to...
Read more >Blog - PyPy
They manifested as assert failures in the JIT compiler. The JIT concluded after 12 == int_mul(x, 12) that x == 1 , which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
rerun the job but still fails, reopen
Yes, it turns out I was trying to build numpy 1.5 (from 2010) with PyPy… Instead of 1.15 – makes sense it didn’t work and was attempting to run 2to3 (presumably to get Python 3.1 compatible code) 😃
Should be fixed in https://github.com/scikit-learn/scikit-learn/pull/13018