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 2023-05-18 15:18:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-cache (Old)
and /work/SRC/openSUSE:Factory/.python-requests-cache.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-cache"
Thu May 18 15:18:59 2023 rev:7 rq:1087523 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-cache/python-requests-cache.changes
2021-04-24 23:10:34.455515383 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests-cache.new.1533/python-requests-cache.changes
2023-05-18 15:19:00.405756588 +0200
@@ -1,0 +2,22 @@
+Thu May 4 20:20:19 UTC 2023 - Matej Cepl <[email protected]>
+
+- WORK IN PROGRESS, TESTS DONâT PASS!
+- Update to 1.0.1: (CONGRATULATIONS!)
+ - Ignore Cache-Control: must-revalidate and no-cache when
+ `cache_control=False`
+ - Lots of miscellaneous performance improvements
+ - Fast automatic cache cleanup with TTL integration for
+ MongoDB, DynamoDB and Redis
+ - Improved NoSQL/document database support: human-readable and
+ indexable response data in MongoDB and DynamoDB
+ - Complete support for Cache-Control headers (including its
+ extensions)
+ - Complete type hinting and more details from cached responses
+ - Redact common authentication headers and parameters from the
+ cache by default
+ - Improved session settings interface, and more settings for
+ refreshing, revalidation, and offline cache usage
+- Remaining list of changes all the way to 0.6.3 is too long,
+ HISTORY.md is packaged.
+
+-------------------------------------------------------------------
Old:
----
requests-cache-0.6.3.tar.gz
New:
----
requests-cache-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-cache.spec ++++++
--- /var/tmp/diff_new_pack.D1aemd/_old 2023-05-18 15:19:01.105760148 +0200
+++ /var/tmp/diff_new_pack.D1aemd/_new 2023-05-18 15:19:01.109760168 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-cache
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-cache
-Version: 0.6.3
+Version: 1.0.1
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 setuptools}
+URL: https://github.com/requests-cache/requests-cache
+Source:
https://github.com/requests-cache/requests-cache/archive/refs/tags/v%{version}.tar.gz#/requests-cache-%{version}.tar.gz
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry-core}
BuildRequires: fdupes
+BuildRequires: psmisc
BuildRequires: python-rpm-macros
Requires: python-itsdangerous
Requires: python-requests >= 2.0.0
@@ -36,15 +37,21 @@
Suggests: python-mongodb
BuildArch: noarch
# SECTION test requirements
+BuildRequires: %{python_module cattrs}
BuildRequires: %{python_module gunicorn}
BuildRequires: %{python_module httpbin}
BuildRequires: %{python_module itsdangerous}
+BuildRequires: %{python_module platformdirs}
+BuildRequires: %{python_module pymongo}
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 responses}
+BuildRequires: %{python_module rich}
+BuildRequires: %{python_module tenacity}
BuildRequires: %{python_module timeout-decorator}
+BuildRequires: %{python_module url-normalize >= 1.4}
BuildRequires: redis
# /SECTION
%python_subpackages
@@ -66,10 +73,10 @@
%setup -q -n requests-cache-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -77,10 +84,12 @@
%{_sbindir}/redis-server &
export HTTPBIN_URL=http://localhost:8080/
%pytest -k 'not (dynamodb or gridfs or mongodb)'
+killall -w redis-server
%files %{python_files}
%license LICENSE
%doc README.md HISTORY.md docs/*.rst
-%{python_sitelib}/*
+%{python_sitelib}/requests_cache
+%{python_sitelib}/requests_cache-%{version}*-info
%changelog
++++++ requests-cache-0.6.3.tar.gz -> requests-cache-1.0.1.tar.gz ++++++
++++ 23336 lines of diff (skipped)