X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4fa1cccccf752fd58dd2b10b1df4275a6de16ea2..1f26b2f67d5f01c003c840be909bad6693cec045:/build/run-build-packages.sh diff --git a/build/run-build-packages.sh b/build/run-build-packages.sh index 5aa0b7e6f8..0e74ac6f25 100755 --- a/build/run-build-packages.sh +++ b/build/run-build-packages.sh @@ -102,18 +102,12 @@ if [[ "$DEBUG" != 0 ]]; then DASHQ_UNLESS_DEBUG= fi -declare -a PYTHON_BACKPORTS PYTHON3_BACKPORTS +declare -a PYTHON3_BACKPORTS -PYTHON2_VERSION=2.7 PYTHON3_VERSION=$(python3 -c 'import sys; print("{v.major}.{v.minor}".format(v=sys.version_info))') ## These defaults are suitable for any Debian-based distribution. # You can customize them as needed in distro sections below. -PYTHON2_PACKAGE=python$PYTHON2_VERSION -PYTHON2_PKG_PREFIX=python -PYTHON2_PREFIX=/usr -PYTHON2_INSTALL_LIB=lib/python$PYTHON2_VERSION/dist-packages - PYTHON3_PACKAGE=python$PYTHON3_VERSION PYTHON3_PKG_PREFIX=python3 PYTHON3_PREFIX=/usr @@ -129,9 +123,6 @@ case "$TARGET" in ;; centos*) FORMAT=rpm - PYTHON2_PACKAGE=$(rpm -qf "$(which python$PYTHON2_VERSION)" --queryformat '%{NAME}\n') - PYTHON2_PKG_PREFIX=$PYTHON2_PACKAGE - PYTHON2_INSTALL_LIB=lib/python$PYTHON2_VERSION/site-packages PYTHON3_PACKAGE=$(rpm -qf "$(which python$PYTHON3_VERSION)" --queryformat '%{NAME}\n') PYTHON3_PKG_PREFIX=$PYTHON3_PACKAGE PYTHON3_PREFIX=/opt/rh/rh-python36/root/usr @@ -321,29 +312,17 @@ package_go_binary tools/keep-exercise keep-exercise \ package_go_so lib/pam pam_arvados.so libpam-arvados-go \ "Arvados PAM authentication module" -# The Python SDK - Should be built first because it's needed by others -fpm_build_virtualenv "arvados-python-client" "sdk/python" - # The Python SDK - Python3 package fpm_build_virtualenv "arvados-python-client" "sdk/python" "python3" -# Arvados cwl runner - Only supports Python3 now +# Arvados cwl runner - Python3 package fpm_build_virtualenv "arvados-cwl-runner" "sdk/cwl" "python3" -# The PAM module -fpm_build_virtualenv "libpam-arvados" "sdk/pam" - -# The FUSE driver -fpm_build_virtualenv "arvados-fuse" "services/fuse" - # The FUSE driver - Python3 package fpm_build_virtualenv "arvados-fuse" "services/fuse" "python3" -# The node manager -fpm_build_virtualenv "arvados-node-manager" "services/nodemanager" - # The Arvados crunchstat-summary tool -fpm_build_virtualenv "crunchstat-summary" "tools/crunchstat-summary" +fpm_build_virtualenv "crunchstat-summary" "tools/crunchstat-summary" "python3" # The Docker image cleaner fpm_build_virtualenv "arvados-docker-cleaner" "services/dockercleaner" "python3" @@ -354,11 +333,9 @@ if [[ -e "$WORKSPACE/cwltest" ]]; then rm -rf "$WORKSPACE/cwltest" fi git clone https://github.com/common-workflow-language/cwltest.git -# last release to support python 2.7 -(cd cwltest && git checkout 1.0.20190906212748) # signal to our build script that we want a cwltest executable installed in /usr/bin/ mkdir cwltest/bin && touch cwltest/bin/cwltest -fpm_build_virtualenv "cwltest" "cwltest" +fpm_build_virtualenv "cwltest" "cwltest" "python3" rm -rf "$WORKSPACE/cwltest" calculate_go_package_version arvados_server_version cmd/arvados-server