Skip to content

Commit 6868eee

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

File tree

10 files changed

+498
-16
lines changed

10 files changed

+498
-16
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: 14 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
@@ -163,3 +165,15 @@ unicodedata.UCD.is_normalized
163165
xml.parsers.expat.XMLParserType.SkippedEntityHandler
164166
xml.parsers.expat.XMLParserType.intern
165167
xml.sax.handler.LexicalHandler
168+
169+
# Side effects from module initialization
170+
_compat_pickle.excname
171+
email.contentmanager.maintype
172+
email.contentmanager.subtype
173+
inspect.k
174+
inspect.mod_dict
175+
inspect.v
176+
json.encoder.i
177+
lib2to3.pgen2.grammar.line
178+
lib2to3.pgen2.grammar.name
179+
lib2to3.pgen2.grammar.op

0 commit comments

Comments
 (0)