Skip to content

Commit 1c4f29f

Browse files
committed
Test the oldest Python on 32-bit Windows 2019
1 parent 327e13f commit 1c4f29f

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/test-windows.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,20 @@ env:
3131

3232
jobs:
3333
build:
34-
runs-on: windows-latest
34+
runs-on: ${{ matrix.os }}
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
38+
python-version: ["pypy3.10", "3.10", "3.11", "3.12", "3.13"]
39+
architecture: ["x64"]
40+
os: ["windows-latest"]
41+
include:
42+
# Test the oldest Python on 32-bit
43+
- { python-version: "3.9", architecture: "x86", os: "windows-2019" }
3944

4045
timeout-minutes: 30
4146

42-
name: Python ${{ matrix.python-version }}
47+
name: Python ${{ matrix.python-version }} (${{ matrix.architecture }})
4348

4449
steps:
4550
- name: Checkout Pillow
@@ -63,6 +68,7 @@ jobs:
6368
with:
6469
python-version: ${{ matrix.python-version }}
6570
allow-prereleases: true
71+
architecture: ${{ matrix.architecture }}
6672
cache: pip
6773
cache-dependency-path: ".github/workflows/test-windows.yml"
6874

@@ -81,7 +87,7 @@ jobs:
8187
pytest-timeout
8288
8389
- name: Install CPython dependencies
84-
if: "!contains(matrix.python-version, 'pypy')"
90+
if: "!contains(matrix.python-version, 'pypy') && matrix.architecture != 'x86'"
8591
run: >
8692
python3 -m pip install
8793
PyQt6

docs/installation/platform-support.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ These platforms are built and tested for every change.
4848
| Ubuntu Linux 24.04 LTS (Noble) | 3.12 | x86-64, ppc64le, |
4949
| | | s390x |
5050
+----------------------------------+----------------------------+---------------------+
51-
| Windows Server 2019 | 3.9 | x86-64 |
51+
| Windows Server 2019 | 3.9 | x86 |
5252
+----------------------------------+----------------------------+---------------------+
5353
| Windows Server 2022 | 3.9, 3.10, 3.11, | x86-64 |
5454
| | 3.12, 3.13, PyPy3 | |
5555
| +----------------------------+---------------------+
56-
| | 3.13 | x86 |
57-
| +----------------------------+---------------------+
5856
| | 3.9 (MinGW) | x86-64 |
5957
| +----------------------------+---------------------+
6058
| | 3.9 (Cygwin) | x86-64 |

0 commit comments

Comments
 (0)