From 3ebd53be314c0e173e346bf71cc7ea946164441a 2024-02-22 14:30:57 From: M Bussonnier Date: 2024-02-22 14:30:57 Subject: [PATCH] Depend upon traitlets >5.13.0 (#14353) In previous versions, `traitlets.List` does not inherit from `typing.Generic` which means it does not implement `__class_getitem__` which means [`List[ast.NodeTransformer]`](https://github.com/ipython/ipython/blob/8.22.0/IPython/core/interactiveshell.py#L331) raises at runtime. --- diff --git a/pyproject.toml b/pyproject.toml index 2efaeaf..6dc1389 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ "prompt_toolkit>=3.0.41,<3.1.0", "pygments>=2.4.0", "stack_data", - "traitlets>=5", + "traitlets>=5.13.0", "typing_extensions; python_version<'3.10'", ] dynamic = ["authors", "license", "version"]