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

library not compatible with Python 3.12 #55

Open
gregorleban opened this issue Feb 2, 2024 · 0 comments
Open

library not compatible with Python 3.12 #55

gregorleban opened this issue Feb 2, 2024 · 0 comments

Comments

@gregorleban
Copy link

Currently installing the library on Python 3.12 fails with errors like:

      src/pybloomfilter.c: In function ‘__Pyx_PyInt_As_int’:
      src/pybloomfilter.c:12917:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
      12917 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                     ^~
      src/pybloomfilter.c:12972:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
      12972 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
            |                                                     ^~

other libraries had similar issues and seem to have solved them:

cython/cython#5238

aio-libs/aiohttp#7229

Can the same solution be applied here?

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

1 participant