19
0

10 Commits

Author SHA256 Message Date
86c2987e02 Accepting request 1300795 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1300795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=20
2025-08-22 15:47:09 +00:00
ed734c1c76 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=42
2025-08-14 12:56:47 +00:00
675f80ca72 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
77c3fe8b89 - 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
86ceb8f33f 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
054ad3d9f4 Accepting request 1274844 from home:glaubitz:branches:devel:languages:python
- Update to 0.14.3
  * Drop support for Python 3.8.
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1274844
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
e58d791aea 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
f031f9e167 Accepting request 1239795 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1239795
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
04655430f0 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
9df083ad3c - 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 53 additions and 8 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,35 @@
-------------------------------------------------------------------
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>
- 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,16 +16,21 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?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}
@@ -33,11 +38,16 @@ 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
Recommends: python-filelock >= 3.8.0
BuildArch: noarch
%endif
# SECTION test requirements
BuildRequires: %{python_module CherryPy}
BuildRequires: %{python_module filelock >= 3.8.0}
@@ -70,6 +80,9 @@ 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