-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting no longer working with ipython==8.7.0
#687
Comments
I can confirm that the setup_args["entry_points"] = {"console_scripts": find_entry_points()} at line 142 of setup.py, which should also include the |
Thanks @nvaytet for reporting this and @maparent for finding the root cause for the problem. It looks like the IPython folks are already working on fixing this: ipython/ipython#13845, ipython/ipython#13848. In the meantime, a possible work-around should be to disallow the broken IPython version:
|
Had the same issue here. The old workaround of adding |
A little update: ipython/ipython#13848 has been merged, now we are only waiting for a new release. |
8.8.0 just got released yesterday |
Thanks @Zethson, I can confirm that syntax highlighting works again with IPython 8.8. |
I do not know if the issue lies with
nbsphinx
ornbconvert
, but after upgrading fromipython==8.5.0
toipython==8.7.0
, the syntax highlighting in our sphinx docs is gone.Only black text in the code blocks.
Before:
After:
The text was updated successfully, but these errors were encountered: