Bug 872176 - Superfluous ipython dependencies
Summary: Superfluous ipython dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-01 13:25 UTC by Radek Novacek
Modified: 2016-12-01 00:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-03 22:24:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Dependency check log from yum (40.95 KB, text/plain)
2012-11-01 13:25 UTC, Radek Novacek
no flags Details

Description Radek Novacek 2012-11-01 13:25:34 UTC
Created attachment 636671 [details]
Dependency check log from yum

IPython interactive shell (from python-ipython-console) drags in a lot of dependencies that are in my opinion not necessary. Would it be possible to strip them out (e.g. by adding more subpackages that would drag them.

Especially python-matplotlib drags in stuff like SDL, texlive, python-numpy etc.

In my specific case, attempt to install ipython shell on headless F18 virtual machine resulted in 55MiB downloaded and 174MiB installed. See attached yum log.

Version:
ipython-0.13.1-1.fc18

Comment 1 Thomas Spura 2012-11-01 14:12:14 UTC
Thanks for the bug report.

Hmm, this will be a tough one as ipython has the "--pylab" support. It seems that cannot easily be disabled or removed and requires further patching or ipython will crash badly...

I will take a look on it, when I find the time soon...

Maybe it would be best to just not require python-matplotlib and patch ipython to not crash and tell the user that matplotlib couldn't be found and needs to be installed manually.

Comment 2 Radek Novacek 2012-11-01 14:22:47 UTC
(In reply to comment #1)
> Maybe it would be best to just not require python-matplotlib and patch
> ipython to not crash and tell the user that matplotlib couldn't be found and
> needs to be installed manually.

Looks like good approach, I believe that most users of ipython console don't use that functionality. And who does can easily install python-matplotlib manually.

Comment 3 Fedora Update System 2013-02-21 09:19:41 UTC
ipython-0.13.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ipython-0.13.1-3.fc18

Comment 4 Thomas Spura 2013-02-21 09:20:22 UTC
The console shouldn't need to require python-matplotlib anymore after this pull request:
https://github.com/ipython/ipython/pull/2681

So let's give it a try and please report bugs, when something goes wrong.

The notebook and the gui package will now require matplotlib.

Comment 5 Fedora Update System 2013-02-23 00:57:08 UTC
Package ipython-0.13.1-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ipython-0.13.1-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2859/ipython-0.13.1-3.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-03-03 22:24:38 UTC
ipython-0.13.1-3.fc18 has been pushed to the Fedora 18 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.