-
Notifications
You must be signed in to change notification settings - Fork 233
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
Python 3.12.0 compatibility issue #928
Comments
+1 |
Also waiting on this, is there any ETA? Thanks. Edit: just realised the issue is with underlying Kafka package: dpkp/kafka-python#2401 |
kafka-python is not actively maintained or getting any of the new features (deprecated) dpkp/kafka-python#2290. We should help the developers of aiokafka towards the standalone package goal as discussed here #915 |
@kPsarakis I'm at finish line of merging kafka-python's code into aiokafka. Are you willing to review test it? |
@ods Yes, let me know how I can help. |
Do you have kafka-python installed and import it from your code directly? Please show traceback with the latest code from master. |
Looks like this is good to go - any chance of a release? |
There are more issues to fix before release. One is the problem with python-snappy (replacing it with cramjam is in process), and another is moving away from setup.py (not so simple due to Cython). |
One more step towards new release with Python 3.12 support: #940. It would be very helpful if those using aiokafka with Snappy and/or ZStandard compression check it with their applications. |
Speaking for us @ods it's much easier for us to test a new version if you release to pypi as a beta. |
Yep, and the quicker this gets out, the higher the likelihood |
And one more, 0.9.0rc1. |
Let's move this discussion to the topic for the prerelease: #948 |
Describe the bug
There is a Python 3.12.0 compatibility issue of aiokafka's dependency, namely kafka-python. The issue has been reported here and there already is a fix waiting to be reviewed here. (By the looks of open issues and open PRs it seems the library is not actively maintained.)
Expected behaviour
No
ModuleNotFoundError: No module named 'kafka.vendor.six.moves'
when importingaiokafka
on Python 3.12.0.Environment
Reproducible example
The text was updated successfully, but these errors were encountered: