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

[hw] Enable build and test for Python 3.11 and 3.12 #5393

Merged
merged 31 commits into from
Sep 22, 2024

Conversation

csharplus
Copy link
Collaborator

@csharplus csharplus commented Sep 7, 2024

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?

  • Will check to see if there are any issues through GitHub's build and test workflow.

Checklist

  • The PR is tagged with proper labels (bug, enhancement, feature, documentation)
  • I have performed a self-review of my own code
  • I have added unit tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

cc:

@wangxiaoyou1993

@csharplus csharplus self-assigned this Sep 7, 2024
@csharplus csharplus changed the title Enable build and test for Python 3.12 Enable build and test for Python 3.11 and 3.12 Sep 7, 2024
@csharplus csharplus force-pushed the csharplus_enable_python_3.12 branch 3 times, most recently from a00344d to 2cdb7ac Compare September 16, 2024 23:55
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 ; "
Copy link
Member

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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@csharplus csharplus merged commit 7aee539 into master Sep 22, 2024
16 checks passed
@csharplus csharplus deleted the csharplus_enable_python_3.12 branch September 22, 2024 00:11
@csharplus csharplus changed the title Enable build and test for Python 3.11 and 3.12 [hw] Enable build and test for Python 3.11 and 3.12 Sep 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants