Skip to content

CentOS-7 python provides python-argparse version >= python-argparse from synnefo repository. #394

Description

@truatpasteurdotfr

Hi,

tested on the centos7 image provided on okeanos-global.grnet.gr

# cd /etc/yum.repos.d &&  curl -O http://download.opensuse.org/repositories/home:/GRNET:/synnefo/CentOS_7/home:GRNET:synnefo.repo
# yum install snf-image-creator
...
# /usr/bin/snf-image-creator
Traceback (most recent call last):
  File "/usr/bin/snf-image-creator", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
# yum install python-argparse
-> snf-image-creator works as expected

Cause:
python-argparse from home_GRNET_synnefo is version 1.2.1-6.2
but python-argparse is also provided by python...

# yum provides python-argparse
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
python-2.7.5-48.el7.x86_64 : An interpreted, interactive, object-oriented
                           : programming language
Repo        : file-base
Matched from:
Provides    : python-argparse = 2.7.5-48.el7 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions