- 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/package/show/devel:languages:python/python-CacheControl?expand=0&rev=32
This commit is contained in:
Dirk Mueller 2024-02-03 13:34:46 +00:00 committed by Git OBS Bridge
parent 2c1aa1cc14
commit 1083dbdd84
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d385996b1874b7a12b34bf4735bd1df6cec3abed83252e0fc7095c9bfb5f7e0a
size 43688

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:159f4341e015d11b16de5b9f86e207cff753d6080642671f4cd09717e34a12a0
size 43598

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Feb 3 13:34:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Fri Dec 29 11:48:07 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-CacheControl
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-CacheControl
Version: 0.13.1
Version: 0.14.0
Release: 0
Summary: Caching library for Python requests
License: Apache-2.0
@ -35,7 +35,7 @@ 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
Requires(postun): update-alternatives
Recommends: python-filelock >= 3.8.0
BuildArch: noarch
# SECTION test requirements