Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests-cache for
openSUSE:Factory checked in at 2021-04-17 23:24:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-cache (Old)
and /work/SRC/openSUSE:Factory/.python-requests-cache.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-cache"
Sat Apr 17 23:24:39 2021 rev:5 rq:886292 version:0.6.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-cache/python-requests-cache.changes
2019-09-11 10:35:51.603288096 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests-cache.new.12324/python-requests-cache.changes
2021-04-17 23:24:40.925565109 +0200
@@ -1,0 +2,29 @@
+Wed Apr 14 22:46:16 UTC 2021 - John Vandenberg <[email protected]>
+
+- Fix runtime Requires, adding missing prefix python-
+- Add Recommends python-redis and Suggests for python-boto3 and
+ python-mongodb
+- Activate integration tests, including redis
+- Update to v0.6.2
+ * Explicitly include docs, tests, and examples in sdist
+- from v0.6.1
+ * Handle errors due to invalid responses in BaseCache.urls
+ * Add recently renamed BaseCache.remove_old_entries() back, as an
+ alias with a DeprecationWarning
+ * Make parent dirs for new SQLite databases
+ * Add aws_access_key_id and aws_secret_access_key kwargs to
+ DynamoDbDict
+ * Update GridFSPickleDict.__delitem__ to raise a KeyError for
+ missing items
+ * Demote most logging.info statements to debug level
+ * Exclude test directory from find_packages()
+ * Make integration tests easier to run and/or fail more quickly in
+ environments where Docker isn't available
+
+-------------------------------------------------------------------
+Sat Apr 10 04:33:50 UTC 2021 - John Vandenberg <[email protected]>
+
+- Update to v0.6.0
+ * See https://github.com/reclosedev/requests-cache/blob/master/HISTORY.md
+
+-------------------------------------------------------------------
Old:
----
requests-cache-0.5.2.tar.gz
New:
----
requests-cache-0.6.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-cache.spec ++++++
--- /var/tmp/diff_new_pack.hRNXRc/_old 2021-04-17 23:24:41.385565892 +0200
+++ /var/tmp/diff_new_pack.hRNXRc/_new 2021-04-17 23:24:41.389565899 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-cache
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,39 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-cache
-Version: 0.5.2
+Version: 0.6.2
Release: 0
Summary: Persistent cache for requests library
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/reclosedev/requests-cache
Source:
https://files.pythonhosted.org/packages/source/r/requests-cache/requests-cache-%{version}.tar.gz
-BuildRequires: %{python_module requests >= 1.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-requests >= 1.1.0
+Requires: python-itsdangerous
+Requires: python-requests >= 2.0.0
+Requires: python-url-normalize >= 1.4
+Recommends: python-redis
+Suggests: python-boto3
+Suggests: python-mongodb
BuildArch: noarch
+# SECTION test requirements
+BuildRequires: %{python_module gunicorn}
+BuildRequires: %{python_module httpbin}
+BuildRequires: %{python_module itsdangerous}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module redis}
+BuildRequires: %{python_module requests >= 2.0.0}
+BuildRequires: %{python_module requests-mock}
+BuildRequires: %{python_module url-normalize >= 1.4}
+BuildRequires: %{python_module timeout-decorator}
+BuildRequires: redis
+# /SECTION
%python_subpackages
%description
-Requests-cache is a transparent persistent cache for requests_ (version >=
1.1.0) library.
+Requests-cache is a transparent persistent cache for requests_ library.
It can be useful when you are creating some simple data scraper with constantly
changing parsing logic or data format, and don't want to redownload pages or
@@ -44,8 +60,7 @@
time you specify.
If you need library which knows how to use HTTP headers and status codes,
-take a look at `httpcache <https://github.com/Lukasa/httpcache>`_ and
-`CacheControl <https://github.com/ionrock/cachecontrol>`_.
+take a look at `CacheControl <https://github.com/ionrock/cachecontrol>`_.
%prep
%setup -q -n requests-cache-%{version}
@@ -58,11 +73,14 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+gunicorn -b 127.0.0.1:8080 httpbin:app -k gevent &
+%{_sbindir}/redis-server &
+export HTTPBIN_URL=http://localhost:8080/
+%pytest -k 'not (dynamodb or gridfs or mongodb)'
%files %{python_files}
%license LICENSE
-%doc README.rst
+%doc README.md HISTORY.md docs/*.rst
%{python_sitelib}/*
%changelog
++++++ requests-cache-0.5.2.tar.gz -> requests-cache-0.6.2.tar.gz ++++++
++++ 9436 lines of diff (skipped)