From b34555807a8d0208ba20abbb6be7c1603a7c925d Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sun, 19 Jun 2022 00:49:47 -0700 Subject: [PATCH 1/2] Silence mysterious 3.10.5 stubtest failure Fixes #8098 (along with #8099) --- tests/stubtest_allowlists/darwin-py310.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/stubtest_allowlists/darwin-py310.txt b/tests/stubtest_allowlists/darwin-py310.txt index 5fe85281cddf..4489569dc487 100644 --- a/tests/stubtest_allowlists/darwin-py310.txt +++ b/tests/stubtest_allowlists/darwin-py310.txt @@ -3,6 +3,14 @@ _?curses.color_pair webbrowser.MacOSXOSAScript.__init__ distutils.util.__warningregistry__ +# Github Actions with Python 3.10.5 claims these are missing, but they do exist locally +(locale.bind_textdomain_codeset)? +(locale.bindtextdomain)? +(locale.dcgettext)? +(locale.dgettext)? +(locale.gettext)? +(locale.textdomain)? + # ========== # Allowlist entries that cannot or should not be fixed # ========== From d02e52956980680fe30f651cd665f8bac6b65d13 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 19 Jun 2022 00:52:44 -0700 Subject: [PATCH 2/2] Update tests/stubtest_allowlists/darwin-py310.txt Co-authored-by: Alex Waygood --- tests/stubtest_allowlists/darwin-py310.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stubtest_allowlists/darwin-py310.txt b/tests/stubtest_allowlists/darwin-py310.txt index 4489569dc487..d42c6f7b2b1d 100644 --- a/tests/stubtest_allowlists/darwin-py310.txt +++ b/tests/stubtest_allowlists/darwin-py310.txt @@ -3,7 +3,7 @@ _?curses.color_pair webbrowser.MacOSXOSAScript.__init__ distutils.util.__warningregistry__ -# Github Actions with Python 3.10.5 claims these are missing, but they do exist locally +# Github Actions on macOS with Python 3.10.5 claims these are missing, but they do exist locally (locale.bind_textdomain_codeset)? (locale.bindtextdomain)? (locale.dcgettext)?