Skip to content

Commit 0a97551

Browse files
committed
Fixed a datetime conversion error by excluding pytz 2025.1
Signed-off-by: Andreas Maier <[email protected]>
1 parent 3e001b3 commit 0a97551

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

changes/fix.1755.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a datetime conversion error by excluding pytz 2025.1.

dev-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,5 @@ pywinpty>=2.0.14; os_name == "nt" and python_version >= '3.13'
185185
# because development packages pull it in, so the exclusion of 2024.2 is active
186186
# for development as well.
187187
# pytz 2024.2 introduced an issue that causes our tests to fail.
188-
pytz>=2019.1,!=2024.2
188+
# pytz 2025.1 introduced an issue that causes our tests to fail (https://github.com/stub42/pytz/issues/133)
189+
pytz>=2019.1,!=2024.2,!=2025.1

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ decorator>=4.0.11
1010

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

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

0 commit comments

Comments
 (0)