Xqt submitted this change.
CI: avoid Pillow source builds on CPython 3.13t
Bug: T432100
Change-Id: If8d4d3a21876437a3ab4127f3a3e8e540dae16eb
---
M requirements.txt
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index 1fab7e6..0798a7f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -44,8 +44,11 @@
# GUI
# Pillow cannot be installed with GraalPy, Python 3.9 or PyPy < 3.11
+# Free-threaded CPython 3.13t has no compatible Pillow wheel yet;
+# prevent falling back to a source build with --only-binary option.
Pillow>=12.2.0; platform_python_implementation == "PyPy" and python_version >= "3.11"
-Pillow>=12.2.0; platform_python_implementation == "CPython" and python_version >= "3.10"
+Pillow>=12.2.0; platform_python_implementation == "CPython" and python_version >= "3.10" and python_version < "3.13"
+Pillow>=12.2.0; platform_python_implementation == "CPython" and python_version >= "3.13" --only-binary Pillow
# core pagegenerators
googlesearch-python >= 1.3.0
To view, visit change 1310548. To unsubscribe, or for help writing mail filters, visit settings.