Packetary dependencies broken

Bug #1604996 reported by Sergey Yudin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packetary
Fix Released
Undecided
Ivan

Bug Description

modules

rpmUtils
createrepo

is not listed in requirements of packetary https://github.com/openstack/packetary/blob/master/requirements.txt

Roman Vyalov (r0mikiam)
affects: fuel → packetary
Changed in packetary:
assignee: nobody → Ivan (ibogomazov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to packetary (master)

Reviewed: https://review.openstack.org/345447
Committed: https://git.openstack.org/cgit/openstack/packetary/commit/?id=c46465c3255a9f5e59a05b8701e06054df39f32f
Submitter: Jenkins
Branch: master

commit c46465c3255a9f5e59a05b8701e06054df39f32f
Author: Ivan Bogomazov <email address hidden>
Date: Thu Jul 21 16:58:42 2016 +0300

    Add documentation for packetary

    Closes-bug: #1604989
    Closes-bug: #1604996

    Change-Id: Ib214006c4852af9b08702368d55f157f7bba089a

Changed in packetary:
status: In Progress → Fix Released
Revision history for this message
Sergey Yudin (tsipa740) wrote :

It's not clear for me how this commit is supposed to bring rpmUtils and createrepo python libraries and even if there is something in docs which may bring those python libs as dependencies why no list those dependencies for python package explicitly?

Revision history for this message
Ivan (ibogomazov) wrote :

There is no rpmUtils and createrepo in python pypi. That's why we install them with system packages.

Revision history for this message
Sergey Yudin (tsipa740) wrote :

Im not sure where you installing rpmutils and createrepo but i think that would be good idea to

1) write it out onto documentation https://github.com/openstack/packetary/blob/master/doc/source/installation.rst

2) do not import rpmutils and do not trow error when rpmutils is not used
(.venv)jenkins@slave08:~/o/packetary$ packetary clone -t deb -r /home/jenkins/ubuntu_mirrors.yaml -R /home/jenkins/ubuntu_packages.yaml -d /tmp/mirrors/ubuntu
Could not load 'rpm': No module named rpmUtils
No module named rpmUtils
Traceback (most recent call last):
  File "/home/jenkins/o/packetary/.venv/local/lib/python2.7/site-packages/stevedore/extension.py", line 163, in _load_plugins
    verify_requirements,
  File "/home/jenkins/o/packetary/.venv/local/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_one_plugin
    plugin = ep.load(require=verify_requirements)
  File "/home/jenkins/o/packetary/.venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/jenkins/o/packetary/.venv/local/lib/python2.7/site-packages/packetary/drivers/rpm_driver.py", line 21, in <module>
    import rpmUtils
ImportError: No module named rpmUtils

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.