From 6ec7b0d8bb406af7eeb18ad13db556f0a3ed7da4 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sun, 2 Feb 2025 14:11:18 +0100 Subject: [PATCH] Fixed a datetime conversion error by excluding pytz 2025.1 Signed-off-by: Andreas Maier --- changes/fix.1755.rst | 1 + dev-requirements.txt | 3 ++- requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 changes/fix.1755.rst diff --git a/changes/fix.1755.rst b/changes/fix.1755.rst new file mode 100644 index 00000000..3c6ef68c --- /dev/null +++ b/changes/fix.1755.rst @@ -0,0 +1 @@ +Fixed a datetime conversion error by excluding pytz 2025.1. diff --git a/dev-requirements.txt b/dev-requirements.txt index d01e5c10..8e64d25c 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -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 diff --git a/requirements.txt b/requirements.txt index dd93c34c..626234f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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