Skip to content

Commit be25b0e

Browse files
author
hauntsaninja
committed
stubtest: test against 3.11
1 parent 87abd8a commit be25b0e

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.github/workflows/daily.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
# macos-11 does not have tcl/tk installed, needed for stubtesting tkinter
2323
os: ["ubuntu-latest", "windows-latest", "macos-10.15"]
24-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
24+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
2525
fail-fast: false
2626

2727
steps:

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
matrix:
9797
# macos-11 does not have tcl/tk installed, needed for stubtesting tkinter
9898
os: ["ubuntu-latest", "windows-latest", "macos-10.15"]
99-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
99+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
100100
fail-fast: false
101101

102102
steps:

tests/stubtest_allowlists/py311.txt

Whitespace-only changes.

tests/stubtest_stdlib.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def run_stubtest(typeshed_dir: Path) -> int:
3131
str(allowlist_dir / "py3_common.txt"),
3232
"--allowlist",
3333
str(allowlist_dir / version_allowlist),
34+
"--generate-allowlist",
3435
]
3536
if ignore_unused_allowlist:
3637
cmd += ["--ignore-unused-allowlist"]

0 commit comments

Comments
 (0)