14
0

6 Commits

Author SHA256 Message Date
3ba3dc9b96 Accepting request 1274887 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=18
2025-05-07 17:14:54 +00:00
f1a14bccaf - Update to 0.14.3
* Drop support for Python 3.8.
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=38
2025-05-06 11:15:40 +00:00
94680e4b26 Accepting request 1239862 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=17
2025-01-24 12:38:49 +00:00
0050043f60 - Update to 0.14.2
* Eliminate a race condition when overwriting cache entries.
  * Fix a requests object leak when doing caching on a streamed
    response.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=36
2025-01-23 12:54:28 +00:00
049e12ad02 Accepting request 1223203 from devel:languages:python
- update to 0.14.1:
  * Drop support for Python 3.8.
  * Explicitly support Python 3.13.

OBS-URL: https://build.opensuse.org/request/show/1223203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=16
2024-11-12 18:19:41 +00:00
3d42a33257 - update to 0.14.1:
* Drop support for Python 3.8.
  * Explicitly support Python 3.13.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=34
2024-11-10 21:34:33 +00:00
2 changed files with 2 additions and 25 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Thu Aug 14 12:53:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Tue Jul 8 12:38:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue May 6 08:53:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -16,11 +16,6 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-CacheControl
Version: 0.14.3
@@ -38,16 +33,11 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-msgpack >= 0.5.2
Requires: python-requests >= 2.16.0
Recommends: python-filelock >= 3.8.0
Provides: python-cachecontrol = %{version}-%{release}
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
Recommends: python-filelock >= 3.8.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module CherryPy}
BuildRequires: %{python_module filelock >= 3.8.0}
@@ -80,9 +70,6 @@ requests session object.
# test_file_cache_recognizes_consumed_file_handle uses httpbin.org directly
%pytest -v -k 'not test_file_cache_recognizes_consumed_file_handle'
%pre
%python_libalternatives_reset_alternative doesitcache
%post
%python_install_alternative doesitcache