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.5 to <=10.2.0 #427

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Updates the requirements on pillow to permit the latest version.

Release notes

Sourced from pillow's releases.

10.2.0

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

Changes

... (truncated)

Changelog

Sourced from pillow's changelog.

10.2.0 (2024-01-02)

  • Add keep_rgb option when saving JPEG to prevent conversion of RGB colorspace #7553 [bgilbert, radarhere]

  • Trim glyph size in ImageFont.getmask() #7669, #7672 [radarhere, nulano]

  • Deprecate IptcImagePlugin helpers #7664 [nulano, hugovk, radarhere]

  • Allow uncompressed TIFF images to be saved in chunks #7650 [radarhere]

  • Concatenate multiple JPEG EXIF markers #7496 [radarhere]

  • Changed IPTC tile tuple to match other plugins #7661 [radarhere]

  • Do not assign new fp attribute when exiting context manager #7566 [radarhere]

  • Support arbitrary masks for uncompressed RGB DDS images #7589 [radarhere, akx]

  • Support setting ROWSPERSTRIP tag #7654 [radarhere]

  • Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask() #7662 [radarhere]

  • Optimise ImageColor using functools.lru_cache #7657 [hugovk]

  • Restricted environment keys for ImageMath.eval() #7655 [wiredfool, radarhere]

  • Optimise ImageMode.getmode using functools.lru_cache #7641 [hugovk, radarhere]

  • Fix incorrect color blending for overlapping glyphs #7497 [ZachNagengast, nulano, radarhere]

  • Attempt memory mapping when tile args is a string #7565 [radarhere]

  • Fill identical pixels with transparency in subsequent frames when saving GIF #7568 [radarhere]

... (truncated)

Commits
  • 6956d0b 10.2.0 version bump
  • 31c8dac Merge pull request #7675 from python-pillow/pre-commit-ci-update-config
  • 40a3f91 Merge pull request #7674 from nulano/url-example
  • cb41b0c [pre-commit.ci] pre-commit autoupdate
  • de62b25 fix image url in "Reading from URL" example
  • 7c526a6 Update CHANGES.rst [ci skip]
  • d93a5ad Merge pull request #7553 from bgilbert/jpeg-rgb
  • aed764f Update CHANGES.rst [ci skip]
  • f8df530 Merge pull request #7672 from nulano/imagefont-negative-crop
  • 24e9485 Merge pull request #7671 from radarhere/imagetransform
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

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@1.0...10.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 8, 2024
@daenney
Copy link
Collaborator

daenney commented Jan 8, 2024

This breaks the docs due to:

DeprecationWarning: textsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use textbbox or textlength instead

dot code 'seqdiag {\n    Client -> Consumer [label = "start dance"];\n    Client <- Consumer [label = "redirect to provider,\\nwith secret, scopes, & state"];\n    Client -> Provider [label = "follow redirect", rightnote="user\\ngrants\\n consent"];\n    Client <- Provider [label = "redirect to consumer, with authorization code and state"];\n    Client -> Consumer [label = "follow redirect"];\n    Consumer --> Provider [label = "send secret and\\nauthorization code"];\n    Consumer <-- Provider [label = "return access token"];\n    Client <-- Consumer [label = "render page or redirect"];\n}': 'ImageDraw' object has no attribute 'textsize'

Since Pillow is just a docs dependency there's no urgency to fix this. I'm guessing it needs a sphinxcontrib-seqdiag upgrade first to resolve this.

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.

1 participant