[wpt-sync] Sync PR 38596 - Bump zstandard from 0.17.0 to 0.20.0 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox114 fixed)
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38596 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38596
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump zstandard from 0.17.0 to 0.20.0 in /tools
Bumps zstandard from 0.17.0 to 0.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/indygreg/python-zstandard/releases">zstandard's releases</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<h1>Backwards Compatibility Notes</h1>
<ul>
<li>This will likely be the last release officially supporting Python 3.6.
Python 3.6 is end of life as of 2021-12-23.</li>
</ul>
<h1>Changes</h1>
<ul>
<li>Bundled zstd library upgraded from 1.5.2 to 1.5.4.</li>
<li>Use of the deprecated <code>ZSTD_copyDCtx()</code> was removed from the C and
Rust backends.</li>
</ul>
<h2>0.19.0</h2>
<h2>Bug Fixes</h2>
<ul>
<li>The C backend implementation of <code>ZstdDecompressionObj.decompress()</code> 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.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.</li>
<li>Anaconda 3.6 support dropped.</li>
<li>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.</li>
<li>CFFI's build system now respects distutils's <code>compiler.preprocessor</code> if it
is set. (<a href="https://github-redirect.dependabot.com/indygreg/python-zstandard/issues/179">#179</a>)</li>
<li>The internal logic of <code>ZstdDecompressionObj.decompress()</code> was refactored.
This may have fixed unconfirmed issues where <code>unused_data</code> was set
prematurely. The new logic will also avoid an extra call to
<code>ZSTD_decompressStream()</code> in some scenarios, possibly improving performance.</li>
<li><code>ZstdDecompressor.decompress()</code> how has a <code>read_across_frames</code> 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 <code>read_across_frames=False</code>
to preserve the existing functionality during a future upgrade.</li>
<li><code>ZstdDecompressor.decompress()</code> now has an <code>allow_extra_data</code> 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
<code>allow_extra_data=True</code> so behavior won't change during a future upgrade.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/indygreg/python-zstandard/blob/main/docs/news.rst">zstandard's changelog</a>.</em></p>
<blockquote>
<h1>0.20.0 (released 2023-02-20)</h1>
<h2>Backwards Compatibility Notes</h2>
<ul>
<li>This will likely be the last release officially supporting Python 3.6.
Python 3.6 is end of life as of 2021-12-23.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>Bundled zstd library upgraded from 1.5.2 to 1.5.4.</li>
<li>Use of the deprecated <code>ZSTD_copyDCtx()</code> was removed from the C and
Rust backends.</li>
</ul>
<h1>0.19.0 (released 2022-10-29)</h1>
<h2>Bug Fixes</h2>
<ul>
<li>The C backend implementation of <code>ZstdDecompressionObj.decompress()</code> 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.</li>
</ul>
<h2>Changes</h2>
<ul>
<li>PyPy 3.6 support dropped; Pypy 3.8 and 3.9 support added.</li>
<li>Anaconda 3.6 support dropped.</li>
<li>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.</li>
<li>CFFI's build system now respects distutils's <code>compiler.preprocessor</code> if it
is set. (<a href="https://github-redirect.dependabot.com/indygreg/python-zstandard/issues/179">#179</a>)</li>
<li>The internal logic of <code>ZstdDecompressionObj.decompress()</code> was refactored.
This may have fixed unconfirmed issues where <code>unused_data</code> was set
prematurely. The new logic will also avoid an extra call to
<code>ZSTD_decompressStream()</code> in some scenarios, possibly improving performance.</li>
<li><code>ZstdDecompressor.decompress()</code> how has a <code>read_across_frames</code> 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 <code>read_across_frames=False</code>
to preserve the existing functionality during a future upgrade.</li>
<li><code>ZstdDecompressor.decompress()</code> now has an <code>allow_extra_data</code> 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</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/indygreg/python-zstandard/commit/c5833acf0339a65c6a902506b188a15fdc1045f1"><code>c5833ac</code></a> global: update version to 0.20.0</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/132b6006de36944577d3e5e1cf9659b4b9cc9930"><code>132b600</code></a> docs: capture missing features in own document</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/3b6cd5c498767a1e1cc0f36f58d7a42d795399cd"><code>3b6cd5c</code></a> docs: document future removal of Python 3.6</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/26261a3228238dee48d642c62ea67120908947c6"><code>26261a3</code></a> rust: update dependencies</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/170d9374a813f324e9108f4217bb07b29a41f46e"><code>170d937</code></a> rust-ext: consistently and properly define <code>hint</code> argument to readline()</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/c1fa597ea391563cd27a04603c61e93ed3530f6b"><code>c1fa597</code></a> global: remove use of deprecated <code>ZSTD_copyDCtx()</code></li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/de93ee0c8e9f29f4748d6ec10e93652fda0ef3cb"><code>de93ee0</code></a> global: reflect upgrade of zstd to 1.5.4</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/acfd93d0a703bc93898d836f7f116fb082f2d753"><code>acfd93d</code></a> zstd: add cast to some <code>ZSTD_memcpy()</code></li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/8d091ad6fa24cc136350d94fbe484698d75a6124"><code>8d091ad</code></a> zstd: upgrade vendored zstd to 1.5.4</li>
<li><a href="https://github.com/indygreg/python-zstandard/commit/42e25d01e185556c73de1ace3aaf49e17c0bcaec"><code>42e25d0</code></a> rust-ext: upgrade zstd-safe and zstd-bytes to latest using zstd 1.5.2</li>
<li>Additional commits viewable in <a href="https://github.com/indygreg/python-zstandard/compare/0.17.0...0.20.0">compare view</a></li>
</ul>
</details>
<br />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.
<details>
<summary>Dependabot commands and options</summary>
<br />You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
| bugherder | ||
Description
•