Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678742 - dev-python/bpython should depend on dev-python/typing
Summary: dev-python/bpython should depend on dev-python/typing
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 11:16 UTC by Thomas Capricelli
Modified: 2019-02-26 14:24 UTC (History)
1 user (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 Thomas Capricelli 2019-02-25 11:16:17 UTC
If i install bpython and starts it, i have the following error:


% bpython
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/bpython", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by curtsies


I can manually install the 'typing' by doing:
emerge -1 dev-python/typing

Then everything works well:

% bpython
bpython version 0.17.1 on top of Python 2.7.15 /usr/bin/python2.7
>>>
Comment 1 Larry the Git Cow gentoo-dev 2019-02-26 14:24:09 UTC
The bug has been referenced in the following commit(s):

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

commit f369e978f691eab9f4ca842a414449b1211ce857
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2019-02-26 14:23:06 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2019-02-26 14:23:45 +0000

    dev-python/curtsies: depend on dev-python/typing correctly
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=678742
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 dev-python/curtsies/curtsies-0.3.0-r1.ebuild    | 38 +++++++++++++++++++++++++
 dev-python/curtsies/files/curtsies-typing.patch |  9 ++++++
 2 files changed, 47 insertions(+)