I recently updated the nbdev version of an “old” project of mine (I made a new conda environment), and now automatic tests in github (the “Run tests” part of the build) are failing with a
JavaScript
x
2
1
'coroutine' object is not subscriptable
2
error per notebook, that seems totally unrelated to my code. There are also a few
JavaScript
1
2
1
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2
and
JavaScript
1
2
1
RuntimeWarning: coroutine 'ZMQSocketChannel.get_msg' was never awaited
2
None of this happens when I run nbdev_test_nbs
locally.
Any clue?
Advertisement
Answer
I faced the very same issue. It turned out that I had nbconvert
version pinned in my setup.py
, like 'nbconvert~=5.6.1'
.
After removing this restriction tests started to pass again.
P.S. The version of nbconvert
is now 6+.