Skip to content

Commit 1279d24

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

File tree

10 files changed

+438
-4
lines changed

10 files changed

+438
-4
lines changed

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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/py310.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ distutils.dist.DistributionMetadata.set_keywords
150150
distutils.dist.DistributionMetadata.set_platforms
151151
distutils.util.get_host_platform
152152
functools.partial.__vectorcalloffset__ # undocumented implementation detail
153+
inspect.Signature.from_builtin # Removed in 3.11, can add if someone needs this
154+
inspect.Signature.from_function # Removed in 3.11, can add if someone needs this
153155
multiprocessing.managers.SharedMemoryServer.create
154156
multiprocessing.managers.SharedMemoryServer.list_segments
155157
multiprocessing.managers.SharedMemoryServer.public

0 commit comments

Comments
 (0)