Update dogpile-cache requirement from ~=1.0 to ~=1.1
Created by: dependabot-preview[bot]
Updates the requirements on dogpile-cache to permit the latest version.
Release notes
Sourced from dogpile-cache's releases.
1.1.0
Released: Sun Nov 15 2020
feature
[feature] [region] Reworked the means by which values are serialized and deserialized from backends, and provided for custom serialization of values. Added the
CacheRegion.serializer
andCacheRegion.deserializer
parameters which may be set to any serializer.Serialization and deserialization now take place within the
CacheRegion
so that backends may now assume string values in all cases. This simplifies the existing backends and also makes custom backends easier to write and maintain.Additionally, the serializer is now applied to the user-defined value portion of the
CachedValue
and not to the metadata or other portions ofCachedValue
object itself, so the serialized portion is effectively a "payload" within the largerCachedValue
structure that is passed as part of the larger string format. The overall format is a separate JSON of the cached value metadata, followed by the serialized form. This allows for end-user serialization schemes that are hardwired to the values themselves without the need to serialize dogpile's internal structures as well.Existing custom backends should continue to work without issue; they now have the option to forego any separate serialization steps, and can also subclass a new backend
BytesBackend
that marks them as a backend that only deals with bytes coming in and out; all internal serialization logic from such a backend can be removed.Pull request courtesy Alessio Bogon.
References: #191
misc
- [change] Added pep-484 annotations to most of the dogpile.cache package.
Commits
- 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) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)