Debian Patches
Status for tvdb-api/3.1-5
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| PR97.patch | fix working with newer requests-cache versions Just inline the simple internal symbols that were being imported from requests-cache (since it no longer exports them). Fixes #94. |
Mike Frysinger <vapier@gentoo.org> | no | upstream, https://github.com/dbr/tvdb_api/commit/637b2d27bbb5224fe2dc574a7beb302164c96b5a | 2021-09-01 | |
| PR105.patch | [PATCH 1/2] Fix for newer requests-cache | Bernat Arlandis <berarma@hotmail.com> | yes | debian | 2023-06-29 | |
| requests-cache-1.2.patch | port to requests-cache 1.x requests-cache 1.0 deprecated, and 1.2 removed, the APIs this module uses: . * CachedSession.remove_expired_responses(), replaced by BaseCache.delete(expired=True) * BaseCache.has_key(), replaced by BaseCache.contains() * the BaseCache attributes the custom create_key() reads (PR105 targeted 1.1); the settings now live in BaseCache._settings . create_key() hashes the request URL and body as it did with requests-cache 0.5, which ignored no parameters by default, so the keys still match the ones recorded in the test cache. |
Sandro Tosi <morph@debian.org> | no | debian upstream | 2026-10-19 | |
| tests-recorded-cache.patch | load the recorded HTTP cache with requests-cache 1.x The tests run offline, from the TheTVDB responses recorded in tests/httpcache as pickled requests-cache 0.5 objects, which requests-cache 1.x can't load. Convert them to CachedResponse when loading them, and pass the FileCache backend to CachedSession as an instance, the way requests-cache 1.x takes custom backends. PR105 switched the tests to the filesystem backend instead, which misses every recorded response and needs network access. |
Sandro Tosi <morph@debian.org> | no | 2026-10-19 |
