Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481342 - dev-python/ipython-1.0.0 should depend on dev-python/jinja
Summary: dev-python/ipython-1.0.0 should depend on dev-python/jinja
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://ipython.org/ipython-doc/stable...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 16:22 UTC by jcpetkovich
Modified: 2013-08-27 20:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,4.88 KB, text/plain)
2013-08-16 16:22 UTC, jcpetkovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jcpetkovich 2013-08-16 16:22:53 UTC
Created attachment 356234 [details]
emerge --info output

The newest ipython ebuild in the tree is missing a new dependency of ipython (jinja) when the useflag "notebook" is enabled.


    ~ $ ipython notebook
    Traceback (most recent call last):
      File "/usr/bin/ipython-python2.7", line 9, in <module>
        load_entry_point('ipython==1.0.0', 'console_scripts', 'ipython')()
      File "/usr/lib64/python2.7/site-packages/IPython/__init__.py", line 118, in start_ipython
        return launch_new_instance(argv=argv, **kwargs)
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 538, in launch_instance
        app.initialize(argv)
      File "<string>", line 2, in initialize
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/lib64/python2.7/site-packages/IPython/terminal/ipapp.py", line 310, in initialize
        super(TerminalIPythonApp, self).initialize(argv)
      File "<string>", line 2, in initialize
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/lib64/python2.7/site-packages/IPython/core/application.py", line 361, in initialize
        self.parse_command_line(argv)
      File "/usr/lib64/python2.7/site-packages/IPython/terminal/ipapp.py", line 305, in parse_command_line
        return super(TerminalIPythonApp, self).parse_command_line(argv)
      File "<string>", line 2, in parse_command_line
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 468, in parse_command_line
        return self.initialize_subcommand(subc, subargv)
      File "<string>", line 2, in initialize_subcommand
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
        return method(app, *args, **kwargs)
      File "/usr/lib64/python2.7/site-packages/IPython/config/application.py", line 400, in initialize_subcommand
        subapp = import_item(subapp)
      File "/usr/lib64/python2.7/site-packages/IPython/utils/importstring.py", line 42, in import_item
        module = __import__(package, fromlist=[obj])
      File "/usr/lib64/python2.7/site-packages/IPython/html/notebookapp.py", line 38, in <module>
        from jinja2 import Environment, FileSystemLoader
    ImportError: No module named jinja2


Adding dev-python/jinja[${PYTHON_USEDEP}] to RDEPEND under the useflag notebook fixes the issue.

Output of emerge --info attached.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-08-27 19:24:12 UTC
and lot's of other things unfortunately... Pandoc looks like pure fun
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-08-27 20:03:17 UTC
+  27 Aug 2013; Kacper Kowalik <xarthisius@gentoo.org> -ipython-0.10.1.ebuild,
+  -ipython-0.10.ebuild, -ipython-0.12.1.ebuild, -ipython-0.13.1-r1.ebuild,
+  -ipython-0.13.1.ebuild, -ipython-0.13.ebuild, ipython-0.12-r1.ebuild,
+  ipython-0.13.2.ebuild, ipython-1.0.0.ebuild, metadata.xml:
+  Add missing dependencies. Fixes bug #481342 and #481726 by
+  <jcpetkovich@gmail.com> and Arfrever Frehtes Taifersar Arahesis
+  <arfrever.fta@gmail.com> respectively. Drop obsolete versions