confluentinc / confluentinc/confluent-kafka-python

Add Free-Threaded Python Support in 3.14

Open
#2,092 13 comments 14 reactions 0 assignees View on GitHub
code:C enhancement investigate further priority:high status:planned
Dominant language
Python
Stars
509
Forks
964
Avg merge
2d 2h
Merged PRs (30d)
14

Description

With the release of Python 3.14, free threaded support (i.e., GIL-less python) is now a sensible option.

Third party packages that use C-Extensions like confluent_kafka however need to have code change to support free-threaded mode.

Here is the documentation on how to change C-Extensions to support free threaded mode:

https://docs.python.org/3.14/howto/free-threading-extensions.html#freethreading-extensions-howto

My understanding is that if a third party application does not support free-threaded python, then applications which import these applications will revert to using the GIL. This means that users are stuck with the GIL until all third party applications have ported to free-threaded compatibility.

May we please put this on the road map for confluent_kafka?

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.