Skip to content

Commit

Permalink
bump minimum setuptools version (#1797)
Browse files Browse the repository at this point in the history
Fix for "AttributeError: module 'importlib.util' has no attribute 'abc'"

Don't isolate the first stage of the build, to keep the version numbers
  • Loading branch information
mr-c authored Feb 1, 2023
1 parent fb6bdb5 commit 68fd957
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 68fd957

Please sign in to comment.