Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cachecontrol[filecache] requirement from ~=0.12.8 to ~=0.12.10 #371

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2021

Updates the requirements on cachecontrol[filecache] to permit the latest version.

Changelog

Sourced from cachecontrol[filecache]'s changelog.

.. SPDX-FileCopyrightText: SPDX-FileCopyrightText: 2015 Eric Larson

SPDX-License-Identifier: Apache-2.0

=============== Release Notes

0.13.0

  • Dropped support for Python 2.7, 3.4, 3.5.
  • Reduced memory usage when caching large files.

0.12.0

Rather than using compressed JSON for caching values, we are now using MessagePack (http://msgpack.org/). MessagePack has the advantage that that serialization and deserialization is faster, especially for caching large binary payloads.

0.11.2

This release introduces the cachecontrol.heuristics.LastModified heuristic. This uses the same behaviour as many browsers to base expiry on the Last-Modified header when no explicit expiry is provided.

0.11.0

The biggest change is the introduction of using compressed JSON rather than pickle for storing cached values. This allows Python 3.4 and Python 2.7 to use the same cache store. Previously, if a cache was created on 3.4, a 2.7 client would fail loading it, causing an invalid cache miss. Using JSON also avoids the exec call used in pickle, making the cache more secure by avoiding a potential code injection point. Finally, the compressed JSON is a smaller payload, saving a bit of space.

In order to support arbitrary binary data in the JSON format, base64 encoding is used to turn the data into strings. It has to do some encoding dances to make sure that the bytes/str types are correct, so please open a new issue if you notice any issues.

This release also introduces the

... (truncated)

Commits
  • 3bd6945 Bump version: 0.12.9 → 0.12.10
  • 596b5b1 Merge pull request #266 from ionrock/ionrock/fix-license-text
  • 25c86d9 Adjust the LICENSE to work correctly with external packaging
  • 139cd4e Fix typo
  • 0310f4a Bump version: 0.12.8 → 0.12.9
  • 666642a Merge pull request #264 from ionrock/ionrock/internal-file-handle-revert
  • 0fa7749 The issue_263.py script was in the ticket to provide a test.
  • d085f50 Ensure we reset the file handle after reading
  • 09992a1 Formatting updates after running black
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [cachecontrol[filecache]](https://github.com/ionrock/cachecontrol) to permit the latest version.
- [Release notes](https://github.com/ionrock/cachecontrol/releases)
- [Changelog](https://github.com/ionrock/cachecontrol/blob/master/docs/release_notes.rst)
- [Commits](psf/cachecontrol@v0.12.8...v0.12.10)

---
updated-dependencies:
- dependency-name: cachecontrol[filecache]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 8, 2021
@CasperWA CasperWA enabled auto-merge (squash) November 8, 2021 05:02
@codecov
Copy link

codecov bot commented Nov 8, 2021

Codecov Report

Merging #371 (aebf370) into ci/dependabot-updates (07cf840) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@                  Coverage Diff                   @@
##           ci/dependabot-updates     #371   +/-   ##
======================================================
  Coverage                  35.24%   35.24%           
======================================================
  Files                         19       19           
  Lines                       2403     2403           
======================================================
  Hits                         847      847           
  Misses                      1556     1556           
Flag Coverage Δ
optimade-client 35.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07cf840...aebf370. Read the comment docs.

@CasperWA CasperWA merged commit 9164418 into ci/dependabot-updates Nov 8, 2021
@CasperWA CasperWA deleted the dependabot/pip/ci/dependabot-updates/cachecontrol-filecache--approx-eq-0.12.10 branch November 8, 2021 05:05
CasperWA added a commit that referenced this pull request Nov 10, 2021
Update dependencies:

* Update cachecontrol[filecache] requirement from ~=0.12.8 to ~=0.12.10 (#371)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant