awslabs / flexible-snapshot-proxy

High-performance open-source orchestration utility that utilizes EBS Direct APIs to efficiently clone, copy and migrate EBS snapshots to and from arbitrary File, Block or Object destinations.
Apache License 2.0
30 stars 2 forks source link

Update zstandard requirement from <0.18.0,>0 to >0,<0.20.0 #13

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on zstandard to permit the latest version.

Release notes

Sourced from zstandard's releases.

0.19.0

Bug Fixes

  • The C backend implementation of ZstdDecompressionObj.decompress() could have raised an assertion in cases where the function was called multiple times on an instance. In non-debug builds, calls to this method could have leaked memory.

Changes

  • PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
  • Anaconda 3.6 support dropped.
  • Official support for Python 3.11. This did not require meaningful code changes and previous release(s) likely worked with 3.11 without any changes.
  • CFFI's build system now respects distutils's compiler.preprocessor if it is set. (#179)
  • The internal logic of ZstdDecompressionObj.decompress() was refactored. This may have fixed unconfirmed issues where unused_data was set prematurely. The new logic will also avoid an extra call to ZSTD_decompressStream() in some scenarios, possibly improving performance.
  • ZstdDecompressor.decompress() how has a read_across_frames keyword argument. It defaults to False. True is not yet implemented and will raise an exception if used. The new argument will default to True in a future release and is provided now so callers can start passing read_across_frames=False to preserve the existing functionality during a future upgrade.
  • ZstdDecompressor.decompress() now has an allow_extra_data keyword argument to control whether an exception is raised if input contains extra data. It defaults to True, preserving existing behavior of ignoring extra data. It will likely default to False in a future release. Callers desiring the current behavior are encouraged to explicitly pass allow_extra_data=True so behavior won't change during a future upgrade.
Changelog

Sourced from zstandard's changelog.

0.19.0 (released 2022-10-29)

Bug Fixes

  • The C backend implementation of ZstdDecompressionObj.decompress() could have raised an assertion in cases where the function was called multiple times on an instance. In non-debug builds, calls to this method could have leaked memory.

Changes

  • PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.
  • Anaconda 3.6 support dropped.
  • Official support for Python 3.11. This did not require meaningful code changes and previous release(s) likely worked with 3.11 without any changes.
  • CFFI's build system now respects distutils's compiler.preprocessor if it is set. (#179)
  • The internal logic of ZstdDecompressionObj.decompress() was refactored. This may have fixed unconfirmed issues where unused_data was set prematurely. The new logic will also avoid an extra call to ZSTD_decompressStream() in some scenarios, possibly improving performance.
  • ZstdDecompressor.decompress() how has a read_across_frames keyword argument. It defaults to False. True is not yet implemented and will raise an exception if used. The new argument will default to True in a future release and is provided now so callers can start passing read_across_frames=False to preserve the existing functionality during a future upgrade.
  • ZstdDecompressor.decompress() now has an allow_extra_data keyword argument to control whether an exception is raised if input contains extra data. It defaults to True, preserving existing behavior of ignoring extra data. It will likely default to False in a future release. Callers desiring the current behavior are encouraged to explicitly pass allow_extra_data=True so behavior won't change during a future upgrade.

0.18.0 (released 2022-06-20)

Changes

  • Bundled zstd library upgraded from 1.5.1 to 1.5.2.
  • ZstdDecompressionObj now has an unused_data attribute. It will contain data beyond the fully decoded zstd frame data if said data exists.
  • ZstdDecompressionObj now has an unconsumed_tail attribute. This attribute currently always returns the empty bytes value (b"").
  • ZstdDecompressionObj now has an eof attribute returning whether the compressed data has been fully read.

... (truncated)

Commits
  • 80c3142 global: change release to 0.19.0
  • 81f683e decompressor: add read_across_frames and allow_extra_data arguments to decomp...
  • c7a314e tests: add decompress() tests for multiple frames and extra data
  • e86740d docs: accurately document ZstdDecompressor.decompress()
  • cdf9c92 docs: better document negative compression levels
  • e84be46 docs: better call out temporally overlapping usage is not allowed
  • f9103dd tests: add test for calling decompress multiple times
  • a1deff5 decompressionobj: refactor decompress()
  • 30bf0bf black: reformat using black 22.10.0
  • 41f7139 cffi: Use the distutils preprocessor when available
  • Additional commits viewable 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[bot] commented 1 year ago

Superseded by #15.