Skip to content

Conversation


[testenv:apicheck]
commands = pip install -U -r{toxinidir}/requirements/dev.txt
commands = pip install --upgrade -r{toxinidir}/requirements/dev.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

pip install -U can be quite opaque to readers because pip install currently has six --u* options, including --user.

pip install --upgrade makes the intention clearer in code that others will read.

% python3 -m pip install --help | grep "\-\-u"

  --user                      Install to the Python user install directory for
  -U, --upgrade               Upgrade all specified packages to the newest
  --upgrade-strategy <upgrade_strategy>
  --use-pep517                Use PEP 517 for building source distributions
  --use-feature <feature>     Enable new functionality, that may be backward
  --use-deprecated <feature>  Enable deprecated functionality, that will be

@auvipy
Copy link
Member

auvipy commented Sep 16, 2025

here is a old pr #2328

@cclauss
Copy link
Contributor Author

cclauss commented Sep 16, 2025

The old PR tells us nothing useful because it fails before Py3.14 is installed.

Version “3.14-dev“ was not found in the local cache
Error: The version '“3.14-dev“' with architecture 'x64' was not found for Ubuntu 24.04.

@cclauss cclauss changed the title Test on Python4.14 release candidate 2 Test on Python4.14 release candidate 3 Sep 18, 2025
@auvipy auvipy self-requested a review September 18, 2025 14:19
@auvipy
Copy link
Member

auvipy commented Sep 18, 2025

seems lots of dependency needed to be updated for 3.14 support.

@cclauss
Copy link
Contributor Author

cclauss commented Sep 18, 2025

Remaining, I only see confluentinc/confluent-kafka-python#2048

  • Getting free-threading working without the GIL is not trivial.

@auvipy
Copy link
Member

auvipy commented Sep 18, 2025

as far as I know that is not the default yet, is it?

@cclauss
Copy link
Contributor Author

cclauss commented Sep 18, 2025

Correct different executables...
% uv python install 3.14 # vs.
% uv python install 3.14t

@cclauss
Copy link
Contributor Author

cclauss commented Sep 20, 2025

Do you have any ideas about how to get confluent-kafka-python to have a Py3.14 compatible release?

@auvipy
Copy link
Member

auvipy commented Sep 20, 2025

no we just have to wait. generally it takes some time after the stable release to be supported across the eco system. so we have to wait.

@Nusnus Nusnus marked this pull request as draft September 20, 2025 14:28
@Nusnus Nusnus marked this pull request as ready for review September 20, 2025 14:29
@cclauss cclauss changed the title Test on Python4.14 release candidate 3 Test on Python4.14 Oct 7, 2025
@cclauss cclauss force-pushed the patch-1 branch 2 times, most recently from 3b3e714 to 9ab76e1 Compare October 10, 2025 04:21
@cclauss
Copy link
Contributor Author

cclauss commented Oct 10, 2025

There is a new release v2.12.0 of confluent-kafka-python and librdkafka, but unfortunately, there is still no Py3.14 wheel to install the library with the Python code.

We could apt-get install the library and build from source on Py3.14 only, but it is probably better to wait.
https://github.com/confluentinc/confluent-kafka-python/blob/master/INSTALL.md#install-from-source-on-debian-or-ubuntu


We also need to deal with the complexity of getting tox to test both python3.14 and python3.14t.

@cclauss cclauss changed the title Test on Python4.14 Test on Python 3.14 Oct 10, 2025
@auvipy
Copy link
Member

auvipy commented Oct 10, 2025

we can skip kafka for 3.14 for a while if the other stuff work with 3.14. usually it takes a roughly a month to get the eco system catch up with latest python release.

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