Skip to content

pip prod(deps): update requests-cache requirement from >=1.2.0 to >=1.3.1 in /api#994

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/api/requests-cache-gte-1.3.1
Open

pip prod(deps): update requests-cache requirement from >=1.2.0 to >=1.3.1 in /api#994
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/api/requests-cache-gte-1.3.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 1, 2026

Updates the requirements on requests-cache to permit the latest version.

Changelog

Sourced from requests-cache's changelog.

1.3.1 (2025-03-03)

  • Add support for multiple response variations based on Vary
  • Fix overwriting headers after revalidation in read_only mode
  • Add tests for python 3.15 (alpha)

1.3.0 (2026-02-02)

⚠️ Deprecations & removals:

  • See changes to BSON and JSON serializers below:

💾 Serialization:

  • Significantly reduce the memory usage of JSON serialization
  • ⚠️ serializer='json' will no longer automatically use ultrajson if installed; it must be specified explicitly
  • ⚠️ Drop support for standalone bson codec; please install pymongo to use BSON serialization
  • Remove [bson] package extra to prevent accidentally installing it in the same environment as pymongo
  • When using BSON serialization with the filesystem backend, add a .bson file extension by default
  • Add support for orjson as a JSON serializer
  • Add the following serializer objects to specify a JSON library: json_serializer, ujson_serializer, and orjson_serializer
  • Remove [json] package extra due to multiple supported JSON libraries
  • Allow decode_content to be set to different values across multiple sessions in use at the same time

💾 Backends:

  • SQLite:
    • Use exclusive transaction locks to prevent write contention; replaces retry behavior
  • *Filesystem:
    • Add {py:class}requests_cache.backends.filesystem.LRUFileDict class to optionally limit the size of the filesystem cache. Enabled with max_cache_bytes argument.
  • Redis:
    • For maintenance/inspection methods that iterate over the cache, use SCAN and HSCAN instead of KEYS, HKEYS, and HGETALL
  • DynamoDB:
    • Add optional parameter create_table of DynamoDBCache to control if the class attempts to create the table in DynamoDB or not.
  • GridFS:
    • Add a connection parameter to allow passing an existing MongoClient object

🕗 Expiration & headers:

  • Add support for Vary: Cookie

⚙️ Session settings:

  • Add autoclose option to close backend connections when the session is closed
  • Add read_only option to read existing cached responses, but not write any new responses to the cache

ℹ️ Cache convenience methods:

  • Add verify parameter to BaseCache.contains() and delete() to handle requests made with SSL verification disabled

🧩 Compatibility and packaging:

  • Add support for Python 3.13 and 3.14
  • Add compatibility with url-normalize 2.0
  • Add compatibility with FIPS-compliant systems
    • Note: Due to using a different hashing algorithm for cache keys, caches cannot be shared between FIPS- and non-FIPS-compliant systems
  • Packaging and project config are now managed by uv

... (truncated)

Commits
  • f8ec2f0 Update changelog
  • d5086ff Merge pull request #1141 from requests-cache/fix-ro-revalidate
  • ec040c9 Fix regression: separately test conditions for 'skip because it's not needed'...
  • 12841a6 Fix overwriting headers after revalidation in read_only mode
  • 900b234 Merge pull request #1138 from requests-cache/vary-secondary-key
  • 9bd9164 Add a secondary cache key for Vary
  • 25cc906 Update actions
  • 9e6a415 Merge pull request #1139 from requests-cache/docs
  • 59154e1 Add tests for python 3.15 (alpha)
  • 258d3c1 Remove reference to unsupported standalone BSON codec
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 1, 2026
Updates the requirements on [requests-cache](https://github.com/requests-cache/requests-cache) to permit the latest version.
- [Release notes](https://github.com/requests-cache/requests-cache/releases)
- [Changelog](https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md)
- [Commits](requests-cache/requests-cache@v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: requests-cache
  dependency-version: 1.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/api/requests-cache-gte-1.3.1 branch from 10a09ca to ea65a4d Compare May 4, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants