From d1197127052745650f685d416488b9f44e0c0cc8 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 15 Oct 2025 17:41:39 +0200 Subject: [PATCH] Fix daily stubtest error: Add find_distributions() to stubtest allowlist (#14879) --- stdlib/@tests/stubtest_allowlists/linux-py39.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stdlib/@tests/stubtest_allowlists/linux-py39.txt b/stdlib/@tests/stubtest_allowlists/linux-py39.txt index 6c3feb290..1a2478f6a 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py39.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py39.txt @@ -6,6 +6,12 @@ # while being inspected by stubtest. Fixed in Python 3.10. select.epoll.register +# According to stubtest, these are not present at runtime, starting with +# Python 3.9.24. Which is not true. +_frozen_importlib_external.PathFinder.find_distributions +importlib._bootstrap_external.PathFinder.find_distributions +importlib.machinery.PathFinder.find_distributions + # ============================================================= # Allowlist entries that cannot or should not be fixed; <= 3.12