Skip to content

Conversation

cclauss
Copy link

@cclauss cclauss commented Sep 15, 2025

% python3.13 -m pip install confluent-kafka # is successful.
% python3.14 -m pip install confluent-kafka # fails!

https://pypi.org/project/confluent-kafka

Test results: https://github.com/cclauss/confluent-kafka-python/actions

This PR merely demonstrates that new wheels need to be published to PyPI to support Python 3.14. I am happy to close this with unmerged commits after all of its tests pass.

What

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • If not, please explain why it is not required

References

JIRA:

Test & Review

Open questions / Follow-ups

@Copilot Copilot AI review requested due to automatic review settings September 15, 2025 10:36
@cclauss cclauss requested review from MSeal and a team as code owners September 15, 2025 10:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a GitHub Actions workflow to test pip installation of the confluent-kafka package on Python 3.14 prerelease versions across multiple operating systems.

  • Adds automated testing for Python 3.14 compatibility
  • Tests package installation across macOS, Ubuntu, and Windows platforms
  • Enables proactive validation of package compatibility with upcoming Python releases

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Sep 15, 2025

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ cclauss
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Updated the workflow to support multiple Python versions and removed unnecessary installation steps for librdkafka.
@cclauss cclauss changed the title python3.14 -m pip install confluent-kafka python3.14 -m pip install confluent-kafka fails Sep 15, 2025
Copy link
Contributor

@MSeal MSeal left a comment

Choose a reason for hiding this comment

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

I'm not sure this will future proof the repo. First without building the pip install will just grab the last wheels generated rather than local changes. So the triggers shouldn't be on code changes. Second it'd be better if we actually run the test suite against the compiled binaries in semaphore.yml. Checking for wheel viability should probably be an additional job triggered therein for new versions, running the while suite on every combination of os and python version is probably too much overhead for PRs.

@cclauss
Copy link
Author

cclauss commented Sep 16, 2025

Sorry. semaphore.yml is completely opaque to me, so I have no idea how to modify it to generate Python 3.14 wheels.

This PR merely demonstrates that new wheels need to be published to PyPI to support Python 3.14. I am happy to close this with unmerged commits after all of its tests pass.

Python v3.14 -- October 7th

Call to action
We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.14 during this phase, and publish Python 3.14 wheels on PyPI to be ready for the final release of 3.14.0, and to help other projects do their own testing. Any binary wheels built against Python 3.14.0 release candidates will work with future versions of Python 3.14.

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