Support for Python 3.12 and 3.13
What is the feature and why do you need it:
I see in the main README that the last supported version is 3.11 ().
Would it be possible / complicated to also support python 3.12 and 3.13? Or is it just that the pypi metadata has simply never been updated ?
Describe the solution you'd like to see:
Hi, Is this package compatible with python 3.12 ?
We can add the support in the next release (1.34). cc @yliaog Ref required changes: https://github.com/kubernetes-client/python/pull/2029, https://github.com/kubernetes-client/python/pull/2003
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
@roycaihw I see that release 1.34.1 is already out, however, still no official support for python 3.12 or 3.13 or 3.14 (out since last week now)...
Is this still in scope ?
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle rotten - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
Python 3.12 has been in the test config since the start of the year: https://github.com/kubernetes-client/python/commit/f7701ac020645c847f537553e28721c234789090
Other than updating https://github.com/kubernetes-client/python/blob/master/setup.py#L80-L86 (which list 3.6 to 3.11 as the supported versions, perhaps time to remove 3.6 to 3.9 as they are all now out of support) is there anything else that needs doing (e.g. anything that someone such as myself could volunteer to help with) to help get the client officially supporting 3.12?
Hello @durera,
Thanks for the reply! Yeah, we started using it since I saw that there were already unit testing in place for 3.12 (in GHA). It's working pretty well, we didn't have any issues. Hence, I think we "just" need to add it to the officially supported list. I also agree to stop supporting 3.6-3.9, I guess maintainers can agree or not in the PR's review.
I think efforts should instead be put in supporting 3.13 and 3.14 IMHO.