Hello community,
here is the log from the commit of package python-CacheControl for openSUSE:Factory checked in at 2019-04-05 12:05:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-CacheControl (Old)
and /work/SRC/openSUSE:Factory/.python-CacheControl.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-CacheControl"
Fri Apr 5 12:05:27 2019 rev:4 rq:691698 version:0.12.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-CacheControl/python-CacheControl.changes 2019-03-01 16:48:11.777781579 +0100
+++ /work/SRC/openSUSE:Factory/.python-CacheControl.new.3908/python-CacheControl.changes 2019-04-05 12:06:57.922580360 +0200
@@ -1,0 +2,13 @@
+Fri Apr 5 07:14:44 UTC 2019 - Tomáš Chvátal
+
+- Run tests only under py3 as CherryPy is available only there
+
+-------------------------------------------------------------------
+Mon Mar 25 09:46:31 UTC 2019 - John Vandenberg
+
+- Activate test suite, with two tests currently failing
+- Trim description, removing irrelevant information about httplib2
+- Recommend lockfile, as a lightweight dependency needed for FileCache,
+ which is a primary use of CacheControl.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-CacheControl.spec ++++++
--- /var/tmp/diff_new_pack.xUb4Og/_old 2019-04-05 12:06:58.582580614 +0200
+++ /var/tmp/diff_new_pack.xUb4Og/_new 2019-04-05 12:06:58.582580614 +0200
@@ -24,31 +24,33 @@
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/ionrock/cachecontrol
-Source: https://files.pythonhosted.org/packages/source/C/CacheControl/CacheControl-%{version}.tar.gz
+Source: https://github.com/ionrock/cachecontrol/archive/v0.12.5.tar.gz#/CacheControl-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-msgpack-python
+Requires: python-msgpack
Requires: python-requests
-Suggests: python-lockfile >= 0.9
+Recommends: python-lockfile >= 0.9
Suggests: python-redis >= 2.10.5
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module msgpack-python}
-BuildRequires: %{python_module requests}
+## cherrypy is python3 only from 18.x series
+BuildRequires: python3-CherryPy
+BuildRequires: python3-lockfile >= 0.9
+BuildRequires: python3-mock
+BuildRequires: python3-msgpack
+BuildRequires: python3-pytest
+BuildRequires: python3-redis >= 2.10.5
+BuildRequires: python3-requests
# /SECTION
%python_subpackages
%description
-CacheControl is a port of the caching algorithms in httplib2_ for use with
-requests_ session object.
-
-It was written because httplib2's better support for caching is often
-mitigated by its lack of threadsafety. The same is true of requests in
-terms of caching.
+CacheControl is a port of the caching algorithms in httplib2 for use with
+requests session object.
%prep
-%setup -q -n CacheControl-%{version}
+%setup -q -n cachecontrol-%{version}
%build
%python_build
@@ -57,6 +59,10 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+# These two failures are possibly bugs needing investigation
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_bin_suffix} -v -k 'not test_file_cache_recognizes_consumed_file_handle and not test_etags_get_example'
+
%files %{python_files}
%license LICENSE.txt
%doc README.rst
++++++ CacheControl-0.12.5.tar.gz ++++++
++++ 3016 lines of diff (skipped)