setuptools >=44 doesn't support Python 3.4 on Debian jessie
[arvados.git] / 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