dev-python/pygobject: enable py3.14

Skip the same tests as Fedora for now.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-06-09 02:59:15 +01:00
parent b343ea15d1
commit f67ba68d91
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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() {