From 9ebf1190db8ce35e4eb2832255187f53e7e22555320e286cdf8510c2a704c419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 14 Nov 2023 21:05:10 +0000 Subject: [PATCH] Accepting request 1126469 from home:mimi_vx:branches:devel:languages:python - update to 1.3.0 * [ADDED] Added official support for Python 3.11 and 3.12. * [ADDED] Added dependency on types-python-dateutil to improve Arrow mypy compatibility. PR #1102 * [FIX] Updates to Italian, Romansh, Hungarian, Finish and Arabic locales. * [FIX] Handling parsing of UTC prefix in timezone strings. * [CHANGED] Update documentation to improve readability. * [CHANGED] Dropped support for Python 3.6 and 3.7, which are end-of-life. * [INTERNAL Migrate from setup.py/Twine to pyproject.toml/Flit for packaging and distribution. OBS-URL: https://build.opensuse.org/request/show/1126469 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=63 --- arrow-1.2.3.tar.gz | 3 --- arrow-1.3.0.tar.gz | 3 +++ python-arrow.changes | 12 ++++++++++++ python-arrow.spec | 14 +++++++------- 4 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 arrow-1.2.3.tar.gz create mode 100644 arrow-1.3.0.tar.gz diff --git a/arrow-1.2.3.tar.gz b/arrow-1.2.3.tar.gz deleted file mode 100644 index ca7be54..0000000 --- a/arrow-1.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3934b30ca1b9f292376d9db15b19446088d12ec58629bc3f0da28fd55fb633a1 -size 127552 diff --git a/arrow-1.3.0.tar.gz b/arrow-1.3.0.tar.gz new file mode 100644 index 0000000..8db5ac5 --- /dev/null +++ b/arrow-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85 +size 131960 diff --git a/python-arrow.changes b/python-arrow.changes index ab64f31..4df341f 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Nov 14 20:53:06 UTC 2023 - Ondřej Súkup + +- update to 1.3.0 + * [ADDED] Added official support for Python 3.11 and 3.12. + * [ADDED] Added dependency on types-python-dateutil to improve Arrow mypy compatibility. PR #1102 + * [FIX] Updates to Italian, Romansh, Hungarian, Finish and Arabic locales. + * [FIX] Handling parsing of UTC prefix in timezone strings. + * [CHANGED] Update documentation to improve readability. + * [CHANGED] Dropped support for Python 3.6 and 3.7, which are end-of-life. + * [INTERNAL Migrate from setup.py/Twine to pyproject.toml/Flit for packaging and distribution. + ------------------------------------------------------------------- Tue Sep 12 11:06:13 UTC 2023 - Dirk Müller diff --git a/python-arrow.spec b/python-arrow.spec index 683f316..e4c8a68 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -27,16 +25,18 @@ %endif %{?sle15_python_module_pythons} Name: python-arrow%{?psuffix} -Version: 1.2.3 +Version: 1.3.0 Release: 0 Summary: Better dates and times for Python License: Apache-2.0 URL: https://github.com/arrow-py/arrow Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-python-dateutil >= 2.7.0 +Requires: python-types-python-dateutil >= 2.8.10 BuildArch: noarch %if %{with test} BuildRequires: %{python_module arrow == %{version}} @@ -65,11 +65,11 @@ Arrow is heavily inspired by moment.js and requests. rm -rf arrow.egg-info %build -%python_build +%pyproject_wheel %install %if %{without test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -84,7 +84,7 @@ rm tox.ini %license LICENSE %doc README.rst %{python_sitelib}/arrow -%{python_sitelib}/arrow-%{version}-py*.egg-info +%{python_sitelib}/arrow-%{version}*-info %endif %changelog