[ARVADOS-DEV] updated: 20ffc42ddb94aa2971b4577a8b354b42e9a4398f

Git user git at public.arvados.org
Mon Nov 23 14:28:16 UTC 2020


Summary of changes:
 jenkins/run_upload_packages.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

       via  20ffc42ddb94aa2971b4577a8b354b42e9a4398f (commit)
      from  865a75b0ccb7deb88349740315362f506917b2fe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 20ffc42ddb94aa2971b4577a8b354b42e9a4398f
Author: Ward Vandewege <ward at curii.com>
Date:   Mon Nov 23 09:27:46 2020 -0500

    We use Python3 now, exclusively.
    
    refs #17013
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/jenkins/run_upload_packages.py b/jenkins/run_upload_packages.py
index 30b1a65..d5d7fb8 100755
--- a/jenkins/run_upload_packages.py
+++ b/jenkins/run_upload_packages.py
@@ -116,16 +116,12 @@ class PythonPackageSuite(PackageSuite):
         if src_dir in self.seen_packages:
             return
         self.seen_packages.add(src_dir)
-        # NOTE: If we ever start uploading Python 3 packages, we'll need to
-        # figure out some way to adapt cmd to match.  It might be easiest
-        # to give all our setup.py files the executable bit, and run that
-        # directly.
         # We also must run `sdist` before `upload`: `upload` uploads any
         # distributions previously generated in the command.  It doesn't
         # know how to upload distributions already on disk.  We write the
         # result to a dedicated directory to avoid interfering with our
         # timestamp tracking.
-        cmd = ['python2.7', 'setup.py']
+        cmd = ['python3', 'setup.py']
         if not self.logger.isEnabledFor(logging.INFO):
             cmd.append('--quiet')
         cmd.extend(['sdist', '--dist-dir', '.upload_dist', 'upload'])

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list