-
Notifications
You must be signed in to change notification settings - Fork 674
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
Jupyterbook not building with sphinxcontrib-bibtex failure #1137
Comments
I encountered the same problem in running Github Actions to build my site today, though versions are different.
|
Same as @spring-haru here: I got the |
Argg - this is because |
@choldgraf correct! I've just tried it, the For the rest of people in the thread: just add Edit: |
And for those of us using something like poetry, the following is key: sphinxcontrib-bibtex = {version = "<2.0.0"} |
The root cause of previous build failures seems to be related to an incompatible upgrade of the `sphinxcontrib-bibtex` package as also noted in jupyter-book/jupyter-book#1137. This pin can most likely be removed once a new version of `jupyter-book` is available, either because `jupyter-book` includes the pin in its dependencies or because it adapts to the new requirements of `sphinxcontrib-bibtex`. I've also removed the tag for the gitlab runner as it is very likely that it was working on the one runner and not on the other because it cached an older version of `sphinxcontrib-bibtex` and as soon as the cache would be emptied the issue might arise again.
I am having the same issue. Adding |
Thank you for quick resolution. It seems to be working with pinning to version 1.0.0 |
Fix jupyter-book build by pinning sphinxcontrib-bibtex version to < 2.0 per jupyter-book/jupyter-book#1137.
Fix jupyter-book build by pinning sphinxcontrib-bibtex version to < 2.0 per jupyter-book/jupyter-book#1137. 81c9255
The new major release brings changes that break jupyter-book. Reference: jupyter-book/jupyter-book#1137
I'm new to Jupyter Book, but maybe an entry could be added to the FAQ for new users who encounter this problem ? A simple quick and dirty fix without having to handle versions with pip is to add
in the |
FIx from here jupyter-book/jupyter-book#1137
This error is caused by sphinx-bibtex major 2.0.0 release which is incompatible. Using version 1.0.0 can fix this. For more information, https: //github.com/jupyter-book/jupyter-book/issues/1137
I second this. |
just came across this and crawled open issues for a bit trying to figure things out. it wasn't clear that the current (jbook 0.10.2) documented citations syntax requires sphinxcontrib-bibtex>2.0.0 https://jupyterbook.org/content/citations.html?highlight=citations#change-the-in-line-citation-style if you're installing jupyterbook from conda-forge it will pull sphinxcontrib-bibtex<2 until conda-forge/sphinxcontrib-bibtex-feedstock#16 is merged. My current workaround is to # Bibliography
bibtex_bibfiles:
- references.bib
sphinx:
config:
bibtex_reference_style: author_year # or label, super, \supercite |
Sphinx doc generation has been failing because of latest updates from `sphinxcontrib-bibtex`. Pinning it `<2.0.0` to fix it. ref: jupyter-book/jupyter-book#1137 (comment)
Sphinx doc generation has been failing because of latest updates from `sphinxcontrib-bibtex`. Pinning it `<2.0.0` to fix it. ref: jupyter-book/jupyter-book#1137 (comment)
Major version in sphinx-bibtex is incompatible with this library's sphinx version. This commit restricts the version number: jupyter-book/jupyter-book#1137 (comment) The latest release of jinja2 introduces was not compatible with this library's sphinx version. This commit restricts the version number: readthedocs/readthedocs.org#9038 (comment) isort is used in pre-commit hook but does not come with the requirements-dev.txt. This commit adds it to have it available during development. Building the docs with a Jupyter notebook in it requires pandoc. The README is updated to include an installation instruction. Using conda is suggested in this stackoverflow question: https://stackoverflow.com/questions/62398231/building-docs-fails-due-to-missing-pandoc
Sphinx doc generation has been failing because of latest updates from `sphinxcontrib-bibtex`. Pinning it `<2.0.0` to fix it. ref: jupyter-book/jupyter-book#1137 (comment)
I am unable to build a jupyter book with following error /home/ubuntu/anaconda3/envs/testjb/lib/python3.9/site-packages/sphinxcontrib/bibtex/init.py
Steps taken :
My requirements.txt
The text was updated successfully, but these errors were encountered: