setuptools >=44 doesn't support Python 3.4 on Debian jessie 1.4.3
authorPeter Amstutz <peter.amstutz@curii.com>
Fri, 3 Jan 2020 20:44:28 +0000 (15:44 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Fri, 3 Jan 2020 20:44:28 +0000 (15:44 -0500)
no issue #

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

build/run-library.sh

index 1aa3e3cfd1147ebe15b0c041637a055b015f3c93..bb789eabfebb9fe4e0e6c713cbefde76df847101 100755 (executable)
@@ -435,8 +435,8 @@ fpm_build_virtualenv () {
 
   rm -rf dist/*
 
-  # Get the latest setuptools
-  if ! $pip install $DASHQ_UNLESS_DEBUG $CACHE_FLAG -U setuptools; then
+  # Get setuptools, but <44 because >=44 doesn't support python 3.4
+  if ! $pip install $DASHQ_UNLESS_DEBUG $CACHE_FLAG -U 'setuptools<44'; then
     echo "Error, unable to upgrade setuptools with"
     echo "  $pip install $DASHQ_UNLESS_DEBUG $CACHE_FLAG -U setuptools"
     exit 1