-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugdependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Problem
The package installation fails on Python 3.13 with the following error during Pillow 9.2.0 build:
KeyError: '__version__'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
Root Cause
Pillow 9.2.0 (released July 2022) does not support Python 3.13. The error occurs because Pillow's setup.py tries to read __version__ from a module in a way that is incompatible with Python 3.13.
Solution
Upgrade Pillow from version 9.2.0 to 10.1.0 or newer. Pillow 10.1.0 (released October 2023) includes full Python 3.13 support.
Files to Update:
requirements.txt: ChangePillow==9.2.0toPillow==10.1.0requirements-webapp.txt: ChangePillow==9.2.0toPillow==10.1.0
Additional Context
This issue affects installation via Ansible on systems running Python 3.13. The error appears during the pip install process when building wheels for the opwen_email_client package.
A pull request with the fix will follow.
Metadata
Metadata
Assignees
Labels
bugdependenciesPull requests that update a dependency filePull requests that update a dependency file