Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/3] dev-python/tox: Use dift --via-venv to unbreak two tests
Date: Fri, 21 May 2021 14:21:12
Message-Id: 20210521142019.565814-3-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Introduce dift --via-venv install mode by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 dev-python/tox/tox-3.23.1.ebuild | 7 +------
4 1 file changed, 1 insertion(+), 6 deletions(-)
5
6 diff --git a/dev-python/tox/tox-3.23.1.ebuild b/dev-python/tox/tox-3.23.1.ebuild
7 index 938612131f77..2d37d0a62479 100644
8 --- a/dev-python/tox/tox-3.23.1.ebuild
9 +++ b/dev-python/tox/tox-3.23.1.ebuild
10 @@ -53,11 +53,6 @@ python_test() {
11
12 # expects python2 to exist
13 tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable
14 -
15 - # broken without tox installed first
16 - # TODO: figure out how to make importlib_metadata work
17 - tests/unit/test_z_cmdline.py::test_tox_console_script
18 - tests/unit/test_z_cmdline.py::test_tox_quickstart_script
19 )
20
21 [[ ${EPYTHON} != pypy3 ]] && deselect+=(
22 @@ -69,6 +64,6 @@ python_test() {
23 tests/integration/test_parallel_interrupt.py::test_parallel_interrupt
24 )
25
26 - distutils_install_for_testing --via-root
27 + distutils_install_for_testing --via-venv
28 epytest --no-network ${deselect[@]/#/--deselect }
29 }
30 --
31 2.31.1