stubtest: update version, whitelists (#4088)

This is for https://github.com/python/mypy/pull/8886
This commit is contained in:
Shantanu
2020-05-27 01:11:52 -07:00
committed by GitHub
parent 7ac284f641
commit bdb149da78
6 changed files with 105 additions and 5 deletions

View File

@@ -31,22 +31,22 @@ jobs:
script: flake8
- name: "stubtest py38"
python: 3.8
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py37"
python: 3.7
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py36"
python: 3.6
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
- name: "stubtest py35"
python: 3.5
install: pip install -U git+git://github.com/python/mypy@0a05e61a
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py
allow_failures:
- name: "stubtest py39"
python: 3.9-dev
install: pip install -U git+git://github.com/python/mypy
install: pip install -U git+git://github.com/python/mypy@b3d43984
script: ./tests/stubtest_test.py

View File

@@ -20,6 +20,7 @@ cmath.log
codecs.StreamRecoder.seek
collections.Reversible
collections.UserString.maketrans
contextlib._GeneratorContextManager.__init__
ctypes.CDLL.__init__
fractions.Fraction.__new__ # private _normalize param was made keyword-only in Python 3.6
gettext.NullTranslations.npgettext
@@ -43,20 +44,24 @@ multiprocessing.context.BaseContext.reducer
multiprocessing.shared_memory
os.DirEntry
os.utime
plistlib.Dict.__init__
pyexpat.XMLParserType.ExternalEntityParserCreate
smtpd.SMTPChannel.__init__
smtpd.SMTPServer.__init__
socket.NETLINK_CRYPTO
sre_compile.dis
ssl.SSLSocket.__init__
typing.AbstractSet.isdisjoint
typing.Coroutine.cr_await
typing.Coroutine.cr_code
typing.Coroutine.cr_frame
typing.Coroutine.cr_running
typing.Generator.__new__
typing.Generator.gi_code
typing.Generator.gi_frame
typing.Generator.gi_running
typing.Generator.gi_yieldfrom
typing.GenericMeta.__new__
typing.Mapping.get
typing.MutableMapping.pop
typing.MutableMapping.setdefault
@@ -67,6 +72,7 @@ typing.MutableSequence.remove
typing.MutableSet.add
typing.MutableSet.discard
typing.MutableSet.remove
typing.NamedTuple.__new__
typing.Sequence.count
typing.Sequence.index
typing.runtime_checkable

View File

@@ -16,6 +16,7 @@ collections.abc.AsyncGenerator.ag_await
collections.abc.AsyncGenerator.ag_code
collections.abc.AsyncGenerator.ag_frame
collections.abc.AsyncGenerator.ag_running
contextlib._GeneratorContextManager.__init__
copy.PyStringMap
ctypes.CDLL.__init__
email.message.MIMEPart.as_string
@@ -37,10 +38,12 @@ logging.handlers.MemoryHandler.__init__
mmap.ACCESS_DEFAULT
multiprocessing.shared_memory
os.utime
plistlib.Dict.__init__
pyexpat.XMLParserType.ExternalEntityParserCreate
secrets.SystemRandom.getstate
smtplib.SMTP.sendmail
sre_compile.dis
ssl.SSLSocket.__init__
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
typing.AbstractSet.isdisjoint
@@ -52,10 +55,12 @@ typing.Coroutine.cr_await
typing.Coroutine.cr_code
typing.Coroutine.cr_frame
typing.Coroutine.cr_running
typing.Generator.__new__
typing.Generator.gi_code
typing.Generator.gi_frame
typing.Generator.gi_running
typing.Generator.gi_yieldfrom
typing.GenericMeta.__new__
typing.Mapping.get
typing.MutableMapping.pop
typing.MutableMapping.setdefault
@@ -66,6 +71,7 @@ typing.MutableSequence.remove
typing.MutableSet.add
typing.MutableSet.discard
typing.MutableSet.remove
typing.NamedTuple.__new__
typing.Sequence.count
typing.Sequence.index
typing.runtime_checkable

View File

@@ -29,6 +29,7 @@ contextvars.Context.__init__
contextvars.Context.get
copy.PyStringMap
ctypes.CDLL.__init__
dataclasses.Field.__init__
dataclasses.field
email.message.MIMEPart.as_string
enum.Enum._generate_next_value_
@@ -59,6 +60,8 @@ tkinter.Misc.tk_menuBar
types.ClassMethodDescriptorType.__get__
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__
typing._SpecialForm.__init__
typing._SpecialForm.__new__
typing.runtime_checkable
unittest.async_case
urllib.parse.parse_qs

View File

@@ -3,6 +3,11 @@ _thread._ExceptHookArgs
_tracemalloc._get_object_traceback
_tracemalloc.start
_weakref.getweakrefcount
ast.Bytes.__new__
ast.Ellipsis.__new__
ast.NameConstant.__new__
ast.Num.__new__
ast.Str.__new__
asyncio.AbstractEventLoop.sock_sendfile
asyncio.Future.__init__
asyncio.Future._callbacks
@@ -63,6 +68,8 @@ contextvars.Context.get
contextvars.ContextVar.reset
contextvars.ContextVar.set
copy.PyStringMap
dataclasses.Field.__init__
dataclasses.InitVar.__init__
dataclasses.dataclass
dataclasses.field
dataclasses.replace
@@ -92,6 +99,7 @@ lzma.is_check_supported
macpath
macurl2path
mmap.MADV_[A-Z_]+
multiprocessing.managers.SharedMemoryServer.__init__
multiprocessing.pool.CLOSE
multiprocessing.pool.RUN
multiprocessing.pool.TERMINATE
@@ -136,6 +144,16 @@ types.ClassMethodDescriptorType.__get__
types.CodeType.replace
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__
typing.NamedTuple.__new__
typing.SupportsAbs.__init__
typing.SupportsBytes.__init__
typing.SupportsComplex.__init__
typing.SupportsFloat.__init__
typing.SupportsIndex.__init__
typing.SupportsInt.__init__
typing.SupportsRound.__init__
typing._SpecialForm.__init__
typing._SpecialForm.__new__
unittest.TestCase.addCleanup
unittest.case.TestCase.addCleanup
unittest.doModuleCleanups

View File

@@ -1,15 +1,19 @@
__future__._Feature.__init__
_csv.Dialect.__init__
_dummy_threading
_importlib_modulespec
_operator.methodcaller
_posixsubprocess.cloexec_pipe
_threading_local.local.__new__
_types
_weakref.CallableProxyType.__getattr__
_weakref.ProxyType.__getattr__
_weakref.ReferenceType.__call__
abc.ABCMeta.__new__
abc.abstractclassmethod
abc.abstractmethod
abc.abstractstaticmethod
argparse.ArgumentError.__init__
argparse.Namespace.__getattr__
asyncio.BaseEventLoop.subprocess_exec
asyncio.Condition.acquire
@@ -18,11 +22,13 @@ asyncio.Condition.release
asyncio.Task.get_stack
asyncio.Task.print_stack
asyncio.base_events.BaseEventLoop.subprocess_exec
asyncio.base_events.Server.__init__
asyncio.locks.Condition.acquire
asyncio.locks.Condition.locked
asyncio.locks.Condition.release
asyncio.proactor_events.BaseProactorEventLoop.sock_recv
asyncio.selector_events.BaseSelectorEventLoop.sock_recv
asyncio.streams.FlowControlMixin.__init__
asyncio.tasks.Task.get_stack
asyncio.tasks.Task.print_stack
asyncio.windows_events
@@ -50,11 +56,13 @@ builtins.property.fdel
builtins.property.fget
builtins.property.fset
builtins.staticmethod.__get__
bz2.BZ2Decompressor.__init__
bz2.BZ2File.readinto
bz2.BZ2File.readlines
bz2.BZ2File.write
bz2.BZ2File.writelines
codecs.BufferedIncrementalDecoder.decode
codecs.CodecInfo.__new__
codecs.CodecInfo.decode
codecs.CodecInfo.encode
codecs.CodecInfo.incrementaldecoder
@@ -126,7 +134,17 @@ collections.deque.__hash__
concurrent.futures.Executor.map
concurrent.futures._base.Executor.map
concurrent.futures.process.ProcessPoolExecutor.map
configparser.DuplicateOptionError.__init__
configparser.DuplicateSectionError.__init__
configparser.Error.__init__
configparser.InterpolationDepthError.__init__
configparser.InterpolationError.__init__
configparser.InterpolationMissingOptionError.__init__
configparser.LegacyInterpolation.before_get
configparser.MissingSectionHeaderError.__init__
configparser.NoOptionError.__init__
configparser.NoSectionError.__init__
configparser.ParsingError.__init__
configparser.SectionProxy.__getattr__
configparser.SectionProxy.getboolean
configparser.SectionProxy.getfloat
@@ -162,10 +180,13 @@ distutils.command.bdist_packager
distutils.core.Extension.__init__
distutils.debug.DEBUG
distutils.extension.Extension.__init__
distutils.fancy_getopt.OptionDummy.__init__
distutils.filelist.FileList.__init__
distutils.sysconfig.set_python_build
distutils.text_file.TextFile.warn
distutils.version.Version._cmp
distutils.version.Version.parse
email.errors.MessageDefect.__init__
email.feedparser.BytesFeedParser.__init__
email.feedparser.FeedParser.__init__
email.generator.BytesGenerator.__init__
@@ -180,6 +201,7 @@ email.headerregistry.HeaderRegistry.__init__
email.headerregistry.MIMEVersionHeader.parse
email.headerregistry.ParameterizedMIMEHeader.parse
email.headerregistry.UnstructuredHeader.parse
email.message.MIMEPart.__init__
email.message.Message.get_payload
email.message.Message.set_param
email.parser.HeaderParser.__init__
@@ -194,6 +216,9 @@ encodings.utf_8.IncrementalDecoder._buffer_decode
encodings.utf_8.StreamReader.decode
encodings.utf_8.StreamWriter.encode
encodings.utf_8.encode
enum.EnumMeta.__call__
enum.EnumMeta.__new__
getopt.GetoptError.__init__
gettext.GNUTranslations.lngettext
gettext.GNUTranslations.ngettext
gettext.NullTranslations.__init__
@@ -207,15 +232,21 @@ grp.getgrgid
grp.struct_group._asdict
grp.struct_group._make
grp.struct_group._replace
hmac.HMAC.__init__
html.parser.HTMLParser.feed
http.HTTPStatus.description
http.HTTPStatus.phrase
http.client.BadStatusLine.__init__
http.client.HTTPResponse.read1
http.client.HTTPResponse.readinto
http.client.HTTPResponse.readline
http.client.IncompleteRead.__init__
http.client.LineTooLong.__init__
http.client.UnknownProtocol.__init__
http.cookiejar.Cookie.is_expired
http.cookiejar.CookieJar.clear
http.cookiejar.FileCookieJar.__init__
http.cookies.Morsel.__init__
http.cookies.Morsel.setdefault
http.cookies.Morsel.update
http.server.HTTPServer.__init__
@@ -227,6 +258,7 @@ importlib.abc.MetaPathFinder.find_spec
importlib.abc.PathEntryFinder.find_spec
importlib.machinery.BuiltinImporter.find_module
importlib.machinery.BuiltinImporter.find_spec
importlib.machinery.ExtensionFileLoader.__init__
importlib.machinery.ExtensionFileLoader.get_filename
importlib.machinery.FrozenImporter.find_module
importlib.machinery.FrozenImporter.find_spec
@@ -236,6 +268,7 @@ importlib.machinery.WindowsRegistryFinder.find_module
importlib.machinery.WindowsRegistryFinder.find_spec
importlib.util.spec_from_file_location
importlib.util.spec_from_loader
inspect.BoundArguments.__init__
inspect.Parameter.replace
inspect.Signature.replace
inspect.getabsfile
@@ -274,8 +307,10 @@ itertools.takewhile
itertools.zip_longest
lib2to3.pygram.pattern_symbols
lib2to3.pygram.python_symbols
lib2to3.pytree.Base.__new__
lib2to3.pytree.Base.children
lib2to3.pytree.Base.type
lib2to3.pytree.BasePattern.__new__
lib2to3.pytree.BasePattern.type
lib2to3.pytree.NegatedPattern.match
lib2to3.pytree.NegatedPattern.match_seq
@@ -286,6 +321,7 @@ logging.Logger.addFilter
logging.Logger.removeFilter
logging.LoggerAdapter.isEnabledFor
logging.LoggerAdapter.setLevel
logging.RootLogger.__init__
logging.addLevelName
logging.disable
logging.getLevelName
@@ -313,16 +349,21 @@ multiprocessing.SimpleQueue
multiprocessing.Value
multiprocessing.context.BaseContext.Event
multiprocessing.managers.BaseManager.shutdown
multiprocessing.managers.Server.__init__
multiprocessing.managers.SyncManager.Event
multiprocessing.managers.SyncManager.Lock
multiprocessing.managers.SyncManager.Namespace
multiprocessing.managers.SyncManager.RLock
multiprocessing.pool.ApplyResult.__init__
multiprocessing.pool.IMapIterator.__init__
multiprocessing.pool.MapResult.__init__
multiprocessing.pool.Pool.imap
multiprocessing.pool.Pool.imap_unordered
multiprocessing.pool.Pool.map
multiprocessing.pool.Pool.map_async
multiprocessing.pool.Pool.starmap
multiprocessing.pool.Pool.starmap_async
multiprocessing.queues.JoinableQueue.__init__
multiprocessing.queues.Queue.__init__
multiprocessing.queues.Queue.put_nowait
multiprocessing.queues.SimpleQueue.__init__
@@ -332,8 +373,10 @@ multiprocessing.synchronize.Barrier.__init__
multiprocessing.synchronize.Condition.acquire
multiprocessing.synchronize.Condition.release
multiprocessing.synchronize.Event.__init__
multiprocessing.synchronize.SemLock.__init__
multiprocessing.synchronize.SemLock.acquire
multiprocessing.synchronize.SemLock.release
netrc.NetrcParseError.__init__
netrc.netrc.__init__
nntplib._NNTPBase.starttls
ntpath.join
@@ -349,7 +392,9 @@ os.EX_NOTFOUND
os.SF_MNOWAIT
os.SF_NODISKIO
os.SF_SYNC
os._Environ.__init__
os._Environ.setdefault
os._wrap_close.__init__
os.chflags
os.lchflags
os.lchmod
@@ -376,6 +421,7 @@ random.Random.triangular
random.SystemRandom.getstate
random.randrange
random.triangular
re.error.__init__
runpy.run_path
sched.Event.__doc__
select.EPOLL_RDHUP
@@ -412,7 +458,10 @@ sqlite3.version_info
sre_constants.error.__init__
ssl.PROTOCOL_SSLv2
ssl.PROTOCOL_SSLv3
ssl.Purpose.__new__
ssl.RAND_egd
ssl.SSLContext.__new__
ssl.SSLObject.__init__
ssl.SSLSocket.connect
ssl.SSLSocket.connect_ex
ssl.SSLSocket.recv
@@ -421,10 +470,13 @@ ssl.SSLSocket.recvfrom
ssl.SSLSocket.recvfrom_into
ssl.SSLSocket.sendto
ssl._ASN1Object.__new__
subprocess.Popen.__init__
sunau.Au_write.getmark
sunau.Au_write.getmarkers
sunau.Au_write.setcomptype
sunau.Au_write.setmark
symtable.Symbol.__init__
symtable.SymbolTable.__init__
sys.gettotalrefcount
sys.getwindowsversion
sys.implementation
@@ -445,6 +497,7 @@ threading.Semaphore.acquire
threading.Thread.__init__
time.CLOCK_HIGHRES
timeit.main
trace.CoverageResults.__init__
traceback.FrameSummary.__init__
traceback.TracebackException.__init__
traceback.TracebackException.from_exception
@@ -469,6 +522,8 @@ unittest.TestCase.assertDictContainsSubset
unittest.TestCase.assertNotAlmostEqual
unittest.TestCase.assertSequenceEqual
unittest.TestLoader.loadTestsFromModule
unittest.TestProgram.__init__
unittest.TestResult.__init__
unittest.TestResult.addSubTest
unittest.TestRunner
unittest.TestSuite.run
@@ -476,19 +531,31 @@ unittest.case.TestCase.assertAlmostEqual
unittest.case.TestCase.assertDictContainsSubset
unittest.case.TestCase.assertNotAlmostEqual
unittest.case.TestCase.assertSequenceEqual
unittest.case._AssertLogsContext.__init__
unittest.case.expectedFailure
unittest.expectedFailure
unittest.loader.TestLoader.loadTestsFromModule
unittest.main
unittest.mock.NonCallableMock.__init__
unittest.mock.NonCallableMock.__new__
unittest.removeHandler
unittest.result.TestResult.__init__
unittest.result.TestResult.addSubTest
unittest.runner.TestRunner
unittest.signals.removeHandler
unittest.suite.TestSuite.run
urllib.error.ContentTooShortError.__init__
urllib.error.URLError.__init__
urllib.parse._DefragResultBase.__new__
urllib.request.BaseHandler.http_error_nnn
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__
urllib.request.proxy_bypass
urllib.response.addinfo.__init__
urllib.response.addinfourl.__init__
urllib.robotparser.RobotFileParser.can_fetch
warnings.catch_warnings.__init__
weakref.CallableProxyType.__getattr__
weakref.KeyedRef.__new__
weakref.ProxyType.__getattr__
weakref.ReferenceType.__call__
weakref.WeakKeyDictionary.__init__