[wpt-sync] Sync PR 46957 - Bump pillow from 10.3.0 to 10.4.0 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46957 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46957
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump pillow from 10.3.0 to 10.4.0 in /tools
Bumps pillow from 10.3.0 to 10.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.4.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.4.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.4.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>Raise FileNotFoundError if show_file() path does not exist <a href="https://redirect.github.com/python-pillow/Pillow/issues/8178">#8178</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved reading 16-bit TGA images with colour <a href="https://redirect.github.com/python-pillow/Pillow/issues/7965">#7965</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Fixed processing multiple JPEG EXIF markers <a href="https://redirect.github.com/python-pillow/Pillow/issues/8127">#8127</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Do not preserve EXIFIFD tag by default when saving TIFF images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8110">#8110</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added ImageFont.load_default_imagefont() <a href="https://redirect.github.com/python-pillow/Pillow/issues/8086">#8086</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added Image.WARN_POSSIBLE_FORMATS <a href="https://redirect.github.com/python-pillow/Pillow/issues/8063">#8063</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Do not presume "xmp" info simply because "XML:com.adobe.xmp" info exists <a href="https://redirect.github.com/python-pillow/Pillow/issues/8173">#8173</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove zero-byte end padding when parsing any XMP data <a href="https://redirect.github.com/python-pillow/Pillow/issues/8171">#8171</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Do not detect Ultra HDR images as MPO <a href="https://redirect.github.com/python-pillow/Pillow/issues/8056">#8056</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise SyntaxError specific to JP2 <a href="https://redirect.github.com/python-pillow/Pillow/issues/8146">#8146</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Do not use first frame duration for other frames when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8104">#8104</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Consider I;16 pixel size when using a 1 mode mask <a href="https://redirect.github.com/python-pillow/Pillow/issues/8112">#8112</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving multiple PNG frames, convert to mode rather than raw mode <a href="https://redirect.github.com/python-pillow/Pillow/issues/8087">#8087</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added byte support to FreeTypeFont <a href="https://redirect.github.com/python-pillow/Pillow/issues/8141">#8141</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow float center for rotate operations <a href="https://redirect.github.com/python-pillow/Pillow/issues/8114">#8114</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Do not read layers immediately when opening PSD images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8039">#8039</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Restore original thread state <a href="https://redirect.github.com/python-pillow/Pillow/issues/8065">#8065</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Read IM and TIFF images as RGB, rather than RGBX <a href="https://redirect.github.com/python-pillow/Pillow/issues/7997">#7997</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED <a href="https://redirect.github.com/python-pillow/Pillow/issues/7948">#7948</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent extra EPS header validations <a href="https://redirect.github.com/python-pillow/Pillow/issues/8144">#8144</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Clarify ImageDraw2 error message when size is missing <a href="https://redirect.github.com/python-pillow/Pillow/issues/8165">#8165</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support unpacking more rawmodes to RGBA palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7966">#7966</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed support for Qt 5 <a href="https://redirect.github.com/python-pillow/Pillow/issues/8159">#8159</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve <code>ImageFont.freetype</code> support for XDG directories on Linux <a href="https://redirect.github.com/python-pillow/Pillow/issues/8135">#8135</a> [<a href="https://github.com/mamg22"><code>@mamg22</code></a>]</li>
<li>Improved consistency of XMP handling <a href="https://redirect.github.com/python-pillow/Pillow/issues/8069">#8069</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use pkg-config to help find libwebp and raqm <a href="https://redirect.github.com/python-pillow/Pillow/issues/8142">#8142</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Renamed C transform2 to transform <a href="https://redirect.github.com/python-pillow/Pillow/issues/8113">#8113</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Updated nasm to 2.16.03 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7990">#7990</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>[pre-commit.ci] pre-commit autoupdate <a href="https://redirect.github.com/python-pillow/Pillow/issues/8100">#8100</a> [<a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a>]</li>
<li>Updated ImageCms.createProfile colorTemp default and docstring <a href="https://redirect.github.com/python-pillow/Pillow/issues/8096">#8096</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added ImageDraw circle() <a href="https://redirect.github.com/python-pillow/Pillow/issues/8085">#8085</a> [<a href="https://github.com/void4"><code>@void4</code></a>]</li>
<li>Don't reuse variable name <a href="https://redirect.github.com/python-pillow/Pillow/issues/8082">#8082</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Use functools.cached_property in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/8037">#8037</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add mypy target to Makefile <a href="https://redirect.github.com/python-pillow/Pillow/issues/8077">#8077</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Added Python 3.13 beta wheels <a href="https://redirect.github.com/python-pillow/Pillow/issues/8071">#8071</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Parse _version contents instead of using exec() <a href="https://redirect.github.com/python-pillow/Pillow/issues/8050">#8050</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Lint fixes <a href="https://redirect.github.com/python-pillow/Pillow/issues/8068">#8068</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix type errors <a href="https://redirect.github.com/python-pillow/Pillow/issues/8064">#8064</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added MPEG accept function <a href="https://redirect.github.com/python-pillow/Pillow/issues/7999">#7999</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added more modes to Image.MODES <a href="https://redirect.github.com/python-pillow/Pillow/issues/7984">#7984</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>[pre-commit.ci] pre-commit autoupdate <a href="https://redirect.github.com/python-pillow/Pillow/issues/8044">#8044</a> [<a href="https://github.com/pre-commit-ci"><code>@pre-commit-ci</code></a>]</li>
<li>Do not use percent format in strings <a href="https://redirect.github.com/python-pillow/Pillow/issues/8045">#8045</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed string formatting to f-strings <a href="https://redirect.github.com/python-pillow/Pillow/issues/8043">#8043</a> [<a href="https://github.com/mrKazzila"><code>@mrKazzila</code></a>]</li>
<li>Removed direct invocation of setup.py <a href="https://redirect.github.com/python-pillow/Pillow/issues/8027">#8027</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update ExifTags.py <a href="https://redirect.github.com/python-pillow/Pillow/issues/8020">#8020</a> [<a href="https://github.com/CTimmerman"><code>@CTimmerman</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.4.0 (2024-07-01)</h2>
<ul>
<li>
<p>Raise FileNotFoundError if show_file() path does not exist <a href="https://redirect.github.com/python-pillow/Pillow/issues/8178">#8178</a>
[radarhere]</p>
</li>
<li>
<p>Improved reading 16-bit TGA images with colour <a href="https://redirect.github.com/python-pillow/Pillow/issues/7965">#7965</a>
[Yay295, radarhere]</p>
</li>
<li>
<p>Deprecate non-image ImageCms modes <a href="https://redirect.github.com/python-pillow/Pillow/issues/8031">#8031</a>
[radarhere]</p>
</li>
<li>
<p>Fixed processing multiple JPEG EXIF markers <a href="https://redirect.github.com/python-pillow/Pillow/issues/8127">#8127</a>
[radarhere]</p>
</li>
<li>
<p>Do not preserve EXIFIFD tag by default when saving TIFF images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8110">#8110</a>
[radarhere]</p>
</li>
<li>
<p>Added ImageFont.load_default_imagefont() <a href="https://redirect.github.com/python-pillow/Pillow/issues/8086">#8086</a>
[radarhere]</p>
</li>
<li>
<p>Added Image.WARN_POSSIBLE_FORMATS <a href="https://redirect.github.com/python-pillow/Pillow/issues/8063">#8063</a>
[radarhere]</p>
</li>
<li>
<p>Remove zero-byte end padding when parsing any XMP data <a href="https://redirect.github.com/python-pillow/Pillow/issues/8171">#8171</a>
[radarhere]</p>
</li>
<li>
<p>Do not detect Ultra HDR images as MPO <a href="https://redirect.github.com/python-pillow/Pillow/issues/8056">#8056</a>
[radarhere]</p>
</li>
<li>
<p>Raise SyntaxError specific to JP2 <a href="https://redirect.github.com/python-pillow/Pillow/issues/8146">#8146</a>
[Yay295, radarhere]</p>
</li>
<li>
<p>Do not use first frame duration for other frames when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8104">#8104</a>
[radarhere]</p>
</li>
<li>
<p>Consider I;16 pixel size when using a 1 mode mask <a href="https://redirect.github.com/python-pillow/Pillow/issues/8112">#8112</a>
[radarhere]</p>
</li>
<li>
<p>When saving multiple PNG frames, convert to mode rather than raw mode <a href="https://redirect.github.com/python-pillow/Pillow/issues/8087">#8087</a>
[radarhere]</p>
</li>
<li>
<p>Added byte support to FreeTypeFont <a href="https://redirect.github.com/python-pillow/Pillow/issues/8141">#8141</a>
[radarhere]</p>
</li>
<li>
<p>Allow float center for rotate operations <a href="https://redirect.github.com/python-pillow/Pillow/issues/8114">#8114</a>
[radarhere]</p>
</li>
<li>
<p>Do not read layers immediately when opening PSD images <a href="https://redirect.github.com/python-pillow/Pillow/issues/8039">#8039</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/9b4fae77178e827ab17118fbc89c739ffd6a0fab"><code>9b4fae7</code></a> 10.4.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/b55d74bcfe4b4e69a64d09c785552af8dc9f013d"><code>b55d74b</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/8daf550b7d6576056461387e427123f4c1f43da0"><code>8daf550</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/8178">#8178</a> from radarhere/imageshow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/c6d8c58b6de29555ca16f5be03bb9408f981aa36"><code>c6d8c58</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7965">#7965</a> from Yay295/patch-3</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/c9ec76aa0db65b52c96dd3973a755367a9c41755"><code>c9ec76a</code></a> Raise FileNotFoundError if show_file() path does not exist</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/b48d17565652d9537bacb910101ad1ef9f56811a"><code>b48d175</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/4d6dff34dba82846c83d6e584bbc110ae0d8acca"><code>4d6dff3</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/8031">#8031</a> from radarhere/imagingcms_modes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/70b3815a3775a09aaaa91861dc25da2269fc2749"><code>70b3815</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/8127">#8127</a> from radarhere/multiple_exif_markers</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/88cd6d41eff702ac83300807b097f6044b665025"><code>88cd6d4</code></a> Rearranged comments</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/41426a6f74af2f87863ddc47c66a19eceba5f7a8"><code>41426a6</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/8110">#8110</a> from radarhere/exififd</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.3.0...10.4.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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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>
Description
•