AttributeError after updating to sphinx 4.0
My CI builds started to pickup sphinx 4 today. This gives a small error with cloud_sptheme:
EDIT: The cloud_sptheme conda package (in the conda-forge channel) have been patched to fix this issue. So use the conda package instead of pypi if you run into this.
Running Sphinx v4.0.0
loading translations [en]... done
Exception occurred:
File "/usr/share/miniconda/envs/sphinx/lib/python3.8/site-packages/cloud_sptheme/ext/escaped_samp_literals.py", line 92, in <listcomp>
if value is mod.emph_literal_role
AttributeError: module 'sphinx.roles' has no attribute 'emph_literal_role'
The full traceback has been saved in /tmp/sphinx-err-2k4d5rng.log, if you want to report the issue to the developers.