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

Python 3.12 Support #1629

Closed
Tracked by #447
mkmoisen opened this issue Aug 21, 2023 · 10 comments
Closed
Tracked by #447

Python 3.12 Support #1629

mkmoisen opened this issue Aug 21, 2023 · 10 comments

Comments

@mkmoisen
Copy link
Contributor

Last time when Python 3.11 was released, confluent_kafka was delayed in building the wheels. Please see the issue here for a long discussion on it.

Python 3.12 is supposed to drop on October 2nd, about 1.5 months from now.

It would be great to have confluent_kafka ready for 3.12 around that time.

@pranavrth
Copy link
Member

I will have a look at this.

@pranavrth pranavrth self-assigned this Aug 29, 2023
@lpsinger
Copy link
Contributor

Python 3.12 is now ABI stable: https://www.python.org/downloads/release/python-3120rc1/

Cibuildwheel now builds Python 3.12 wheels by default: https://cibuildwheel.readthedocs.io/en/stable/changelog/#v2150

So there should be no obstacles from the Python tooling and community side to releasing Python 3.12 wheels, even though the stable release of Python 3.12 is not yet out.

@mkmoisen
Copy link
Contributor Author

mkmoisen commented Sep 6, 2023

@pranavrth

Python 3.12 release candidate two just dropped a few hours ago. I received an email from python-announce mailer saying that now is the time to produce a wheel:

There will be no ABI changes from this point forward in the 3.12 series.
The intent is for the final release of 3.12.0, scheduled for Monday,
2023-10-02, to be identical to this release candidate. This is the last
chance to find critical problems in Python 3.12.

We strongly encourage maintainers of third-party Python projects to prepare
their projects for 3.12 compatibilities during this phase, and where
necessary publish Python 3.12 wheels on PyPI to be ready for the final
release of 3.12.0. Any binary wheels built against Python 3.12.0rc2 will
work with future versions of Python 3.12.

May we please get the 3.12 wheel ready for confluent_kafka now?

@mkmoisen
Copy link
Contributor Author

mkmoisen commented Sep 24, 2023

@pranavrth @edenhill @emasab @jliunyu

Sorry to keep bumping this. We have 9 more days until Python 3.12 is released, on Tuesday October 2nd.

Would you please get the wheels ready when you have a moment?

Thanks very much!

@lpsinger
Copy link
Contributor

@mkmoisen, I don't know why you are tagging me. I don't maintain this package.

@Zmrzka
Copy link

Zmrzka commented Oct 3, 2023

I would like to bup this, I have tested 3.12 support on our system but only confluent is blocking us. I have tried to get around some error messages by instaling librdkafka from apt but it just crashes somewhat later.

@aadant
Copy link

aadant commented Oct 11, 2023

@pranavrth any update ?

@pranavrth
Copy link
Member

I have raised the PR for adding 3.12 wheels. We are planning a release next week or so. It should be available in that release.

https://github.com/confluentinc/confluent-kafka-python/pull/1649/files

@gaborbernat
Copy link

Is it still happening?

@pranavrth
Copy link
Member

pranavrth commented Oct 25, 2023

Released v2.3.0 with Python 3.12 wheels. Please check. https://pypi.org/project/confluent-kafka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants