Hello community,
here is the log from the commit of package python-python-dateutil for
openSUSE:Factory checked in at 2020-01-19 21:00:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-dateutil (Old)
and /work/SRC/openSUSE:Factory/.python-python-dateutil.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-dateutil"
Sun Jan 19 21:00:44 2020 rev:10 rq:765162 version:2.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-dateutil/python-python-dateutil.changes
2019-11-04 17:12:04.680624676 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-dateutil.new.26092/python-python-dateutil.changes
2020-01-19 21:00:48.600156539 +0100
@@ -1,0 +2,25 @@
+Thu Jan 16 08:42:35 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.8.1:
+ * Updated tzdata version to 2019c.
+ * Fixed a race condition in the tzoffset and tzstr "strong"
+ caches on Python 2.7. Reported by @kainjow (gh issue #901).
+ * Parsing errors will now raise ParserError, a subclass of
+ ValueError, which has a nicer string representation. Patch by
+ @gfyoung (gh pr #881).
+ * parser.parse will now raise TypeError when tzinfos is passed a
+ type that cannot be interpreted as a time zone. Prior to this
+ change, it would raise an UnboundLocalError instead. Patch by
+ @jbrockmendel (gh pr #891).
+ * Changed error message raised when when passing a bytes object as
+ the time zone name to gettz in Python 3. Reported and fixed by
+ @labrys () (gh issue #927, gh pr #935).
+ * Changed compatibility logic to support a potential Python 4.0
+ release. Patch by Hugo van Kemenade (gh pr #950).
+ * Updated many modules to use tz.UTC in favor of tz.tzutc()
+ internally, to avoid an unnecessary function call. (gh pr #910).
+ * Fixed issue where dateutil.tz was using a backported version of
+ contextlib.nullcontext even in Python 3.7 due to a malformed
+ import statement. (gh pr #963).
+
+-------------------------------------------------------------------
Old:
----
python-dateutil-2.8.0.tar.gz
New:
----
python-dateutil-2.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-dateutil.spec ++++++
--- /var/tmp/diff_new_pack.ljqSAR/_old 2020-01-19 21:00:49.236156873 +0100
+++ /var/tmp/diff_new_pack.ljqSAR/_new 2020-01-19 21:00:49.244156877 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-python-dateutil
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,18 +27,21 @@
%bcond_with test
%endif
Name: python-python-dateutil%{psuffix}
-Version: 2.8.0
+Version: 2.8.1
Release: 0
Summary: A Python Datetime Library
License: BSD-3-Clause OR Apache-2.0
URL: https://dateutil.readthedocs.org/en/latest/
Source0:
https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz
-BuildRequires: %{python_module setuptools >= 18.0.1}
+BuildRequires: %{python_module setuptools >= 24.3}
BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module six >= 1.9.0}
+BuildRequires: %{python_module six >= 1.5}
+BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-six >= 1.9.0
+Requires: python-six >= 1.5
+Obsoletes: python-dateutil < %{version}
+Provides: python-dateutil = %{version}
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module freezegun}
@@ -50,10 +53,6 @@
Obsoletes: %{oldpython}-dateutil < %{version}
Provides: %{oldpython}-dateutil = %{version}
%endif
-%ifpython3
-Obsoletes: python3-dateutil < %{version}
-Provides: python3-dateutil = %{version}
-%endif
%python_subpackages
%description
@@ -88,8 +87,7 @@
%prep
%setup -q -n python-dateutil-%{version}
#cleanup and MSdos style end of line separators
-sed -i 's/\r$//' LICENSE NEWS PKG-INFO README.rst
-rm -f setup.cfg
+dos2unix LICENSE NEWS PKG-INFO README.rst
%build
%python_build
@@ -102,17 +100,16 @@
%if %{with test}
%check
+rm setup.cfg
export LANG=en_US.UTF-8
-%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} \
- py.test-%{$python_bin_suffix} dateutil/test}
+%pytest
%endif
%if !%{with test}
%files %{python_files}
%doc NEWS PKG-INFO README.rst
%license LICENSE
-%{python_sitelib}/dateutil/
-%{python_sitelib}/python_dateutil-%{version}-py*.egg-info
+%{python_sitelib}/*
%endif
%changelog
++++++ python-dateutil-2.8.0.tar.gz -> python-dateutil-2.8.1.tar.gz ++++++
++++ 3127 lines of diff (skipped)