Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831141 - dev-python/ipython-8.0.0: Should require dev-python/stack_data, which should require dev-python/executing dev-python/asttokens dev-python/pure_eval
Summary: dev-python/ipython-8.0.0: Should require dev-python/stack_data, which should ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 808378
  Show dependency tree
 
Reported: 2022-01-13 17:36 UTC by Bernd Feige
Modified: 2022-01-14 12:52 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2022-01-13 17:36:00 UTC
Just updated to dev-python/ipython-8.0.0 and on first start got:
$ ipython
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/ipython", line 33, in <module>
    sys.exit(load_entry_point('ipython==8.0.0', 'console_scripts', 'ipython')())
  File "/usr/lib/python-exec/python3.9/ipython", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/IPython/__init__.py", line 51, in <module>
    from .core.application import Application
  File "/usr/lib/python3.9/site-packages/IPython/core/application.py", line 27, in <module>
    from IPython.core import release, crashhandler
  File "/usr/lib/python3.9/site-packages/IPython/core/crashhandler.py", line 28, in <module>
    from IPython.core import ultratb
  File "/usr/lib/python3.9/site-packages/IPython/core/ultratb.py", line 101, in <module>
    import stack_data
ModuleNotFoundError: No module named 'stack_data'

After installing dev-python/stack_data I got ModuleNotFoundError's for the modules in the following packages, apparently all imported in stack_data/core.py:

dev-python/executing dev-python/asttokens dev-python/pure_eval

So it seems that dev-python/stack_data should require these?

Reproducible: Always
Comment 1 Harris Landgarten 2022-01-13 22:02:34 UTC
look like we also need dev-python/black as dependency
Comment 2 Larry the Git Cow gentoo-dev 2022-01-14 08:08:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646a67c11a0f08ff38722b5ad6e9b3fe71e9e762

commit 646a67c11a0f08ff38722b5ad6e9b3fe71e9e762
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-01-14 07:06:26 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-01-14 08:08:06 +0000

    dev-python/ipython: Fix dependencies and tests
    
    Closes: https://bugs.gentoo.org/831141
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../{ipython-8.0.0.ebuild => ipython-8.0.0-r1.ebuild} | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-01-14 12:52:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59392ba216311511cb07b1db528759ebceb6a10e

commit 59392ba216311511cb07b1db528759ebceb6a10e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-14 12:52:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-14 12:52:29 +0000

    dev-python/stack_data: fix RDEPEND
    
    Some of its test dependencies are runtime dependencies too.
    
    Closes: https://bugs.gentoo.org/831187
    Closes: https://bugs.gentoo.org/831141
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{stack_data-0.1.3.ebuild => stack_data-0.1.3-r1.ebuild}         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)