From afee42c3a783f0bd92179691653d4ca12f1d56f3 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 23 Feb 2023 23:43:08 +0000 Subject: [PATCH] Blacklist `distutils.dist.Distribution.announce` (#59) See https://github.com/python/typeshed/pull/9800 for context --- stdlib-blacklist.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib-blacklist.txt b/stdlib-blacklist.txt index 151bd7a..cb6eb0f 100644 --- a/stdlib-blacklist.txt +++ b/stdlib-blacklist.txt @@ -42,6 +42,10 @@ cmath.log os.utime pyexpat.XMLParserType.ExternalEntityParserCreate +# Adding the default to this method causes stubtest to fail for typeshed's setuptools stubs +# See https://github.com/python/typeshed/pull/9800 +distutils.dist.Distribution.announce + # TODO: fix these in typeshed: https://github.com/python/typeshed/issues/9652 asyncio.base_events.BaseEventLoop.create_connection asyncio.base_events.BaseEventLoop.create_server