Use latest Python for stubtest in CI (#10641)

This commit is contained in:
Alex Waygood
2023-08-30 17:50:11 +01:00
committed by GitHub
parent a785041250
commit 4ae6d38f96
13 changed files with 35 additions and 12 deletions

View File

@@ -28,3 +28,6 @@ xxlimited.Xxo.x_exports
(locale.dgettext)?
(locale.gettext)?
(locale.textdomain)?
# should be removable once 3.12.0rc2 is released:
posix.lseek

View File

@@ -44,3 +44,6 @@ tty.__all__
tty.cfmakecbreak
tty.cfmakeraw
xxlimited.Xxo.x_exports
# should be removable once 3.12.0rc2 is released:
posix.lseek

View File

@@ -160,3 +160,5 @@ asynchat.async_chat.use_encoding
asynchat.find_prefix_at_end
pkgutil.ImpImporter\..*
pkgutil.ImpLoader\..*
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime

View File

@@ -173,3 +173,7 @@ typing\._SpecialForm.*
typing\.NamedTuple
typing\.LiteralString
typing\.Annotated
# These two should be removable after 3.12rc2 is released:
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime
os.lseek # a pos-only parameter name changed in py311/py312

View File

@@ -158,3 +158,5 @@ asynchat.async_chat.use_encoding
asynchat.find_prefix_at_end
pkgutil.ImpImporter\..*
pkgutil.ImpLoader\..*
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime

View File

@@ -149,3 +149,5 @@ asynchat.async_chat.use_encoding
asynchat.find_prefix_at_end
pkgutil.ImpImporter\..*
pkgutil.ImpLoader\..*
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime

View File

@@ -659,5 +659,3 @@ typing(_extensions)?\.IO\.__iter__ # See https://github.com/python/typeshed/com
# Omit internal _KEEP argument
tarfile.TarInfo.replace
types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime