dev-python/graphql-core: enable py3.12, fix tests

Closes: https://bugs.gentoo.org/921814
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy 2024-04-13 17:30:40 -04:00
parent e1b7f97804
commit aa1cac3e8f
No known key found for this signature in database
GPG Key ID: BEF2297448848842

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=poetry
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
@ -44,10 +44,6 @@ src_prepare() {
}
python_test() {
if [[ ${EPYTHON} == "python3.11" ]]; then
local EPYTEST_DESELECT=(
tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine
)
fi
cd "${S}"/tests || die
epytest
}