From 68fd957141ff81efd846fb8ba0b9b68524b5a894 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Wed, 1 Feb 2023 23:43:20 +0100 Subject: [PATCH] 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 --- release-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-test.sh b/release-test.sh index 663b552c3..257a4e631 100755 --- a/release-test.sh +++ b/release-test.sh @@ -26,7 +26,7 @@ run_tests() { --pyargs -x ${module} -n auto --dist=loadfile } pipver=20.3.3 # minimum required version of pip for Python 3.10 -setuptoolsver=50.0.0 # required for Python 3.10 +setuptoolsver=50.0.1 # fix for "AttributeError: module 'importlib.util' has no attribute 'abc'" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" rm -Rf testenv? || /bin/true @@ -42,7 +42,7 @@ then rm -f testenv1/lib/python-wheels/setuptools* \ && pip install --force-reinstall -U pip==${pipver} \ && pip install setuptools==${setuptoolsver} wheel - pip install -rtest-requirements.txt ".${extras}" + pip install --no-build-isolation -rtest-requirements.txt ".${extras}" #make test pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install # mkdir testenv1/not-${module}