Skip to content

Commit

Permalink
Fixed a datetime conversion error by excluding pytz 2025.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Feb 2, 2025
1 parent 3e001b3 commit 0a97551
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/fix.1755.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a datetime conversion error by excluding pytz 2025.1.
3 changes: 2 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,5 @@ pywinpty>=2.0.14; os_name == "nt" and python_version >= '3.13'
# because development packages pull it in, so the exclusion of 2024.2 is active
# for development as well.
# pytz 2024.2 introduced an issue that causes our tests to fail.
pytz>=2019.1,!=2024.2
# pytz 2025.1 introduced an issue that causes our tests to fail (https://github.com/stub42/pytz/issues/133)
pytz>=2019.1,!=2024.2,!=2025.1
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ decorator>=4.0.11

# pytz 2019.1 fixes an ImportError for collections.Mapping on Python 3.10
# pytz 2024.2 introduced an issue that causes our tests to fail.
pytz>=2019.1,!=2024.2
# pytz 2025.1 introduced an issue that causes our tests to fail (https://github.com/stub42/pytz/issues/133)
pytz>=2019.1,!=2024.2,!=2025.1

# requests 2.25.0 tolerates urllib3 1.26.5 which is needed on Python 3.10 to
# remove ImportWarning in six
Expand Down

0 comments on commit 0a97551

Please sign in to comment.