1
0

8 Commits

Author SHA256 Message Date
a658de3e11 Accepting request 1291263 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=19
2025-07-09 15:26:07 +00:00
cd7b06ea1a - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=40
2025-07-08 12:38:52 +00:00
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
4 changed files with 39 additions and 14 deletions

BIN
cachecontrol-0.14.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cachecontrol-0.14.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
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>
- Update to 0.14.3
* Drop support for Python 3.8.
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Thu Jan 23 10:21:12 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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.
-------------------------------------------------------------------
Sun Nov 10 21:34:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.14.1:
* Drop support for Python 3.8.
* Explicitly support Python 3.13.
-------------------------------------------------------------------
Sat Feb 3 13:34:32 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-CacheControl
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,27 +16,28 @@
#
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-CacheControl
Version: 0.14.0
Version: 0.14.3
Release: 0
Summary: Caching library for Python requests
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/psf/cachecontrol
Source: https://github.com/psf/cachecontrol/archive/v%{version}.tar.gz#/cachecontrol-%{version}.tar.gz
BuildRequires: %{python_module flit-core >= 3.2}
BuildRequires: %{python_module flit-core >= 3.11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-msgpack >= 0.5.2
Requires: python-requests >= 2.16.0
Provides: python-cachecontrol = %{version}-%{release}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-filelock >= 3.8.0
Provides: python-cachecontrol = %{version}-%{release}
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module CherryPy}
@ -70,11 +71,8 @@ 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'
%post
%python_install_alternative doesitcache
%postun
%python_uninstall_alternative doesitcache
%pre
%python_libalternatives_reset_alternative doesitcache
%files %{python_files}
%license LICENSE.txt