commit:     738c6f3d837e63d38f4f1182f3e116d94d8830bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 13:31:05 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 12 13:31:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738c6f3d

dev-python/pygobject: enable py3.14 in 3.50.1

Skip another test on top of what we do in 3.52.3. Not ideal but necessary
after 8f77956b94905fe72e58efb1625d16a2f3af94c6 and better than recursively
dropping py3.14 I think.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pygobject/pygobject-3.50.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygobject/pygobject-3.50.1.ebuild 
b/dev-python/pygobject/pygobject-3.50.1.ebuild
index c0e6bbecf434..77e6355e9be9 100644
--- a/dev-python/pygobject/pygobject-3.50.1.ebuild
+++ b/dev-python/pygobject/pygobject-3.50.1.ebuild
@@ -6,8 +6,7 @@ EAPI=8
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=no
 GNOME_TARBALL_SUFFIX="gz"
-# py3.14: https://gitlab.gnome.org/GNOME/pygobject/-/issues/694
-PYTHON_COMPAT=( python3_{11..13} pypy3_11 )
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
 
 inherit gnome.org meson virtualx xdg distutils-r1
 
@@ -65,6 +64,12 @@ 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}"
+
+       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 or 
iteration_refs)'"
+       fi
+
        meson_src_test --timeout-multiplier 3 || die "test failed for 
${EPYTHON}"
 }
 

Reply via email to