-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Deprecation warning datetime.datetime.utcnow(). #2213
Comments
/help Is there a new method that can be used to replace this method? If so, would you like to send a PR? |
@roycaihw: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
I think my knowledge of the project is too limited, I am more of an incidental user. the fix should not be hard, but it might take me very long to get anything meaningful moving. |
No problem! Thank you @aguzmans for reporting the issue. And @showjason thank you for opening the PR! |
We are using using this library for some e2e testing and receive a few deprecation warnings about this line
https://github.com/kubernetes-client/python/blame/851dc2a0b10d1bc07826c6ade489d1bd2ef431c3/kubernetes/base/config/kube_config.py#L83
The warning looks like this:
python version:
python3.12
using venv and installed the library with pip via requirements.txt file.
The text was updated successfully, but these errors were encountered: