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?

```
Python 3.13.3 (main, Apr 10 2025, 21:38:51) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import traitlets
>>> traitlets
<module 'traitlets' from
'/usr/lib/python3/dist-packages/traitlets/__init__.py'>
>>> traitlets.__version__
'5.14.3'
>>> import ast
>>> traitlets.List[ast.NodeTransformer]
traitlets.traitlets.List[ast.NodeTransformer]
```

Reply via email to