From 8e0f3724c1dd72446aa44936772f0d291979e876 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 17 Oct 2025 15:53:15 +0800 Subject: [PATCH 1/2] Allow use of Pillow wheels on Python 3.14. --- .github/workflows/ci.yml | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b9a419..c12b2da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: - backend: iOS runs-on: macos-latest briefcase-target: "iOS" - briefcase-run-args: ' -d "iPhone SE (3rd generation)::iOS 18.5"' + briefcase-run-args: ' -d "iPhone 16e::iOS 18.5"' - backend: android runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 00309ef..b1d88fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,10 +31,10 @@ requires = [ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \ or (platform_system == 'iOS' and python_version < '3.14') \ or (platform_system == 'Android' and python_version < '3.14')""", - # pillow not available anywhere on 3.14. 11.3.0 wheel is known bad on iOS. + # pillow not available anywhere on 3.15, or on Android for 3.14+. 11.3.0 wheel is known bad on iOS. """pillow != 11.3.0; \ - (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \ - or (platform_system == 'iOS' and python_version < '3.14') \ + (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.15') \ + or (platform_system == 'iOS' and python_version < '3.15') \ or (platform_system == 'Android' and python_version < '3.14')""", # pyspamum has 3.13 wheels on iOS and Android; and no wheels on Windows # On Linux, we need to restrict the test to Python3.13+, because Android reports From ab120e012dec40f68d96ca197d81386532cfcba6 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 20 Oct 2025 08:46:21 +0800 Subject: [PATCH 2/2] Remove version exclusion for Pillow. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b1d88fc..cc60d07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,8 +31,8 @@ requires = [ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \ or (platform_system == 'iOS' and python_version < '3.14') \ or (platform_system == 'Android' and python_version < '3.14')""", - # pillow not available anywhere on 3.15, or on Android for 3.14+. 11.3.0 wheel is known bad on iOS. - """pillow != 11.3.0; \ + # pillow not available anywhere on 3.15, or on Android for 3.14+. + """pillow; \ (platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.15') \ or (platform_system == 'iOS' and python_version < '3.15') \ or (platform_system == 'Android' and python_version < '3.14')""",