Skip to content

Commit

Permalink
Merge pull request #8514 from hugovk/tests-trove-extra
Browse files Browse the repository at this point in the history
Add trove-classifiers>=2024.10.12 to 'tests' extra and use for Windows CI
  • Loading branch information
radarhere authored Nov 6, 2024
2 parents 2e09d7a + e5f2874 commit 2e7da07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,14 @@ jobs:
- name: Print build system information
run: python3 .github/workflows/system-info.py

- name: Install Python dependencies
run: >
python3 -m pip install
coverage>=7.4.2
defusedxml
olefile
pyroma
pytest
pytest-cov
pytest-timeout
- name: Upgrade pip
run: |
python3 -m pip install --upgrade pip
- name: Install CPython dependencies
if: "!contains(matrix.python-version, 'pypy')"
run: >
python3 -m pip install
PyQt6
run: |
python3 -m pip install PyQt6
- name: Install dependencies
id: install
Expand Down Expand Up @@ -188,7 +180,7 @@ jobs:
- name: Build Pillow
run: |
$FLAGS="-C raqm=vendor -C fribidi=vendor"
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS ."
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests]"
& $env:pythonLocation\python.exe selftest.py --installed
shell: pwsh

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ optional-dependencies.mic = [
]
optional-dependencies.tests = [
"check-manifest",
"coverage",
"coverage>=7.4.2",
"defusedxml",
"markdown2",
"olefile",
Expand All @@ -65,6 +65,7 @@ optional-dependencies.tests = [
"pytest",
"pytest-cov",
"pytest-timeout",
"trove-classifiers>=2024.10.12",
]
optional-dependencies.typing = [
"typing-extensions; python_version<'3.10'",
Expand Down

0 comments on commit 2e7da07

Please sign in to comment.