-
Notifications
You must be signed in to change notification settings - Fork 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
pip uses deprecated utcnow
method
#12005
Comments
Thanks for the heads up. What's the recommended replacement that works in Python 3.7 - 3.12? I know from the Discourse thread that I've created #12007 to see if the fix here is as simple as I hope it is :-) The |
lol, looks like you beat me to it with #12006. Ignore my PR in that case. |
I think this can be closed now PRs #12006 and psf/cachecontrol#290 have been merged. Thank you! |
Description
There are two places in
pip
's codebase that usedatetime.utcnow
, plus one additional place incachecontrol
.This will start raising deprecation warnings in 3.12.
The text was updated successfully, but these errors were encountered: