15
0
forked from pool/python-arrow

Accepting request 835594 from home:apersaud:branches:devel:languages:python

added version requirement for dateutil

- update to version 0.16.0:
  * [WARN] Arrow will drop support for Python 2.7 and 3.5 in the 1.0.0
    release in late September. The 0.16.x and 0.17.x releases are the
    last to support Python 2.7 and 3.5.
  * [NEW] Implemented PEP 495 to handle ambiguous datetimes. This is
    achieved by the addition of the fold attribute for Arrow objects.
  * [NEW] Added normalize_whitespace flag to arrow.get. This is useful
    for parsing log files and/or any files that may contain
    inconsistent spacing.

OBS-URL: https://build.opensuse.org/request/show/835594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=41
This commit is contained in:
Tomáš Chvátal
2020-09-20 06:09:01 +00:00
committed by Git OBS Bridge
parent acb8752830
commit dd8c8d3344
4 changed files with 19 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
%endif
%bcond_without python2
Name: python-arrow%{?psuffix}
Version: 0.15.8
Version: 0.16.0
Release: 0
Summary: Better dates and times for Python
License: Apache-2.0
@@ -35,13 +35,13 @@ Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{v
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-dateutil
Requires: python-python-dateutil >= 2.7.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module arrow == %{version}}
BuildRequires: %{python_module chai}
BuildRequires: %{python_module dateparser}
BuildRequires: %{python_module dateutil}
BuildRequires: %{python_module dateutil >= 2.7.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}