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

bump: kubernetes client version #36684

Closed

Conversation

raphaelauv
Copy link
Contributor

close: #36678

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes provider related issues labels Jan 9, 2024
# The Kubernetes_asyncio package is used for providing Asynchronous (AsyncIO) client library for
# standard Kubernetes API. The version is limited by minimum 18.20.1 because of introducing the ability to
# load kubernetes config file from dictionary in that release and is limited to the next MAJOR version
# (started from current 24.2.2 version) to prevent introducing some problems that could be due to some
# major changes in the package.
- kubernetes_asyncio>=18.20.1,<25
- kubernetes_asyncio>=23.6.0,<29
Copy link
Contributor

Choose a reason for hiding this comment

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

The above comment blocks refers to 18.20.1
It needs to be modified

@potiuk
Copy link
Member

potiuk commented Jan 25, 2024

Hmm @raphaelauv - are you planning to update it ? Seems that we do need to bump min-version of the k8s client - see
#37008

@@ -280,8 +280,8 @@
"asgiref>=3.5.2",
"cryptography>=2.0.0",
"google-re2>=1.0",
"kubernetes>=21.7.0,<24",
"kubernetes_asyncio>=18.20.1,<25"
"kubernetes>=23.6.0,<29",
Copy link
Collaborator

Choose a reason for hiding this comment

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

23.6.0 is breaking with airflow 2.8.1. We need to bump the minimum Kubernetes version to be 28.1.0.
#37008. Bug fix

@raphaelauv
Copy link
Contributor Author

@potiuk I'm not available to finish this PR in the next days , should I close it ?

@potiuk
Copy link
Member

potiuk commented Jan 26, 2024

@potiuk I'm not available to finish this PR in the next days , should I close it ?

cc: @dirrao -> maybe you would like to take that over and open a new one?

@dirrao
Copy link
Collaborator

dirrao commented Jan 27, 2024

@potiuk I'm not available to finish this PR in the next days , should I close it ?

cc: @dirrao -> maybe you would like to take that over and open a new one?

sure

@dirrao dirrao mentioned this pull request Jan 27, 2024
@raphaelauv raphaelauv closed this Jan 29, 2024
@raphaelauv raphaelauv deleted the bump/kubernetes_client_version branch January 29, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

apache-airflow-providers-cncf-kubernetes requires latest kubernetes version
4 participants