Open paulefoa opened 8 months ago
Why do you suspect crc32c.c
/crc32s.h
? They don't include Python.h
and don't deal with Python objects conversion.
Do you install binary package or compile it from source? If later, what Cython version do you use? What OS? CI pipeline should have catch the error, if it was in pre-build packages.
Describe the bug I got this error when trying to produce the message using aiokafka 0.8.1 and Python 3.11.6
This urls might useful for someone who is smarter than me https://bugs.python.org/issue40943 https://peps.python.org/pep-0353/
Here's the stack trace:
I've tried to add this lines of code:
to aiokafka/record/_crecords/crc32c.h and aiokafka/record/_crecords/crc32c.c And it worked, but when I used lz4 compression I got this error:
So I guess that helps somewhat but kafka.codecs also has this problem?
Environment (please complete the following information):
kafka-topics.sh --version
):