Bug 1213806 - Huge dep chain for python-jira
Summary: Huge dep chain for python-jira
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jira
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-21 10:44 UTC by Mathieu Bridon
Modified: 2015-05-04 15:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-28 13:52:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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