Skip to content

Commit 2e7da07

Browse files
authored
Merge pull request #8514 from hugovk/tests-trove-extra
Add trove-classifiers>=2024.10.12 to 'tests' extra and use for Windows CI
2 parents 2e09d7a + e5f2874 commit 2e7da07

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/workflows/test-windows.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,14 @@ jobs:
7373
- name: Print build system information
7474
run: python3 .github/workflows/system-info.py
7575

76-
- name: Install Python dependencies
77-
run: >
78-
python3 -m pip install
79-
coverage>=7.4.2
80-
defusedxml
81-
olefile
82-
pyroma
83-
pytest
84-
pytest-cov
85-
pytest-timeout
76+
- name: Upgrade pip
77+
run: |
78+
python3 -m pip install --upgrade pip
8679
8780
- name: Install CPython dependencies
8881
if: "!contains(matrix.python-version, 'pypy')"
89-
run: >
90-
python3 -m pip install
91-
PyQt6
82+
run: |
83+
python3 -m pip install PyQt6
9284
9385
- name: Install dependencies
9486
id: install
@@ -188,7 +180,7 @@ jobs:
188180
- name: Build Pillow
189181
run: |
190182
$FLAGS="-C raqm=vendor -C fribidi=vendor"
191-
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS ."
183+
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests]"
192184
& $env:pythonLocation\python.exe selftest.py --installed
193185
shell: pwsh
194186

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ optional-dependencies.mic = [
5656
]
5757
optional-dependencies.tests = [
5858
"check-manifest",
59-
"coverage",
59+
"coverage>=7.4.2",
6060
"defusedxml",
6161
"markdown2",
6262
"olefile",
@@ -65,6 +65,7 @@ optional-dependencies.tests = [
6565
"pytest",
6666
"pytest-cov",
6767
"pytest-timeout",
68+
"trove-classifiers>=2024.10.12",
6869
]
6970
optional-dependencies.typing = [
7071
"typing-extensions; python_version<'3.10'",

0 commit comments

Comments
 (0)