Accepting request 1126470 from 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. (forwarded request 1126469 from mimi_vx) OBS-URL: https://build.opensuse.org/request/show/1126470 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=29
This commit is contained in:
commit
cc5cba4d20
BIN
arrow-1.2.3.tar.gz
(Stored with Git LFS)
BIN
arrow-1.2.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
arrow-1.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
arrow-1.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 14 20:53:06 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Tue Sep 12 11:06:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@ -27,16 +25,18 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-arrow%{?psuffix}
|
Name: python-arrow%{?psuffix}
|
||||||
Version: 1.2.3
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Better dates and times for Python
|
Summary: Better dates and times for Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/arrow-py/arrow
|
URL: https://github.com/arrow-py/arrow
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz
|
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: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-python-dateutil >= 2.7.0
|
Requires: python-python-dateutil >= 2.7.0
|
||||||
|
Requires: python-types-python-dateutil >= 2.8.10
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module arrow == %{version}}
|
BuildRequires: %{python_module arrow == %{version}}
|
||||||
@ -65,11 +65,11 @@ Arrow is heavily inspired by moment.js and requests.
|
|||||||
rm -rf arrow.egg-info
|
rm -rf arrow.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{without test}
|
%if %{without test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ rm tox.ini
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/arrow
|
%{python_sitelib}/arrow
|
||||||
%{python_sitelib}/arrow-%{version}-py*.egg-info
|
%{python_sitelib}/arrow-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user