1
0

22 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
3375c40f93 Accepting request 1143810 from devel:languages:python
- update to 0.14.0:
  * Explicitly allow pathlib.Path as a type for
    FileCache.directory.
  * Drop support for Python 3.7. Python 3.8 is now the minimum
    version.
  * Don't use the cache to return a full response if a request
    has a Range header.

OBS-URL: https://build.opensuse.org/request/show/1143810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=15
2024-02-04 18:09:09 +00:00
c94ed7ed59 Accepting request 1136189 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=14
2024-01-03 11:30:13 +00:00
200d731b07 Accepting request 1095465 from devel:languages:python
- Update to v0.13.1 
  * Support for old serialization formats has been removed.
  * Move the serialization implementation into own method.
  * Drop support for Python older than 3.7.
- version 0.13.0
  * YANKED
  * The project has been moved to the PSF organization.
  * Discard the strict attribute when serializing and deserializing responses.
  * Fix the IncompleteRead error thrown by urllib3 2.0.
  * Remove usage of utcnow in favor of timezone-aware datetimes.
  * Remove the compat module.
  * Use Python's unittest.mock library instead of mock.
  * Add type annotations.
  * Exclude the tests directory from the wheel.
- version 0.12.14
  * Revert the change "switch lockfile to filelock" to fix the compatibility issue.
- version 0.12.13
  * Discard the strict attribute when serializing and deserializing responses.
  * Fix the IncompleteRead error thrown by urllib3 2.0.
  * Exclude the tests directory from the wheel.
- Remove requests-fix.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/1095465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=13
2023-06-27 21:16:31 +00:00
d1b1ce1cd6 Accepting request 1089718 from devel:languages:python
- Add requests-fix.patch to support latest version of urllib3 and
  requests
  gh#ionrock/cachecontrol#301, gh#ionrock/cachecontrol#304

OBS-URL: https://build.opensuse.org/request/show/1089718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=12
2023-05-30 20:02:40 +00:00
c066ac73f3 Accepting request 1085439 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=11
2023-05-08 15:24:37 +00:00
6222a330c7 Accepting request 992331 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/992331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=10
2022-08-03 19:16:28 +00:00
9ff6c31418 Accepting request 935720 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/935720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=9
2021-12-09 18:45:09 +00:00
e7ea844acf Accepting request 809828 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=8
2020-06-09 22:44:44 +00:00
bac775b395 Accepting request 760434 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/760434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=7
2020-01-03 16:36:41 +00:00
6d4d59fe36 Accepting request 744702 from devel:languages:python
- Add patch to work with new pytest:
  * pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/744702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=6
2019-11-01 14:14:06 +00:00
95e26f1c54 Accepting request 732618 from devel:languages:python
- Restrict pytest to 3.x as newer released do not work with
  this package

OBS-URL: https://build.opensuse.org/request/show/732618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=5
2019-09-25 06:10:12 +00:00
cc7acbac7c Accepting request 691698 from devel:languages:python
- Run tests only under py3 as CherryPy is available only there

- Activate test suite, with two tests currently failing
- Trim description, removing irrelevant information about httplib2
- Recommend lockfile, as a lightweight dependency needed for FileCache,
  which is a primary use of CacheControl.

OBS-URL: https://build.opensuse.org/request/show/691698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=4
2019-04-05 10:05:27 +00:00
1b6d677b9b Accepting request 680057 from devel:languages:python
- Update to 0.12.5:
  * various test fixes
  * few crasher fixes

OBS-URL: https://build.opensuse.org/request/show/680057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=3
2019-03-01 15:48:07 +00:00
d0a04bb6ed Accepting request 653957 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/653957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-CacheControl?expand=0&rev=2
2018-12-13 18:40:34 +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