From f67ba68d912d66078aed3268faa4532c586e5c07 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Jun 2025 02:59:15 +0100 Subject: [PATCH] dev-python/pygobject: enable py3.14 Skip the same tests as Fedora for now. Signed-off-by: Sam James --- dev-python/pygobject/pygobject-3.52.3.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/pygobject/pygobject-3.52.3.ebuild b/dev-python/pygobject/pygobject-3.52.3.ebuild index a2e1255f4ad10..a32b8eb758c5c 100644 --- a/dev-python/pygobject/pygobject-3.52.3.ebuild +++ b/dev-python/pygobject/pygobject-3.52.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=no GNOME_TARBALL_SUFFIX="gz" -PYTHON_COMPAT=( python3_{11..13} pypy3_11 ) +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) inherit gnome.org meson virtualx xdg distutils-r1 @@ -87,7 +87,13 @@ python_test() { local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x XDG_CACHE_HOME="${T}/${EPYTHON}" - meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" + + if [[ ${EPYTHON} == python3.14* ]] ; then + # https://gitlab.gnome.org/GNOME/pygobject/-/issues/694 + local -x PYTEST_ADDOPTS="-k 'not (ref_count or has_two_refs)'" + fi + + meson_src_test --timeout-multiplier 3 || die "test for ${EPYTHON}" } python_install() {