mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/setuptools: Reenable tests
Closes: https://bugs.gentoo.org/725492 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -21,14 +21,12 @@ RESTRICT="!test? ( test )"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
' python2_7 python3_{6,7,8} pypy3)
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/futures[${PYTHON_USEDEP}]
|
||||
' -2)
|
||||
@@ -65,11 +63,6 @@ python_prepare_all() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == python3.9 ]]; then
|
||||
einfo "Tests are skipped on py3.9 due to unported deps"
|
||||
return
|
||||
fi
|
||||
|
||||
distutils_install_for_testing
|
||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||
# It tries to sandbox the test in a tempdir
|
||||
|
||||
Reference in New Issue
Block a user