Bug 840826
| Summary: | Add git-review in EPEL6 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Trond H. Amundsen <trondham> |
| Component: | git-review | Assignee: | Pete Zaitcev <zaitcev> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | tomspur, zaitcev |
| 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: | 2012-08-21 18:39:23 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
Trond H. Amundsen
2012-07-17 10:20:22 UTC
This is weird, I threw it into Koji and it worked without any changes to Require: python-argparse. http://koji.fedoraproject.org/koji/buildinfo?buildID=345369 Requires are evaluated on installing the package. So when installing [1], python-argparse won't be installed and when it's not installed "by accident" git-review will fail, when it tries to import it. [1] http://koji.fedoraproject.org/koji/rpminfo?rpmID=3277506 An interesting question is why Koji doesn't automatically detect the argparse requirement. Perhaps it's because 'import argparse' is inside main(). I don't know the current state of this, but someone wanted to work on this: http://lists.fedoraproject.org/pipermail/python-devel/2010-March/000230.html AFAIK, there are still no automatic provides/requires yet. I see. The result is a package that builds and installs but fails with "ImportError: No module named argparse". Hopefuly git-review-1.17-2.el6 works better. https://koji.fedoraproject.org/koji/buildinfo?buildID=345641 (looks like I build 1.17-2.el6 which is not at all the same as 1.17-2.fc17) Thanks Pete. Tested git-review-1.17-2.el6 and confirmed that it works. Also, python-argparse was correctly pulled in as dependency. git-review-1.17-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/git-review-1.17-2.el6 git-review-1.17-2.el6 has been pushed to the Fedora EPEL 6 testing repository. git-review-1.17-2.el6 has been pushed to the Fedora EPEL 6 stable repository. |