17013: also upload wheels to PyPI. To make the wheels universal, we 17013-upload-wheels-to-pypi
authorWard Vandewege <ward@curii.com>
Mon, 23 Nov 2020 15:27:42 +0000 (10:27 -0500)
committerWard Vandewege <ward@curii.com>
Mon, 23 Nov 2020 15:27:42 +0000 (10:27 -0500)
       still need a change to setup.cfg in each of our Python
       component directories.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

jenkins/run_upload_packages.py

index d5d7fb8e1e74ffa4fa8367977bdcdccc62cae5e5..aadc004cbfc28b80ef08ac485c42ba7f2642ea1b 100755 (executable)
@@ -124,7 +124,9 @@ class PythonPackageSuite(PackageSuite):
         cmd = ['python3', 'setup.py']
         if not self.logger.isEnabledFor(logging.INFO):
             cmd.append('--quiet')
-        cmd.extend(['sdist', '--dist-dir', '.upload_dist', 'upload'])
+        cmd.extend(['bdist_wheel', '--dist-dir', '.upload_dist'])
+        cmd.extend(['sdist', '--dist-dir', '.upload_dist'])
+        cmd.extend(['upload'])
         upload_returncode, repushed = run_and_grep(
             cmd, 'stderr', *self.REUPLOAD_REGEXPS, cwd=src_dir)
         if (upload_returncode != 0) and not repushed: