mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/traitlets: enable py3.14
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -35,6 +35,16 @@ python_test() {
|
||||
tests/test_typing.py
|
||||
)
|
||||
|
||||
if [[ ${EPYTHON} == python3.14 ]]; then
|
||||
# fails due to improved error messages in Python 3.14
|
||||
# https://github.com/ipython/traitlets/issues/925
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/config/test_argcomplete.py::TestArgcomplete::test_complete_simple_app
|
||||
tests/config/test_argcomplete.py::TestArgcomplete::test_complete_custom_completers
|
||||
tests/config/test_argcomplete.py::TestArgcomplete::test_complete_subcommands_subapp1
|
||||
)
|
||||
fi
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p pytest_mock
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user