dev-python/setuptools: Relax dev-python/packaging dep

Portage seems to have trouble with ordering the combined setuptools
and packaging upgrade, and setuptools seems to work just fine (modulo
a few tests relying on new packaging behavior) with the old version,
so permit upgrading setuptools first.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-10 06:56:28 +01:00
parent fa1c3220d1
commit b1ec7f57e5

View File

@@ -30,7 +30,7 @@ RDEPEND="
>=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
>=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
>=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
>=dev-python/packaging-23[${PYTHON_USEDEP}]
>=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
>=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}]
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
@@ -117,5 +117,12 @@ python_test() {
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
)
if has_version "<dev-python/packaging-22"; then
EPYTEST_DESELECT+=(
# old packaging is more lenient
setuptools/tests/config/test_setupcfg.py::TestOptions::test_raises_accidental_env_marker_misconfig
)
fi
epytest -n "$(makeopts_jobs)" setuptools
}