commit:     37cfea4ba8f3679c66580e6dc8474e84bf9840dc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 11:41:12 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 12:08:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cfea4b

distutils-r1.eclass: Limit dev-python/installer version

dev-python/installer has made incompatible changes in 0.5.1 that breaks
the non-gpep517 code path.  Add a version limit prior to bumping,
in case we end up reverting gpep517 changes.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 49c98290f30f..9e6c18c55716 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -195,6 +195,7 @@ _distutils_set_globals() {
                # installer is used to install the wheel
                # tomli is used to read build-backend from pyproject.toml
                bdep='
+                       <dev-python/installer-0.5.1[${PYTHON_USEDEP}]
                        >=dev-python/installer-0.4.0_p20220124[${PYTHON_USEDEP}]
                        >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}]'
                case ${DISTUTILS_USE_PEP517} in

Reply via email to