jupyter / jupyter-sphinx

Sphinx extension for rendering of Jupyter interactive widgets.
https://jupyter-sphinx.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
188 stars 65 forks source link

Could not import module name `astroid` #209

Closed choldgraf closed 2 years ago

choldgraf commented 2 years ago

In the pydata theme this extension kinda randomly started failing with an error about astroid not being present (I'm not sure what this is):

https://github.com/pydata/pydata-sphinx-theme/runs/7727153212?check_suite_focus=true#step:5:17

Any idea what could be causing this?

akhmerov commented 2 years ago

No idea; astroid seems to be an AST implementation, which is used by code quality tools. However looking at all jupyter-sphinx imports, I can't find anything that would drag it in. The CI logs are fairly minimal, are you able to reproduce this locally?

choldgraf commented 2 years ago

I re-built today and the problem went away...I think it might have been a transient issue with IPython, so will close this!