On Fri, Apr 25, 2025 at 12:17:26PM +0000, Gordon Ball wrote:
I'm unable to reproduce this in a fresh install; ipython3 appears to
start and function normally.
I suspect there is something wrong with other dependencies of
python3-ipython; `List` in `interactiveshell.py` in ipython 8.30 isn't
`typing.List` (which is imported, but aliased as `ListType`), but
`traitlets.List`. However, both of these types are subscriptable, which
suggests that maybe there is an older version of traitlets (or some
other transitive dependency) getting imported?
Dima, what version of python3-traitlets do you have installed? ipython
requires at least 5.13, but there was also a temporary revert to
5.14.3+really5.5.0-1 last year which might confuse things if you still
have that installed for some reason. And the version against which this
bug is reported (8.30.0-2) didn't have a versioned dependency on
python3-traitlets.
--
Colin Watson (he/him) [cjwat...@debian.org]