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

Build: Bump zstandard from 0.18.0 to 0.19.0 in /python #5

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 30, 2022

Bumps zstandard from 0.18.0 to 0.19.0.

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.
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 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.18.0 to 0.19.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.18.0...0.19.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 Oct 30, 2022
SinghAsDev pushed a commit that referenced this pull request Nov 3, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 26, 2023

Superseded by #27.

@dependabot dependabot bot closed this Feb 26, 2023
@dependabot dependabot bot deleted the dependabot/pip/python/zstandard-0.19.0 branch February 26, 2023 04:58
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