commit: d44d24e0255a08b27d5aad54f431eabb6ee93df9 Author: Violet Purcell <vimproved <AT> inventati <DOT> org> AuthorDate: Fri May 31 18:11:03 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 31 18:37:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44d24e0
dev-lang/python: skip known failing tests on musl Signed-off-by: Violet Purcell <vimproved <AT> inventati.org> Closes: https://github.com/gentoo/gentoo/pull/36925 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/python/python-3.13.0_beta1_p3.ebuild | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-lang/python/python-3.13.0_beta1_p3.ebuild b/dev-lang/python/python-3.13.0_beta1_p3.ebuild index 3744ca2daff1..792927c05468 100644 --- a/dev-lang/python/python-3.13.0_beta1_p3.ebuild +++ b/dev-lang/python/python-3.13.0_beta1_p3.ebuild @@ -305,6 +305,22 @@ src_configure() { ;; esac + # musl-specific skips + use elibc_musl && COMMON_TEST_SKIPS+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + if use pgo; then local profile_task_flags=( -m test @@ -372,6 +388,22 @@ src_configure() { ;; esac + # musl-specific skips + use elibc_musl && profile_task_flags+=( + # various musl locale deficiencies + -x test__locale + -x test_c_locale_coercion + -x test_locale + -x test_re + + # known issues with find_library on musl + # https://bugs.python.org/issue21622 + -x test_ctypes + + # fpathconf, ttyname errno values + -x test_os + ) + if has_version "app-arch/rpm" ; then # Avoid sandbox failure (attempts to write to /var/lib/rpm) profile_task_flags+=(
