Bug 1308906

Summary: python-migrate: broken dependency with python-pbr
Product: [Fedora] Fedora EPEL Reporter: bwellkamp
Component: python-migrateAssignee: Joel Capitao <jcapitao>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: apevec, pfrields, ricky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-13 13:09:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description bwellkamp 2016-02-16 12:24:06 UTC
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:

pkg_resources.require(self.spec)
   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):

python-migrate-0.9.2-2.el7
python-pbr-1.8.1-2.el7.noarch

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.

Comment 1 Fedora Admin user for bugzilla script actions 2022-07-26 13:08:39 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2023-01-10 13:30:32 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Fedora Admin user for bugzilla script actions 2023-01-18 12:40:45 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Fedora Admin user for bugzilla script actions 2023-05-27 00:10:07 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.