Bug 1308906 - python-migrate: broken dependency with python-pbr
python-migrate: broken dependency with python-pbr
Status: NEW
Product: Fedora EPEL
Classification: Fedora
Component: python-migrate (Show other bugs)
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Alan Pevec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-16 07:24 EST by bwellkamp
Modified: 2016-09-19 22:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description bwellkamp 2016-02-16 07:24:06 EST
Description of problem:

In EPEL we have python-migrate-0.9.2-2.el7.noarch which requires python-pr in version >=0.5.21,<1.0 but python-pbr is only available as python-pbr-1.8.1-2.el7.noarch.
Please note that this dependency is only set in requirements.txt for python in the package sources and not as an installation dependency for the rpm.

Using a WSGI script raises an exception:

   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)
 DistributionNotFound: pbr>=0.5.21,<1.0

Version-Release number of selected component (if applicable):


How reproducible:

Installation of source rpms and check requirements.txt fpor python-migrate.

Actual results:

Broken dependency with current version of python-pbr.

Expected results:

python-migrate should work with the version of python-pbr we hae in EPEL.

Additional info:

I would suggest to add a "Requires" tag in the .spec file of python-migrate for python-pbr in this case because in fact there's a dependency described above.

Note You need to log in before you can comment on or make changes to this bug.