Skip to content

fix(deps): update dependency pillow to v11 #812

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

Merged
merged 3 commits into from
Apr 18, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pillow (changelog) >=10.3.0,<11.0.0 -> >=11.2.1,<11.3.0 age adoption passing confidence

Release Notes

python-pillow/Pillow (pillow)

v11.2.1

Compare Source

v11.1.0

Compare Source

See GitHub Releases:

v11.0.0

Compare Source

  • Update licence to MIT-CMU #​8460
    [hugovk]

  • Conditionally define ImageCms type hint to avoid requiring core #​8197
    [radarhere]

  • Support writing LONG8 offsets in AppendingTiffWriter #​8417
    [radarhere]

  • Use ImageFile.MAXBLOCK when saving TIFF images #​8461
    [radarhere]

  • Do not close provided file handles with libtiff when saving #​8458
    [radarhere]

  • Support ImageFilter.BuiltinFilter for I;16* images #​8438
    [radarhere]

  • Use ImagingCore.ptr instead of ImagingCore.id #​8341
    [homm, radarhere, hugovk]

  • Updated EPS mode when opening images without transparency #​8281
    [Yay295, radarhere]

  • Use transparency when combining P frames from APNGs #​8443
    [radarhere]

  • Support all resampling filters when resizing I;16* images #​8422
    [radarhere]

  • Free memory on early return #​8413
    [radarhere]

  • Cast int before potentially exceeding INT_MAX #​8402
    [radarhere]

  • Check image value before use #​8400
    [radarhere]

  • Improved copying imagequant libraries #​8420
    [radarhere]

  • Use Capsule for WebP saving #​8386
    [homm, radarhere]

  • Fixed writing multiple StripOffsets to TIFF #​8317
    [Yay295, radarhere]

  • Fix dereference before checking for NULL in ImagingTransformAffine #​8398
    [PavlNekrasov]

  • Use transposed size after opening for TIFF images #​8390
    [radarhere, homm]

  • Improve ImageFont error messages #​8338
    [yngvem, radarhere, hugovk]

  • Mention MAX_TEXT_CHUNK limit in PNG error message #​8391
    [radarhere]

  • Cast Dib handle to int #​8385
    [radarhere]

  • Accept float stroke widths #​8369
    [radarhere]

  • Deprecate ICNS (width, height, scale) sizes in favour of load(scale) #​8352
    [radarhere]

  • Improved handling of RGBA palettes when saving GIF images #​8366
    [radarhere]

  • Deprecate isImageType #​8364
    [radarhere]

  • Support converting more modes to LAB by converting to RGBA first #​8358
    [radarhere]

  • Deprecate support for FreeType 2.9.0 #​8356
    [hugovk, radarhere]

  • Removed unused TiffImagePlugin IFD_LEGACY_API #​8355
    [radarhere]

  • Handle duplicate EXIF header #​8350
    [zakajd, radarhere]

  • Return early from BoxBlur if either width or height is zero #​8347
    [radarhere]

  • Check text is either string or bytes #​8308
    [radarhere]

  • Added writing XMP bytes to JPEG #​8286
    [radarhere]

  • Support JPEG2000 RGBA palettes #​8256
    [radarhere]

  • Expand C image to match GIF frame image size #​8237
    [radarhere]

  • Allow saving I;16 images as PPM #​8231
    [radarhere]

  • When IFD is missing, connect get_ifd() dictionary to Exif #​8230
    [radarhere]

  • Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled #​8180
    [radarhere]

  • Treat unknown JPEG2000 colorspace as unspecified #​8343
    [radarhere]

  • Updated error message when saving WebP with invalid width or height #​8322
    [radarhere, hugovk]

  • Remove warning if NumPy failed to raise an error during conversion #​8326
    [radarhere]

  • If left and right sides meet in ImageDraw.rounded_rectangle(), do not draw rectangle to fill gap #​8304
    [radarhere]

  • Remove WebP support without anim, mux/demux, and with buggy alpha #​8213
    [homm, radarhere]

  • Add missing TIFF CMYK;16B reader #​8298
    [homm]

  • Remove all WITH_* flags from _imaging.c and other flags #​8211
    [homm]

  • Improve ImageDraw2 shape methods #​8265
    [radarhere]

  • Lock around usages of imaging memory arenas #​8238
    [lysnikolaou]

  • Deprecate JpegImageFile huffman_ac and huffman_dc #​8274
    [radarhere]

  • Deprecate ImageMath lambda_eval and unsafe_eval options argument #​8242
    [radarhere]

  • Changed ContainerIO to subclass IO #​8240
    [radarhere]

  • Move away from APIs that use borrowed references under the free-threaded build #​8216
    [hugovk, lysnikolaou]

  • Allow size argument to resize() to be a NumPy array #​8201
    [radarhere]

  • Drop support for Python 3.8 #​8183
    [hugovk, radarhere]

  • Add support for Python 3.13 #​8181
    [hugovk, radarhere]

  • Fix incompatibility with NumPy 1.20 #​8187
    [neutrinoceros, radarhere]

  • Remove PSFile, PyAccess and USE_CFFI_ACCESS #​8182
    [hugovk, radarhere]


Configuration

📅 Schedule: Branch creation - "* 0 * * 0" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

sourcery-ai bot commented Apr 11, 2025

Reviewer's Guide by Sourcery

This PR updates the pillow dependency to the latest version (>=11.1.0,<11.2.0) in pyproject.toml and poetry.lock.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated the pillow dependency to the latest version.
  • Updated pillow from version >=10.3.0,<11.0.0 to >=11.1.0,<11.2.0 in pyproject.toml.
  • Updated pillow version in poetry.lock.
pyproject.toml
poetry.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

@renovate renovate bot force-pushed the renovate/pillow-11.x branch from 6bf8d07 to 8809cb8 Compare April 12, 2025 18:39
Copy link
Contributor Author

renovate bot commented Apr 18, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@electron271 electron271 merged commit 44d0d4d into main Apr 18, 2025
9 checks passed
@electron271 electron271 deleted the renovate/pillow-11.x branch April 18, 2025 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant