mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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:
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..11} )
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
DISTUTILS_USE_PEP517=poetry
|
DISTUTILS_USE_PEP517=poetry
|
||||||
PYPI_NO_NORMALIZE=1
|
PYPI_NO_NORMALIZE=1
|
||||||
inherit distutils-r1 pypi
|
inherit distutils-r1 pypi
|
||||||
@@ -44,10 +44,6 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
python_test() {
|
python_test() {
|
||||||
if [[ ${EPYTHON} == "python3.11" ]]; then
|
cd "${S}"/tests || die
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
epytest
|
epytest
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user