Update Pillow to 10.1.0 for Python 3.13 compatibility#606
Open
dahagag wants to merge 8 commits intoascoderu:masterfrom
Open
Update Pillow to 10.1.0 for Python 3.13 compatibility#606dahagag wants to merge 8 commits intoascoderu:masterfrom
dahagag wants to merge 8 commits intoascoderu:masterfrom
Conversation
- Upgrade Pillow from 9.2.0 to 10.1.0 in requirements.txt - Upgrade Pillow from 9.2.0 to 10.1.0 in requirements-webapp.txt - Fixes installation errors on Python 3.13 - Pillow 10.1.0 includes full Python 3.13 support Fixes ascoderu#605
- Switch from PyPI dependency mkwvconf==0.1.1 to GitHub dev branch - Resolves mkwvconf installation issues with fixed python_requires - Ensures compatibility with Pillow 10.1.0 and Python 3.13 - Dev branch includes fixes for invalid python_requires specification
- Upgrade environs from 9.5.0 to 11.0.0 for marshmallow 4.x compatibility - Fixes AttributeError: module 'marshmallow' has no attribute '__version_info__' - environs 9.5.0 accessed removed __version_info__ attribute in marshmallow 4.x - Resolves Ansible deployment error when creating Lokole admin user
- Pillow 10.1.0 doesn't have pre-built wheels for Python 3.13 - This causes build failures with KeyError: '__version__' on ARM64 - Pillow 10.4.0 has proper Python 3.13 support with pre-built wheels
- Babel 2.10.3 imports from cgi module which was removed in Python 3.13 - This caused 'ModuleNotFoundError: No module named cgi' in pybabel - Babel 2.13.1 replaced cgi usage with email.message for Python 3.13 support
added 3 commits
December 13, 2025 16:09
Signed-off-by: Mohamad Hagag <mabuelhagag@uplandsoftware.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates Pillow from version 9.2.0 to 10.1.0 to fix installation failures on Python 3.13.
Changes
requirements.txt:Pillow==9.2.0→Pillow==10.1.0requirements-webapp.txt:Pillow==9.2.0→Pillow==10.1.0Problem
The package installation fails on Python 3.13 with a
KeyError: '__version__'error during the Pillow 9.2.0 build process. This occurs because Pillow 9.2.0'ssetup.pyis incompatible with Python 3.13.Solution
Pillow 10.1.0 (released October 2023) includes full Python 3.13 support and resolves the installation issue.
Testing
✅ Tested in virtual environment with Python 3.12 - installation successful with Pillow 10.1.0
mkwvconf==0.1.1. This will need to be addressed in a separate PR. See issue #605 for details.Fixes #605