Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC
Bug 678742 - dev-python/bpython should depend on dev-python/typing
Summary: dev-python/bpython should depend on dev-python/typing
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
Depends on:
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: ---


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/", line 3191, in <module>
  File "/usr/lib64/python2.7/site-packages/pkg_resources/", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/", line 583, in _build_master
  File "/usr/lib64/python2.7/site-packages/pkg_resources/", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/", 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):

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

    dev-python/curtsies: depend on dev-python/typing correctly
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andrey Grozin <>

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