forked from pool/python-CacheControl
		
	Compare commits
	
		
			10 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 8c2ebe4c8f | |||
| 483af8e16b | |||
| a658de3e11 | |||
| cd7b06ea1a | |||
| 3ba3dc9b96 | |||
| f1a14bccaf | |||
| 94680e4b26 | |||
| 0050043f60 | |||
| 049e12ad02 | |||
| 3d42a33257 | 
							
								
								
									
										
											BIN
										
									
								
								cachecontrol-0.14.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											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
									
								
							
							
						
						
									
										
											BIN
										
									
								
								cachecontrol-0.14.3.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -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> | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user