X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/095e176632bbf81d28a239742a1ecce12404bd2d..72616dad6615ef2379cf26bc2393f90bdd2c8164:/build/get-package-version.sh diff --git a/build/get-package-version.sh b/build/get-package-version.sh index 5147f7bba6..6b29b2c7c2 100755 --- a/build/get-package-version.sh +++ b/build/get-package-version.sh @@ -44,14 +44,7 @@ elif [[ "$TYPE_LANG" == "python3" ]]; then rm -rf dist/* - # Get the latest setuptools - if ! pip3 install $DASHQ_UNLESS_DEBUG $CACHE_FLAG -U 'setuptools<45'; then - echo "Error, unable to upgrade setuptools with" - echo " pip3 install $DASHQ_UNLESS_DEBUG $CACHE_FLAG -U 'setuptools<45'" - exit 1 - fi - # filter a useless warning (when building the cwltest package) from the stderr output - if ! python3 setup.py $DASHQ_UNLESS_DEBUG sdist 2> >(grep -v 'warning: no previously-included files matching' |grep -v 'for version number calculation'); then + if ! python3 setup.py $DASHQ_UNLESS_DEBUG sdist; then echo "Error, unable to run python3 setup.py sdist for $SRC_PATH" exit 1 fi