-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
PyPi package not compatible with CPython nightly (3.7) #10500
Copy link
Copy link
Closed
Labels
57 - Close?Issues which may be closable unless discussion continuedIssues which may be closable unless discussion continuedcomponent: distribution
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
57 - Close?Issues which may be closable unless discussion continuedIssues which may be closable unless discussion continuedcomponent: distribution