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

TST: Bump pytz to 2023.3.post1 #25645

Merged
merged 1 commit into from Jan 20, 2024

Conversation

charris
Copy link
Member

@charris charris commented Jan 20, 2024

Backport of #25629.

This version fixes the DeprecationWarning in Python 3.12:

DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated
and scheduled for removal in a future version. Use timezone-aware
objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).

This version fixes the DeprecationWarning in Python 3.12:
```
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated
and scheduled for removal in a future version. Use timezone-aware
objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
```
@charris charris added 05 - Testing 08 - Backport Used to tag backport PRs labels Jan 20, 2024
@charris charris added this to the 1.26.4 release milestone Jan 20, 2024
@charris charris merged commit fe24aba into numpy:maintenance/1.26.x Jan 20, 2024
60 checks passed
@charris charris deleted the backport-25629 branch January 20, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 - Testing 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants