Skip to content

Commit 68fd957

Browse files
authored
bump minimum setuptools version (#1797)
Fix for "AttributeError: module 'importlib.util' has no attribute 'abc'" Don't isolate the first stage of the build, to keep the version numbers
1 parent fb6bdb5 commit 68fd957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ run_tests() {
2626
--pyargs -x ${module} -n auto --dist=loadfile
2727
}
2828
pipver=20.3.3 # minimum required version of pip for Python 3.10
29-
setuptoolsver=50.0.0 # required for Python 3.10
29+
setuptoolsver=50.0.1 # fix for "AttributeError: module 'importlib.util' has no attribute 'abc'"
3030
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
3131

3232
rm -Rf testenv? || /bin/true
@@ -42,7 +42,7 @@ then
4242
rm -f testenv1/lib/python-wheels/setuptools* \
4343
&& pip install --force-reinstall -U pip==${pipver} \
4444
&& pip install setuptools==${setuptoolsver} wheel
45-
pip install -rtest-requirements.txt ".${extras}"
45+
pip install --no-build-isolation -rtest-requirements.txt ".${extras}"
4646
#make test
4747
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
4848
# mkdir testenv1/not-${module}

0 commit comments

Comments
 (0)