X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4a264f6333b34ecc364d2a6f9e18c7f3e35a076d..72616dad6615ef2379cf26bc2393f90bdd2c8164:/build/get-package-version.sh diff --git a/build/get-package-version.sh b/build/get-package-version.sh index e4579cbb3f..6b29b2c7c2 100755 --- a/build/get-package-version.sh +++ b/build/get-package-version.sh @@ -33,7 +33,7 @@ if [[ "$WORKSPACE" == "" ]]; then fi -debug_echo "package_go_binary $SRC_PATH" +debug_echo "get-package-version.sh $TYPE_LANG $SRC_PATH" if [[ "$TYPE_LANG" == "go" ]]; then calculate_go_package_version go_package_version $SRC_PATH @@ -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