-
Notifications
You must be signed in to change notification settings - Fork 91
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.
Description
Environment details
- OS type and version: Linux
- Python version: 3.12.0
- pip version: 23.2.1
google-api-core
version: 2.10.2
Issue
The following code uses utcnow
which is deprecated in python 3.12
python-api-core/google/api_core/datetime_helpers.py
Lines 43 to 46 in 405272c
def utcnow(): | |
"""A :meth:`datetime.datetime.utcnow()` alias to allow mocking in tests.""" | |
return datetime.datetime.utcnow() | |
Greesb and DouglasBlackwood
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.