Sphinx build exception: HtmlFormatter object has no attribute 'get_linenos_style_defs' #308
-
In pycalphad's CI docs builds, I am getting a new (to us) error raised in Furo, but I don't know if this is a Furo issue or upstream issue. In this [CI build], I get the error on a Sphinx build:
In our Sphinx config, we are using: pygments_style = 'default'
pygments_dark_style = "native" In our previous successful build for the open PR (from 2021-11-08) we had the following requirements (via pip in the
In the failing build, the installed versions in that CI build are:
We didn't make any changes to the docs between the successful and unsuccessful runs that could cause this error. Some other non-docs, package-specific dependencies have changed, but they should be unrelated to this. Let me know if there's anything that I could do to further reproduce or narrow down the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
A smaller self-contained reproducer would be great. I am unable to reproduce this failure. I just tried building Furo's own docs against 4.3.0 (which, looks like I already had installed). First without the pygments configuration variables and once after, both builds were done with |
Beta Was this translation helpful? Give feedback.
-
Should be fixed by bdcf32e. |
Beta Was this translation helpful? Give feedback.
-
same issue here, but I found that unless I install pygments==2.11.2 manually, it still give me this error anyway, this problem is solved |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, |
Beta Was this translation helpful? Give feedback.
-
I am running in the same problem. I have |
Beta Was this translation helpful? Give feedback.
-
Fixed again, in 2022.09.15 – Pragmatic Pistachio. |
Beta Was this translation helpful? Give feedback.
Fixed again, in 2022.09.15 – Pragmatic Pistachio.