-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trove-classifiers>=2024.10.12 to 'tests' extra and use for Windows CI #8514
Changes from 2 commits
67c2e04
0bf15f0
5628213
b11aec3
042f3ff
e5f2874
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,22 +69,11 @@ 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: Install CPython dependencies | ||
if: "!contains(matrix.python-version, 'pypy')" | ||
run: > | ||
python3 -m pip install | ||
PyQt6 | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not run on PyPy, only CPython. Maybe that is causing the issue? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's see! It makes sense to upgrade for both anyway. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, passing now, thanks :) |
||
python3 -m pip install PyQt6 | ||
|
||
- name: Install dependencies | ||
id: install | ||
|
@@ -184,7 +173,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 | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to call it out, there is a difference between this and
Pillow/pyproject.toml
Lines 57 to 59 in 82199ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
coverage
vscoverage>=7.4.2
: before, theoretically we could have installed coverage older than 7.4.2 here. I think that was unlikely and it's safer to require the newer version.check-manifest
: we don't need that here. I see little harm in installing it here. It's in thetests
extra because it's used bymake release-test
. If we do want to keep this env "cleaner", we could remove it from thetests
extra and put it in something like arelease-test
extra.Relatedly, PEP 735 was accepted recently to define something called "dependency groups". These are like extras, but you can install a dependency group without having to also install Pillow as well.
tox and some other tools already support it, but not yet pip. We could look into using it when pip is ready.