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

Bump zstandard from 0.17.0 to 0.20.0 in /tools #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 21, 2023

Bumps zstandard from 0.17.0 to 0.20.0.

Release notes

Sourced from zstandard's releases.

0.20.0

Backwards Compatibility Notes

  • This will likely be the last release officially supporting Python 3.6. Python 3.6 is end of life as of 2021-12-23.

Changes

  • Bundled zstd library upgraded from 1.5.2 to 1.5.4.
  • Use of the deprecated ZSTD_copyDCtx() was removed from the C and Rust backends.

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.20.0 (released 2023-02-20)

Backwards Compatibility Notes

  • This will likely be the last release officially supporting Python 3.6. Python 3.6 is end of life as of 2021-12-23.

Changes

  • Bundled zstd library upgraded from 1.5.2 to 1.5.4.
  • Use of the deprecated ZSTD_copyDCtx() was removed from the C and Rust backends.

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

... (truncated)

Commits
  • c5833ac global: update version to 0.20.0
  • 132b600 docs: capture missing features in own document
  • 3b6cd5c docs: document future removal of Python 3.6
  • 26261a3 rust: update dependencies
  • 170d937 rust-ext: consistently and properly define hint argument to readline()
  • c1fa597 global: remove use of deprecated ZSTD_copyDCtx()
  • de93ee0 global: reflect upgrade of zstd to 1.5.4
  • acfd93d zstd: add cast to some ZSTD_memcpy()
  • 8d091ad zstd: upgrade vendored zstd to 1.5.4
  • 42e25d0 rust-ext: upgrade zstd-safe and zstd-bytes to latest using zstd 1.5.2
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [zstandard](https://github.com/indygreg/python-zstandard) from 0.17.0 to 0.20.0.
- [Release notes](https://github.com/indygreg/python-zstandard/releases)
- [Changelog](https://github.com/indygreg/python-zstandard/blob/main/docs/news.rst)
- [Commits](indygreg/python-zstandard@0.17.0...0.20.0)

---
updated-dependencies:
- dependency-name: zstandard
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 21, 2023
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
0 participants