Bug 1036078

Summary: bugwarrior does not work on Fedora 19 -- missing deps - conflicting requirement
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
Component: bugwarriorAssignee: Ralph Bean <rbean>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: puiterwijk, rbean
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-12 15:13:04 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 Pierre-YvesChibon 2013-11-29 11:30:03 UTC
When calling bugwarrior-pull for the first time on Fedora 19 it returns:

Traceback (most recent call last):
  File "/usr/bin/bugwarrior-pull", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2805, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 696, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: keyring

After some investigation, it seems to require python-keyring.

Once this package is installed, the output changes to:

  File "/usr/bin/bugwarrior-pull", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2809, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 598, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (requests 1.2.3 (/usr/lib/python2.7/site-packages), Requirement.parse('requests>=2.0.0'))

This is a more problematic issues since according to [1] python-requests-2.0.0 is only present in rawhide, not in F19 nor F20...

[1] https://apps.fedoraproject.org/packages/python-requests

Is there a way to go around this?

Comment 1 Fedora Update System 2013-12-16 15:53:41 UTC
bugwarrior-0.6.3-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/bugwarrior-0.6.3-2.fc19

Comment 2 Fedora Update System 2013-12-16 15:53:59 UTC
bugwarrior-0.6.3-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/bugwarrior-0.6.3-2.fc18

Comment 3 Fedora Update System 2014-01-07 09:37:07 UTC
bugwarrior-0.6.3-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-01-07 09:37:32 UTC
bugwarrior-0.6.3-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Patrick Uiterwijk 2014-01-18 13:59:55 UTC
Please note that bugwarrior on Fedora 20 has the exact same issue: it requires python-keyring (which it does not have a dep on), and it also requires python-requests >=2.0, which is not in Fedora 20.

Comment 6 Fedora Update System 2014-01-18 14:31:59 UTC
bugwarrior-0.6.3-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/bugwarrior-0.6.3-3.fc20

Comment 7 Fedora Update System 2014-01-18 14:32:21 UTC
bugwarrior-0.6.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/bugwarrior-0.6.3-3.fc19

Comment 8 Fedora Update System 2014-01-21 16:40:00 UTC
bugwarrior-0.7.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/bugwarrior-0.7.0-1.fc20

Comment 9 Fedora Update System 2014-01-21 16:40:21 UTC
bugwarrior-0.7.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/bugwarrior-0.7.0-1.fc19

Comment 10 Fedora Update System 2014-02-11 22:58:44 UTC
bugwarrior-0.7.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-02-11 23:05:41 UTC
bugwarrior-0.7.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.