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

Support py3.12 #25

Open
chenrui333 opened this issue Oct 23, 2023 · 1 comment
Open

Support py3.12 #25

chenrui333 opened this issue Oct 23, 2023 · 1 comment

Comments

@chenrui333
Copy link

While trying to migrate zurl to test against py3.12, ran into the following test failure

    zmq/backend/cython/_device.c: In function ‘__Pyx_Raise’:
    zmq/backend/cython/_device.c:4372:34: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
     4372 |         PyObject* tmp_tb = tstate->curexc_traceback;
          |                                  ^~
    zmq/backend/cython/_device.c:4375:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
     4375 |             tstate->curexc_traceback = tb;
          |                   ^~
    zmq/backend/cython/_device.c: In function ‘__Pyx_PyInt_As_int’:
    zmq/backend/cython/_device.c:5408:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
     5408 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
          |                                                     ^~
    zmq/backend/cython/_device.c:5463:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
     5463 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
          |                                                     ^~
    zmq/backend/cython/_device.c: In function ‘__Pyx_PyInt_As_long’:
    zmq/backend/cython/_device.c:5680:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
     5680 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
          |                                                     ^~
    zmq/backend/cython/_device.c:5735:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
     5735 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
          |                                                     ^~
    zmq/backend/cython/_device.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
    zmq/backend/cython/_device.c:6086:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
     6086 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
          |                                             ^~
    ************************************************
    ************************************************
    error: command '/usr/bin/gcc-11' failed with exit code 1
    error: subprocess-exited-with-error

log, https://github.com/Homebrew/homebrew-core/actions/runs/6450154450/job/17509259440?pr=150232
relates to Homebrew/homebrew-core#150232

@jkarneges
Copy link
Member

Hi, the latest pyzmq (25.1.1) works with python 3.12 for me. The formula refers to pyzmq 24.0.1.

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

2 participants