Project

General

Profile

Actions

Bug #17947

closed

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

Added by Javier Bértoli about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
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 1 (0 open1 closed)

Task #18010: review 17947-centos7-package-conflictResolvedJavier Bértoli08/11/2021Actions
Actions #1

Updated by Javier Bértoli about 3 years 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
Actions #2

Updated by Peter Amstutz about 3 years ago

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

Updated by Ward Vandewege about 3 years ago

  • Release set to 41
Actions #4

Updated by Ward Vandewege about 3 years 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
Actions #5

Updated by Javier Bértoli about 3 years ago

LGTM, thanks!

Actions #6

Updated by Ward Vandewege about 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF