potiuk commented on code in PR #60711:
URL: https://github.com/apache/airflow/pull/60711#discussion_r2701657187


##########
providers/cncf/kubernetes/pyproject.toml:
##########
@@ -72,7 +72,7 @@ dependencies = [
     # limiting minimum airflow version supported in cncf.kubernetes provider, 
due to the
     # potential breaking changes in Airflow Core as well (kubernetes is added 
as extra, so Airflow
     # core is not hard-limited via install-requirements, only by extra).
-    "kubernetes>=32.0.0,<35.0.0",
+    "kubernetes>=35.0.0,<36.0.0",

Review Comment:
   This is quite right - client kubernetes is just released when k8s "cluster" 
version gets released - and it has all new APIs but also supports older 
versions of k8s. 
   
   This is explained here:
   
   https://github.com/kubernetes-client/python?tab=readme-ov-file
   
   > client-python follows [semver](http://semver.org/), so until the major 
version of client-python gets increased, your > code will continue to work with 
explicitly supported versions of Kubernetes clusters.
   
   Kubernetes client 1.35 has 1-1 full feature support for cluster 1.35 (✓) and 
 but other versions have (+-) which means that either the client has more 
features that will not work on older versions, or that cluster has more feature 
that client won't be able to use. But "all things in common should work". 
Ultimately - our tests are the guard. If all the tests for all k8s versions 
work, it means that it works.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to