PyPi package not compatible with CPython nightly (3.7) · Issue #10500 · numpy/numpy (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
Steps to reproduce:
- Have a build of CPython later than python/cpython@ae3087c
- With it, do
pip install numpy
Expected result: Works
Actual result:
numpy/random/mtrand/mtrand.c: In function ‘__Pyx__ExceptionSave’:
numpy/random/mtrand/mtrand.c:45472:19: error: ‘PyThreadState’ has no member named ‘exc_type’
*type = tstate->exc_type;
^
numpy/random/mtrand/mtrand.c:45473:20: error: ‘PyThreadState’ has no member named ‘exc_value’
*value = tstate->exc_value;
^
numpy/random/mtrand/mtrand.c:45474:17: error: ‘PyThreadState’ has no member named ‘exc_traceback’
*tb = tstate->exc_traceback;
^
numpy/random/mtrand/mtrand.c: In function ‘__Pyx__ExceptionReset’:
numpy/random/mtrand/mtrand.c:45481:22: error: ‘PyThreadState’ has no member named ‘exc_type’
tmp_type = tstate->exc_type;
^
numpy/random/mtrand/mtrand.c:45482:23: error: ‘PyThreadState’ has no member named ‘exc_value’
tmp_value = tstate->exc_value;
^
numpy/random/mtrand/mtrand.c:45483:20: error: ‘PyThreadState’ has no member named ‘exc_traceback’
tmp_tb = tstate->exc_traceback;
^
numpy/random/mtrand/mtrand.c:45484:11: error: ‘PyThreadState’ has no member named ‘exc_type’
tstate->exc_type = type;
^
numpy/random/mtrand/mtrand.c:45485:11: error: ‘PyThreadState’ has no member named ‘exc_value’
tstate->exc_value = value;
^
numpy/random/mtrand/mtrand.c:45486:11: error: ‘PyThreadState’ has no member named ‘exc_traceback’
tstate->exc_traceback = tb;
This is Cython generated code; you need to use a newer version of Cython, see cython/cython#1955