diff --git a/python-dateutil-2.8.2.tar.gz b/python-dateutil-2.8.2.tar.gz deleted file mode 100644 index f73bc9ee925c0392d286c2761390ee47c003ad73..0000000000000000000000000000000000000000 Binary files a/python-dateutil-2.8.2.tar.gz and /dev/null differ diff --git a/python-dateutil-2.9.0.tar.gz b/python-dateutil-2.9.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0d9d1b613fa41683f3dbe58c566dfebee237dbe4 Binary files /dev/null and b/python-dateutil-2.9.0.tar.gz differ diff --git a/python-dateutil.spec b/python-dateutil.spec index 068fde95ed4dea146a843d272bfde7e7f1bd598b..51b1df69ac65e90360cd01dea4240d63080ce112 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -2,26 +2,14 @@ %global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python. Name: python-dateutil -Version: 2.8.2 -Release: 4 +Version: 2.9.0 +Release: 1 Epoch: 1 Summary: Powerful extensions to datetime License: (Apache-2.0 AND BSD-3-Clause) OR BSD-3-Clause URL: https://github.com/dateutil/dateutil Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz -# Remove deprecated pytest.warns(None) from test_internals.py -# -# Fixes: -# python-dateutil fails to build with pytest 7 -# https://github.com/dateutil/dateutil/commit/2bdd63158b7f981fc6d70a869680451bdfd8d848 -Patch6001: backport-Remove-deprecated-pytest-warns-None-from-test_internals.py.patch - -# Backport the replacement for the deprecated in Python 3.12 -# datetime.datetime.utcfromtimestamp() -# https://github.com/dateutil/dateutil/pull/1285 -Patch6002: backport-avoid-deprecated-utcfromtimestamp.patch - BuildArch: noarch %description @@ -41,12 +29,6 @@ Requires: python3-six tzdata %prep %autosetup -n %{name}-%{version} -N -# the tests were moved outside of source directory upstream after 2.8.2 -# so we apply the patch with new paths from within it -pushd %{_name}/test -%patch -P6001 -p2 -popd -%patch -P6002 -p2 %build %py3_build @@ -67,6 +49,12 @@ popd %doc NEWS PKG-INFO RELEASING %changelog +* Tue Nov 11 2025 Funda Wang - 1:2.9.0-1 +- update version to 2.9.0 +* Updated tzdata version to <2024a> +* Made all dateutil submodules lazily imported +* Removed a call to datetime.utcfromtimestamp + * Mon Jan 27 2025 Funda Wang - 1:2.8.2-4 - fix test with latest python-test