Story #16976

Handle release candidate packages

Added by Peter Amstutz 14 days ago. Updated 14 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/08/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

Support release candidate builds ~rc1 ~rc2 etc.


Subtasks

Task #16980: Review 16976-python-rc-packagesResolvedWard Vandewege

Associated revisions

Revision 4e8c0dc4
Added by Peter Amstutz 14 days ago

Merge branch '16976-python-rc-packages' refs #16976

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Peter Amstutz 14 days ago

  • Description updated (diff)

I don't know if this is releated.

./run-build-test-packages-one-target.sh --target debian10

START: python3-arvados-cwl-runner test on arvados/package-test:debian10
W: The repository 'file:/arvados/packages/debian10  Release' is not signed.

Traceback (most recent call last):
  File "/usr/bin/arvados-cwl-runner", line 8, in <module>
    from arvados_cwl import main
  File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/site-packages/arvados_cwl/__init__.py", line 21, in <module>
    import cwltool.main
  File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/site-packages/cwltool/main.py", line 43, in <module>
    from . import command_line_tool, workflow
  File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/site-packages/cwltool/command_line_tool.py", line 42, in <module>
    from .docker import DockerCommandLineJob
  File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/site-packages/cwltool/docker.py", line 11, in <module>
    from distutils import spawn
  File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/distutils/__init__.py", line 44, in <module>
    from distutils import dist, sysconfig  # isort:skip
ImportError: cannot import name 'dist' from 'distutils' (/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.7/distutils/__init__.py)
ERROR: python3-arvados-cwl-runner test on arvados/package-test:debian10 failed with exit status 1

#2 Updated by Peter Amstutz 14 days ago

Also this is just annoying.

wget -cqO common-generated/go1.13.4.linux-amd64.tar.gz https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
wget -cqO common-generated/node-v6.11.2-linux-x64.tar.xz https://nodejs.org/dist/v6.11.2/node-v6.11.2-linux-x64.tar.xz
wget -cqO common-generated/mpapis.asc https://rvm.io/mpapis.asc
wget -cqO common-generated/pkuczynski.asc https://rvm.io/pkuczynski.asc
test -d centos7/generated || mkdir centos7/generated
cp -rlt centos7/generated common-generated/*
cp: cannot create hard link 'centos7/generated/go1.13.4.linux-amd64.tar.gz' to 'common-generated/go1.13.4.linux-amd64.tar.gz': File exists
cp: cannot create hard link 'centos7/generated/mpapis.asc' to 'common-generated/mpapis.asc': File exists
cp: cannot create hard link 'centos7/generated/node-v6.11.2-linux-x64.tar.xz' to 'common-generated/node-v6.11.2-linux-x64.tar.xz': File exists
cp: cannot create hard link 'centos7/generated/pkuczynski.asc' to 'common-generated/pkuczynski.asc': File exists

#3 Updated by Peter Amstutz 14 days ago

  • Release set to 25

#4 Updated by Peter Amstutz 14 days ago

#5 Updated by Peter Amstutz 14 days ago

  • Release deleted (25)

Getting this warning from fpm "Doing `require 'backports'` is deprecated and will not load any backport in the next major release."

#6 Updated by Peter Amstutz 14 days ago

  • Assigned To set to Peter Amstutz

#7 Updated by Peter Amstutz 14 days ago

  • Status changed from New to In Progress

#8 Updated by Ward Vandewege 14 days ago

I pushed one small fix for the detection of previously built deb/rpm Python packages as 52fa64f15a837ea4929183813ee34e68fea67640 on the 16976-python-rc-packages branch.

Otherwise, LGTM, thanks.

#9 Updated by Peter Amstutz 14 days ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF