Bug #17947

[packaging][centos7] new @python3-@ packages should remove deprecated @rh-pythonXX-@ ones

Added by Javier Bértoli about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Start date:
08/11/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

The new centos7 packages, prefixed with python3- do not mark the old ones rh-pythonXX- as conflicting, so they're not removed when upgrading.

When trying to install the new packages, they throw a conflict and fail:

 Transaction check error:
  file /usr/bin/arvados-cwl-runner from install of python3-arvados-cwl-runner-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-cwl-runner-2.1.2-1.x86_64
  file /usr/bin/cwl-runner from install of python3-arvados-cwl-runner-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-cwl-runner-2.1.2-1.x86_64
  file /usr/bin/arv-copy from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-federation-migrate from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-get from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-keepdocker from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-ls from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-migrate-docker19 from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-normalize from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-put from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-ws from install of python3-arvados-python-client-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-python-client-2.1.2-1.x86_64
  file /usr/bin/arv-mount from install of python3-arvados-fuse-2.2.1-1.x86_64 conflicts with file from package rh-python36-python-arvados-fuse-2.1.2-1.x86_64


Subtasks

Task #18010: review 17947-centos7-package-conflictResolvedJavier Bértoli

Associated revisions

Revision 1d964c00
Added by Ward Vandewege about 1 month ago

Merge branch '17947-centos7-package-conflict'

closes #17947

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <>

History

#1 Updated by Javier Bértoli about 2 months ago

  • Description updated (diff)
  • Subject changed from [packaging][centos7] new @python3-@ packages should conflict (and remove) deprecated @rh-pythonXX-@ ones to [packaging][centos7] new @python3-@ packages should remove deprecated @rh-pythonXX-@ ones

#2 Updated by Peter Amstutz about 2 months ago

  • Target version changed from 2021-08-04 sprint to 2021-08-18 sprint

#3 Updated by Ward Vandewege about 1 month ago

  • Release set to 41

#4 Updated by Ward Vandewege about 1 month ago

Ready for review at f67c3d18e58d4d6f331763a9728f1ef1595558d7 on branch 17947-centos7-package-conflict

I tested in a docker container. I installed rh-python36-arvados-cwl-runner from our rpm repo, then tried to install the new package with rpm:

[root@82054c4e20a6 centos7]# rpm -i python3-arvados-cwl-runner-2.3.0~dev20210810185721-1.x86_64.rpm 
error: Failed dependencies:
    rh-python36-python-arvados-cwl-runner conflicts with python3-arvados-cwl-runner-2.3.0~dev20210810185721-1.x86_64

#5 Updated by Javier Bértoli about 1 month ago

LGTM, thanks!

#6 Updated by Ward Vandewege about 1 month ago

  • Status changed from New to Resolved

Also available in: Atom PDF