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

Update pillow requirement from <9.0.0,>=8.4.0 to >=8.4.0,<10.0.0 #376

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2022

Updates the requirements on pillow to permit the latest version.

Release notes

Sourced from pillow's releases.

9.0.0

https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html

Changes

... (truncated)

Changelog

Sourced from pillow's changelog.

9.0.0 (2022-01-02)

  • Restrict builtins for ImageMath.eval(). CVE-2022-22817 #5923 [radarhere]

  • Ensure JpegImagePlugin stops at the end of a truncated file #5921 [radarhere]

  • Fixed ImagePath.Path array handling. CVE-2022-22815, CVE-2022-22816 #5920 [radarhere]

  • Remove consecutive duplicate tiles that only differ by their offset #5919 [radarhere]

  • Improved I;16 operations on big endian #5901 [radarhere]

  • Limit quantized palette to number of colors #5879 [radarhere]

  • Fixed palette index for zeroed color in FASTOCTREE quantize #5869 [radarhere]

  • When saving RGBA to GIF, make use of first transparent palette entry #5859 [radarhere]

  • Pass SAMPLEFORMAT to libtiff #5848 [radarhere]

  • Added rounding when converting P and PA #5824 [radarhere]

  • Improved putdata() documentation and data handling #5910 [radarhere]

  • Exclude carriage return in PDF regex to help prevent ReDoS #5912 [hugovk]

  • Fixed freeing pointer in ImageDraw.Outline.transform #5909 [radarhere]

  • Added ImageShow support for xdg-open #5897 [m-shinder, radarhere]

  • Support 16-bit grayscale ImageQt conversion #5856 [cmbruns, radarhere]

  • Convert subsequent GIF frames to RGB or RGBA #5857 [radarhere]

... (truncated)

Commits

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 dependabot bot added the dependencies Pull requests that update a dependency file label Jan 19, 2022
@alessiamarcolini
Copy link
Collaborator

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/pillow-gte-8.4.0-and-lt-10.0.0 branch from 82ae07e to 850fc75 Compare January 20, 2022 14:39
@ernestoarbitrio
Copy link
Member

@alessiamarcolini myabe the failure is related to this PR https://github.com/python-pillow/Pillow/pull/5694/files?

Updates the requirements on [pillow](https://github.com/python-pillow/Pillow) to permit the latest version.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.4.0...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@alessiamarcolini alessiamarcolini force-pushed the dependabot/pip/pillow-gte-8.4.0-and-lt-10.0.0 branch from 850fc75 to 9c5e068 Compare May 5, 2022 10:18
@alessiamarcolini
Copy link
Collaborator

alessiamarcolini commented May 5, 2022

I opened an issue to point out the regression: python-pillow/Pillow#6275

From the discussion, it seems like the correct behavior is the one provided in the new version.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 6, 2022

A newer version of pillow exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #376 (a2b740c) into master (43ce6ab) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #376   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1433      1433           
  Branches       223       223           
=========================================
  Hits          1433      1433           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43ce6ab...a2b740c. Read the comment docs.

@alessiamarcolini alessiamarcolini merged commit 1dffe88 into master May 6, 2022
@alessiamarcolini alessiamarcolini deleted the dependabot/pip/pillow-gte-8.4.0-and-lt-10.0.0 branch May 6, 2022 15:05
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants