8000 Run stubtest on stubs on different platforms by sobolevn · Pull Request #8923 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Run stubtest on stubs on different platforms #8923

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

Merged
merged 31 commits into from
Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
61deba6
Run stubtest on stubs on different platforms
sobolevn Oct 18, 2022
0a96d99
Fix CI
sobolevn Oct 18, 2022
8149e3c
Fix CI
sobolevn Oct 18, 2022
7d364f7
Fix CI
sobolevn Oct 18, 2022
1a9af3a
Address review
sobolevn Oct 19, 2022
f00714a
Run daily on differeny platforms
sobolevn Oct 19, 2022
3f31bed
Fix daily run
sobolevn Oct 19, 2022
8eb0c83
Merge branch 'master' into run-stubs-on-different-platforms
AlexWaygood Oct 19, 2022
c8650b3
Rename `stubtest` files
sobolevn Oct 19, 2022
770c5aa
Merge branch 'run-stubs-on-different-platforms' of https://github.com…
sobolevn Oct 19, 2022
fdf13bb
Add platform-specific allowlists for stubs
sobolevn Oct 19, 2022
c84fe27
Fix CI
sobolevn Oct 19, 2022
40a4c50
Fix CI
sobolevn Oct 19, 2022
025568b
Try `Pillow~=7.1.2`
sobolevn Oct 19, 2022
c8b6472
Skip `D3DShot`
sobolevn Oct 19, 2022
21eb994
Revert `win32` change
sobolevn Oct 19, 2022
ac06a7c
Fix CI
sobolevn Oct 24, 2022
081ebba
Merge branch 'master' into run-stubs-on-different-platforms
sobolevn Oct 24, 2022
0be8c9b
Address review
sobolevn Oct 25, 2022
ec000eb
Merge branch 'run-stubs-on-different-platforms' of https://github.com…
sobolevn Oct 25, 2022
3bb8296
Update CONTRIBUTING.md
sobolevn Oct 26, 2022
870daa6
Merge main
sobolevn Nov 9, 2022
c4f86da
Fix allowlist of win32
sobolevn Nov 9, 2022
183ea56
Merge branch 'main' into run-stubs-on-different-platforms
AlexWaygood Nov 9, 2022
a6b1cab
Update stubtest_allowlist_win32.txt
sobolevn Nov 9, 2022
bf2f10e
Update tests/get_packages.py
sobolevn Nov 9, 2022
578f619
Merge remote-tracking branch 'origin/main' into run-stubs-on-differen…
AlexWaygood Nov 11, 2022
7df5a1f
Delete unused allowlist entries
AlexWaygood Nov 11, 2022
949bf46
Update CONTRIBUTING.md
sobolevn Nov 11, 2022
faac1be
Apply suggestions from code review
sobolevn Nov 11, 2022
9464335
Add TODO comment back
AlexWaygood Nov 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
sobolevn and AlexWaygood authored Nov 11, 2022
commit faac1be5cc4b06b62b4f04c6c2b3875f03e7d2df
6 changes: 3 additions & 3 deletions .github/workflows/stubtest_third_party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
run: |
STUBS=$(
git diff --name-only origin/${{ github.base_ref }} HEAD |
# Uncomment the following to (very slowly) run on all third party stubs:
# git ls-files |
# Use the daily.yml workflow to run stubtest on all third party stubs
egrep ^stubs/ | cut -d "/" -f 2 | sort -u | (while read stub; do [ -d stubs/$stub ] && echo $stub || true; done)
)

Expand All @@ -58,11 +57,12 @@ jobs:
fi

if [ "${{ matrix.os }}" = "macos-latest" ]; then
# TODO: install brew packages
# Could install brew packages here if we run into stubs that need it
python tests/stubtest_third_party.py $STUBS
fi

if [ "${{ matrix.os }}" = "windows-latest" ]; then
# Could install choco packages here if we run into stubs that need it
python tests/stubtest_third_party.py $STUBS
fi
else
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ This has the following keys:
usually packages needed to pip install the implementation distribution.
* `platforms` (default: `["linux"]`): A list of OSes on which to run stubtest.
Can contain `win32`, `linux`, and `darwin` values.
If not specified, tests are run only on `linux`.
If not specified, stubtest is run only on `linux`.
Only add extra OSes to the test
if there are platform-specific branches in a stubs package.

Expand Down
1 change: 0 additions & 1 deletion stubs/D3DShot/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ version = "0.1.*"
requires = ["types-Pillow"]

[tool.stubtest]
# TODO: re-enable
skip = true
platforms = ["win32"]
0