From 678fb4be3af9864514f1586281d7bbe34c5c814c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 22:53:45 +0000 Subject: [PATCH] Remove `distutils.dist.Distribution.announce` from the blacklist Following https://github.com/python/typeshed/pull/9795, stubtest now passes for typeshed's `setuptools` stubs even if the correct default parameter is added to the stdlib stub for `distutils.dist.Distribution.announce` --- stubdefaulter/stdlib-blacklist.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stubdefaulter/stdlib-blacklist.txt b/stubdefaulter/stdlib-blacklist.txt index cb6eb0f..151bd7a 100644 --- a/stubdefaulter/stdlib-blacklist.txt +++ b/stubdefaulter/stdlib-blacklist.txt @@ -42,10 +42,6 @@ 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