Bug 1213806

Summary: Huge dep chain for python-jira
Product: [Fedora] Fedora Reporter: Mathieu Bridon <mbridon>
Component: python-jiraAssignee: Ralph Bean <rbean>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, lnie, 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: 2015-04-28 13:52:19 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 Mathieu Bridon 2015-04-21 10:44:11 UTC
Description of problem:
python-jira has a dependency on ipython.

However, python-ipython is a metapackage which depends on (among other things) python-ipython-gui, which drags in Qt, Phonon, texlive, etc...

python-ipython also requires python-ipython-notebook, which brings in nodejs.

I don't think python-jira requires all of this. :)

In addition, the only file which actually requires anything from ipython is jirashell.py, which doesn't get installed by the package anyway.

So the requirement could be entirely dropped, without any consequence for users of the current python-jira package.

And new users would certainly be happier not to have to install all this extra stuff.

However, looking towards the future, jirashell.py does get installed properly in newer versions of python-jira, so the requirement would need to be added again.

Looking at python-jira 0.47 (the latest upstream release as of now), what actually is needed is this:

  from IPython.frontend.terminal.embed import InteractiveShellEmbed

This dependency is perfectly satisfied by python-ipython-console.

So I guess, the options are to either completely drop the (build) requirement, or replace it by python-ipython-console only.

Both solutions significantly reduce the dependency chain, the latter being future-proof.

Comment 1 Daniel Mach 2015-04-21 10:53:15 UTC
Or couldn't you split interactive part from the main python library to another subpackage? All we need is a thin JIRA client library.

Comment 2 Mathieu Bridon 2015-04-21 11:14:12 UTC
(In reply to Daniel Mach from comment #1)
> Or couldn't you split interactive part from the main python library to
> another subpackage? All we need is a thin JIRA client library.

Sure.

But like I said, the current version doesn't ship them at all, so **with the current** version, the dependency is totally superfluous.

Comment 3 Fedora Update System 2015-04-21 13:41:03 UTC
python-jira-0.13-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/python-jira-0.13-5.fc22

Comment 4 Fedora Update System 2015-04-21 13:41:16 UTC
python-jira-0.13-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-jira-0.13-5.fc21

Comment 5 Fedora Update System 2015-04-21 13:41:28 UTC
python-jira-0.13-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-jira-0.13-5.fc20

Comment 6 lnie 2015-04-23 07:31:30 UTC
python-jira-0.13-5.fc22 works

Comment 7 Fedora Update System 2015-04-28 13:17:21 UTC
python-jira-0.13-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-05-04 15:25:58 UTC
python-jira-0.13-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-05-04 15:26:16 UTC
python-jira-0.13-5.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.