Bug 748141 - ipython-gui needs to require python-pygments
Summary: ipython-gui needs to require python-pygments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipython
Version: 16
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: 2011-10-22 11:28 UTC by T.C. Hollingsworth
Modified: 2013-01-10 10:57 UTC (History)
3 users (show)

Fixed In Version: ipython-0.11-3.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 03:35:52 UTC
Type: ---


Attachments (Terms of Use)

Description T.C. Hollingsworth 2011-10-22 11:28:08 UTC
The ipython Qt console fails to run because python-pygments is not required by ipython-gui.

$ ipython qtconsole
Traceback (most recent call last):
  File "/usr/bin/ipython", line 7, in <module>
    launch_new_instance()
  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 369, in launch_new_instance
    app.initialize()
  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 273, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "/usr/lib/python2.7/site-packages/IPython/core/application.py", line 298, in initialize
    self.parse_command_line(argv)
  File "/usr/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 269, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 340, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 322, in initialize_subcommand
    subapp = import_item(subapp)
  File "/usr/lib/python2.7/site-packages/IPython/utils/importstring.py", line 40, in import_item
    module = __import__(package,fromlist=[obj])
  File "/usr/lib/python2.7/site-packages/IPython/frontend/qt/console/qtconsoleapp.py", line 26, in <module>
    from pygments.styles import get_all_styles
ImportError: No module named pygments.styles

$ rpm -q ipython-gui
ipython-gui-0.11-2.fc16.noarch

Comment 1 Thomas Spura 2011-10-23 00:12:58 UTC
Thanks for noticing this!
IPython is quite complex, so I'm unsure, if this were all missing dependencies now (matplotlib was also missing).


Please test the update below, so this can be pushed to stable tomorrow (and make it properly into F16, or it will be a zero day update).

Comment 2 Fedora Update System 2011-10-23 00:13:23 UTC
ipython-0.11-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ipython-0.11-3.fc16

Comment 3 T.C. Hollingsworth 2011-10-23 03:00:41 UTC
The Requires look good.  I ran the testsuites and only two tests that are known to be broken upstream fail:
https://github.com/ipython/ipython/pull/172

That certainly isn't your fault, so I gave it good karma.  Thanks for fixing this so quickly!  :-)

Comment 4 Fedora Update System 2011-10-25 03:35:52 UTC
ipython-0.11-3.fc16 has been pushed to the Fedora 16 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.