Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: Bump pytz to 2023.3.post1 #25629

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

Merged
merged 1 commit into from
Jan 19, 2024
Merged

TST: Bump pytz to 2023.3.post1 #25629

merged 1 commit into from
Jan 19, 2024

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Jan 19, 2024

This version fixes the DeprecationWarning in Python 3.12 (which becomes an error in pytest):

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).
```
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @QuLogic

@rgommers rgommers added this to the 2.0.0 release milestone Jan 19, 2024
@rgommers rgommers merged commit 72879d3 into numpy:main Jan 19, 2024
@QuLogic QuLogic deleted the bump-pytz branch January 19, 2024 11:27
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jan 19, 2024
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants