Make the python-arvados-cwl-runner package expose the cwltool executable, make
authorWard Vandewege <wvandewege@veritasgenetics.com>
Tue, 5 Feb 2019 22:14:05 +0000 (17:14 -0500)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Tue, 5 Feb 2019 22:14:05 +0000 (17:14 -0500)
it conflict with the python-cwltool (and cwltool) packages, and add a note to
the upgrade documentation to that effect. Also document the Centos7 specific
upgrade from python33 to rh-python35 as part of story 9945.

refs #9945

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

build/run-library.sh
doc/admin/upgrading.html.textile.liquid
sdk/cwl/fpm-info.sh

index 9df62adee0dd18e751cf680998148162c8b7d5a9..e6b086a5a3b5c2965a4f108e1c3c6a58dc63d2ab 100755 (executable)
@@ -602,6 +602,11 @@ fpm_build_virtualenv () {
     COMMAND_ARR+=("usr/share/$python/dist/$PYTHON_PKG/data/lib/security/libpam_arvados.py=/usr/data/lib/security/")
   fi
 
+  # the python-arvados-cwl-runner package comes with cwltool, expose that version
+  if [[ -e "$WORKSPACE/$PKG_DIR/dist/build/usr/share/python2.7/dist/python-arvados-cwl-runner/bin/cwltool" ]]; then
+    COMMAND_ARR+=("usr/share/python2.7/dist/python-arvados-cwl-runner/bin/cwltool=/usr/bin/")
+  fi
+
   COMMAND_ARR+=(".")
 
   FPM_RESULTS=$("${COMMAND_ARR[@]}")
index f94ecdc8737236dea5afcd5a8820715d2cb24e0a..eda25d5cc6678524ea1cd44b0500201f49e56e65 100644 (file)
@@ -56,6 +56,14 @@ Or alternatively, by updating the shebang line at the start of the script to:
 </pre>
 </notextile>
 
+h4. python-arvados-cwl-runner deb/rpm package now conflicts with python-cwltool deb/rpm package
+
+As part of story "#9945":https://dev.arvados.org/issues/9945, the distribution packaging (deb/rpm) of our Python packages has changed. The python-arvados-cwl-runner package now includes a version of cwltool. If present, the python-cwltool and cwltool distribution packages will need to be uninstalled before the python-arvados-cwl-runner deb or rpm package can be installed.
+
+h4. Centos7 Python 3 dependency upgraded to rh-python35
+
+As part of story "#9945":https://dev.arvados.org/issues/9945, the Python 3 dependency for Centos7 Arvados packages was upgraded from SCL python33 to rh-python35.
+
 h4. Centos7 package for libpam-arvados depends on the python-pam package, which is available from EPEL
 
 As part of story "#9945":https://dev.arvados.org/issues/9945, it was discovered that the Centos7 package for libpam-arvados was missing a dependency on the python-pam package, which is available from the EPEL repository. The dependency has been added to the libpam-arvados package. This means that going forward, the EPEL repository will need to be enabled to install libpam-arvados on Centos7.
index fa8f43e6e0748728becd62d47356aacd84e6510a..5c47532db9ac9efa12ff9cc10b4e17b9d8ec9ae1 100644 (file)
@@ -10,3 +10,5 @@ case "$TARGET" in
         fpm_depends+=(libcurl3-gnutls libpython2.7)
         ;;
 esac
+
+fpm_args+=(--conflicts=python-cwltool --conflicts=cwltool)