Commit Graph

18 Commits

Author SHA256 Message Date
1083dbdd84 - 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
2024-02-03 13:34:46 +00:00
2c1aa1cc14 Accepting request 1135649 from home:alarrosa:branches:devel:languages:python
- Remove BuildRequires and Suggests python-redis since it's not
  really used when building and there's no reason to suggest it
  unless someone wants to explicitly use redis, this simplifies
  the dependencies which is useful for SLE.

OBS-URL: https://build.opensuse.org/request/show/1135649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=30
2024-01-02 13:56:42 +00:00
daa8fd57a0 - Remove requests-fix.patch (obsolete)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=28
2023-06-26 19:46:07 +00:00
3fde79e627 Accepting request 1093781 from home:Simmphonie:branches: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 request-fix.patch

OBS-URL: https://build.opensuse.org/request/show/1093781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=27
2023-06-19 13:25:11 +00:00
b65051f751 - 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/package/show/devel:languages:python/python-CacheControl?expand=0&rev=25
2023-05-30 07:54:41 +00:00
6ce3c19d85 Accepting request 1085407 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=23
2023-05-08 08:18:52 +00:00
6cac4b2c94 Accepting request 992233 from home:ohollmann:branches:devel:languages:python
- Update to v0.12.11
  * Added new variant of FileCache, SeparateBodyFileCache, which uses
    less memory by storing the body in a separate file than metadata,
    and streaming data in and out directly to/from that file.

OBS-URL: https://build.opensuse.org/request/show/992233
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=21
2022-08-02 13:26:59 +00:00
e370a72254 Accepting request 935709 from home:bnavigator:branches:devel:languages:python
- Update to v0.12.10
  * Dropped support for Python 2.7, 3.4, 3.5.
  * Reduced memory usage when caching large files.

OBS-URL: https://build.opensuse.org/request/show/935709
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=20
2021-12-04 22:32:27 +00:00
Tomáš Chvátal
e21c4f4a80 Accepting request 809573 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=18
2020-05-28 07:35:26 +00:00
Tomáš Chvátal
ffa6a7d73f Accepting request 760431 from home:jayvdb:branches:devel:languages:python
- Drop merged pytest4.patch
- Add explanation of one test failure
- Remove mention of httplib2 from package summary
- Update to v0.12.6
  * Test if cache is None before falling back to DictCache
  * Fixed body in 304 response to etag request
  * Added check for "*" value in Vary header
  * Make v4 cache compatible with msgpack 1.0 in the future

OBS-URL: https://build.opensuse.org/request/show/760431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=16
2020-01-02 13:46:19 +00:00
Tomáš Chvátal
c705ac72c0 - Add patch to work with new pytest:
* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=14
2019-11-01 09:32:16 +00:00
Tomáš Chvátal
32e0a65362 - Restrict pytest to 3.x as newer released do not work with
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=12
2019-09-23 07:39:43 +00:00
Tomáš Chvátal
b89666545b - Restrict pytest to < 3.0 as newer released do not work with
this package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=11
2019-09-18 09:15:41 +00:00
Tomáš Chvátal
c6106f6e0b - Run tests only under py3 as CherryPy is available only there
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=9
2019-04-05 07:16:38 +00:00
Tomáš Chvátal
355a847339 Accepting request 688168 from home:jayvdb:branches:devel:languages:python
- 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/688168
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=8
2019-03-25 09:50:55 +00:00
Tomáš Chvátal
9784b1b62f - Update to 0.12.5:
* various test fixes
  * few crasher fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=6
2019-02-28 09:12:06 +00:00
5c70112032 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=3
2018-12-04 13:18:07 +00:00
Thomas Bechtold
8dc93f166e - Initial packaging (version 0.12.4)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=1
2018-03-23 15:14:07 +00:00