commit: 757a832e3118f4b676480254b22f63a81d8ddbdf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 09:58:46 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 11 09:58:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=757a832e
dev-python/pip: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pip/pip-24.0.ebuild | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index 8e9ed0858608..2095bfc0da41 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# please bump dev-python/ensurepip-pip along with this package!
DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..12} )
+PYTHON_TESTED=( python3_{10..13} )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
PYTHON_REQ_USE="ssl(+),threads(+)"
@@ -109,6 +109,15 @@ python_test() {
fi
case ${EPYTHON} in
+ python3.13)
+ EPYTEST_DESELECT+=(
+ # hacky upstream time mocking stopped working,
they have it
+ # failing on CI already too
+
tests/unit/test_base_command.py::test_log_command_success
+
tests/unit/test_base_command.py::test_log_command_error
+
tests/unit/test_base_command.py::test_log_file_command_error
+ )
+ ;;
python3.10)
EPYTEST_DESELECT+=(
# no clue why they fail
@@ -122,7 +131,7 @@ python_test() {
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local EPYTEST_XDIST=1
- epytest -m "not network"
+ epytest -m "not network" -o tmp_path_retention_policy=all
}
python_install_all() {