-
Notifications
You must be signed in to change notification settings - Fork 766
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
[hw] Enable build and test for Python 3.11 and 3.12 #5393
Conversation
a00344d
to
2cdb7ac
Compare
setup.py
Outdated
@@ -117,9 +122,12 @@ def readme(): | |||
'confluent-avro~=1.8.0', | |||
'elasticsearch==8.9.0', | |||
'influxdb_client==1.36.1', | |||
'kafka-python==2.0.2', | |||
"kafka-python==2.0.2; python_version < '3.12'", | |||
"kafka-python @ git+https://github.com/dpkp/kafka-python.git ; " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can't use library from github repo in pypi package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is an issue of kafka-python
tracked at dpkp/kafka-python#2412, without a good solution so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found another work-around about this issue, given in https://stackoverflow.com/questions/77287622/modulenotfounderror-no-module-named-kafka-vendor-six-moves-in-dockerized-djan
260cab3
to
8e7d598
Compare
60c0a08
to
493c599
Compare
5babe7c
to
9e62fd3
Compare
Description
The builds and tests for Python 3.11 and 3.12 were skipped so far for Mage, which have been enabled.
How Has This Been Tested?
Checklist
cc:
@wangxiaoyou1993