From af28d993b72b59713f7e16a8d1cfb4ec6909f97d Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 22:57:56 +0000 Subject: [PATCH] Remove `distutils.dist.Distribution.announce` from the blacklist (#63) 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