Skip to content

[Snyk] Security upgrade pillow from 8.3.2 to 12.3.0#12955

Open
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-9cc2d968ecffa42e3885861258a592c8
Open

[Snyk] Security upgrade pillow from 8.3.2 to 12.3.0#12955
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-9cc2d968ecffa42e3885861258a592c8

Conversation

@sestinj

@sestinj sestinj commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • manual-testing-sandbox/requirements.txt
⚠️ Warning
typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you have click 8.1.8.
thinc 8.0.17 requires cymem, which is not installed.
thinc 8.0.17 requires preshed, which is not installed.
thinc 8.0.17 requires murmurhash, which is not installed.
spacy 3.1.2 requires preshed, which is not installed.
spacy 3.1.2 requires murmurhash, which is not installed.
spacy 3.1.2 requires cymem, which is not installed.
qtconsole 5.4.4 requires pyzmq, which is not installed.
notebook 6.5.7 requires pyzmq, which is not installed.
matplotlib 3.4.3 requires pillow, which is not installed.
jupyter-server 1.24.0 requires pyzmq, which is not installed.
jupyter-console 6.6.3 requires pyzmq, which is not installed.
jupyter-client 7.4.9 requires pyzmq, which is not installed.
ipykernel 6.16.2 requires pyzmq, which is not installed.
exceptiongroup 1.3.1 has requirement typing-extensions>=4.6.0; python_version < "3.13", but you have typing-extensions 3.10.0.2.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@sestinj sestinj requested a review from a team as a code owner July 7, 2026 08:40
@sestinj

sestinj commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This is a major version upgrade from 8.3.2 to 12.3.0, which includes several significant breaking changes across versions 9.0.0, 10.0.0, 11.0.0, and 12.0.0.

Key Breaking Changes:

  • Python Version Support Dropped:

    • v9.0.0: Dropped support for Python 3.6.
    • v10.0.0: Dropped support for Python 3.7.
    • v11.0.0: Dropped support for Python 3.8.
    • v12.0.0: Dropped support for Python 3.9.
      Your environment must be running Python 3.10 or newer.
  • Removed Deprecated Items (v10.0.0): A large number of deprecated functions and methods were removed in version 10.0.0. Some of the most common ones include:

    • Image.fromstring() and Image.tostring(): Use Image.frombytes() and Image.tobytes() instead.
    • ImageDraw.textsize() and ImageDraw.multiline_textsize(): Use ImageDraw.textlength() and ImageDraw.multiline_textlength() instead.
    • ImageFont.getsize() and ImageFont.getmask().
    • The PILLOW_VERSION constant has been removed; use __version__ instead.
  • Other Notable Removals:

    • v11.0.0: PyAccess and Image.USE_CFFI_ACCESS have been removed.
    • v12.0.0: ImageFile.raise_os_error() has been removed.

Recommendation:
This upgrade is high-risk due to the multiple major versions and the extensive list of removed functions and dropped Python version support. Before merging, developers must:

  1. Ensure the project is running on Python 3.10 or a newer version.
  2. Thoroughly review the code for usage of any of the removed functions, especially those from the v10.0.0 cleanup, and refactor them to use their modern equivalents.
  3. Consult the official release notes for versions 9.0.0, 10.0.0, 11.0.0, and 12.0.0 for a complete list of changes.

Source: Pillow Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants