summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/traitlets/traitlets-5.14.3.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/traitlets/traitlets-5.14.3.ebuild b/dev-python/traitlets/traitlets-5.14.3.ebuild
index caeeeaf8919d..93ba813ba0eb 100644
--- a/dev-python/traitlets/traitlets-5.14.3.ebuild
+++ b/dev-python/traitlets/traitlets-5.14.3.ebuild
@@ -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
}