← All tasks
pythonjupyter/nbclient #203Not a task: already works

nbclient 0.5.11 not compatible with traitlets 4.3.3

envgap__jupyter__nbclient-203

01 / FAILURE SIGNATURE

As reported upstream

ImportError: cannot import name 'Callable' from 'traitlets' (/usr/local/lib/python3.7/site-packages/traitlets/__init__.py)
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
3d10059aa0fa3f703c4e0d69d93ba3d4f1a3f5c3
Manifest
requirements.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

jupyter/nbclient #203 · read the original issue
I have nbclient 0.5.11 with traitlets 4.3.3.



`import nbclient `

would give error below:



```

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/usr/local/lib/python3.7/site-packages/nbclient/__init__.py", line 6, in <module>

    from .client import NotebookClient, execute  # noqa: F401

  File "/usr/local/lib/python3.7/site-packages/nbclient/client.py", line 18, in <module>

    from traitlets import (

ImportError: cannot import name 'Callable' from 'traitlets' (/usr/local/lib/python3.7/site-packages/traitlets/__init__.py)

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]