10BC0 TST: Bump pytz to 2023.3.post1 by charris · Pull Request #25645 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

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
@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.

3516 2 participants

0