From a6924bdcfae495f50efef1013c2a32754806431c Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Wed, 1 Jun 2022 02:28:40 -0700 Subject: [PATCH] Fix CI for Python 3.11 beta 2 (#8005) Co-authored-by: hauntsaninja <> --- tests/stubtest_allowlists/py311.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/stubtest_allowlists/py311.txt b/tests/stubtest_allowlists/py311.txt index 7b99da0c0..5a149055a 100644 --- a/tests/stubtest_allowlists/py311.txt +++ b/tests/stubtest_allowlists/py311.txt @@ -59,7 +59,6 @@ multiprocessing.managers.SharedMemoryServer.track_segment multiprocessing.spawn._main operator.attrgetter.__vectorcalloffset__ operator.itemgetter.__vectorcalloffset__ -os.popen # platform.uname_result's processor field is now dynamically made to exist platform.uname_result.__match_args__ platform.uname_result.__new__ @@ -84,6 +83,21 @@ unittest.doModuleCleanups weakref.WeakValueDictionary.update xmlrpc.server.SimpleXMLRPCRequestHandler.rpc_paths +re.RegexFlag.T +re.RegexFlag.TEMPLATE +re.template +sre_compile.SRE_FLAG_TEMPLATE +sre_constants.SRE_FLAG_TEMPLATE +sre_parse.SRE_FLAG_TEMPLATE +unittest.IsolatedAsyncioTestCase.enterAsyncContext +unittest.TestCase.enterClassContext +unittest.TestCase.enterContext +unittest.enterModuleContext +unittest.async_case.IsolatedAsyncioTestCase.enterAsyncContext +unittest.case.TestCase.enterClassContext +unittest.case.TestCase.enterContext +unittest.case.enterModuleContext + # stubtest complains that in 3.10 the default argument is inconsistent with the annotation, # but in 3.10+ calling the function without the default argument is in fact deprecated, # so it's better to ignore stubtest