-
Notifications
You must be signed in to change notification settings - Fork 12
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
geo_e4cv nbsphinx error: module 'jinja2.utils' has no attribute 'escape' #233
Comments
Is this due to Python version (3.8 is used)? Try Py3.9. |
Aha! Swap the order of the channels here. hklpy/.github/workflows/publish-docs.yml Line 59 in de21ead
|
Trying to replicate, so far cannot reproduce locally: micromamba create -y -n dev-hklpy python=3.8
micromamba install -y -n dev-hklpy -f environment.yml
micromamba install -y -n dev-hklpy jupyter nbconvert "sphinx=4.4.0" sphinx_rtd_theme nbsphinx sphinxcontrib-napoleon make flake8 black pandoc -c conda-forge -c defaults
eval "$(micromamba shell hook --shell=bash)"
micromamba activate dev-hklpy
pip install -e .
make -C docs clean html |
Locally, no problem building with either Py 3.8 or 3.9. Need to get a list of the specific packages installed in the Actions workflow run. Note Sphinx version 5.0.2 is available but the workflow installs 4.4.0. Curious, that. |
Good time to switch the workflow to micromamba (#231). |
I'm not convinced that |
See: jupyter/nbconvert#1736 |
Since switching to nbsphinx, the workflow that publishes documentation has failed (https://github.com/bluesky/hklpy/runs/6995106866?check_suite_focus=true, https://github.com/bluesky/hklpy/runs/6995279669?check_suite_focus=true) with this error:
This error might not be limited to this one notebook. The workflow stops on the first error:
The text was updated successfully, but these errors were encountered: