From 2561228c82f03f9969361c93e0ff61a853ee665d Mon Sep 17 00:00:00 2001 From: donbarbos Date: Sun, 8 Feb 2026 14:52:22 +0400 Subject: [PATCH] [stdlib] Ignore find_distributions problems on windows Closes: #15390 Also also occurred in #15389 Previous issue on linux: #14886 --- stdlib/@tests/stubtest_allowlists/win32-py39.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stdlib/@tests/stubtest_allowlists/win32-py39.txt b/stdlib/@tests/stubtest_allowlists/win32-py39.txt index 41a273d99b64..9e7cf677f711 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py39.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py39.txt @@ -2,6 +2,12 @@ # Temporary # ========= +# According to stubtest, these are sometimes not present at runtime, starting +# with Python 3.9.13. Which is not true. +(_frozen_importlib_external.PathFinder.find_distributions)? +(importlib._bootstrap_external.PathFinder.find_distributions)? +(importlib.machinery.PathFinder.find_distributions)? + # Added in Python 3.9.14 # (Remove once 3.9.14 becomes available for GitHub Actions) sys.set_int_max_str_digits