-
Notifications
You must be signed in to change notification settings - Fork 8
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
Set upper limit on version of nbconvert
#215
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
.github/workflows/testing.yml
Outdated
- name: Install pandoc | ||
run: | | ||
# Specify the desired version of Pandoc | ||
PANDOC_VERSION="3.1.11.1" # Update this to the version you need | ||
# Download the pre-built binary package for Linux | ||
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb | ||
# Install the downloaded package | ||
sudo dpkg -i pandoc-${PANDOC_VERSION}-1-amd64.deb | ||
# Remove the downloaded package file | ||
rm pandoc-${PANDOC_VERSION}-1-amd64.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm...updating to the most recent release of pandoc still leads to the same error.
I got this step with help from ChatGPT.
...while adding some backticks
- name: Install pandoc | ||
run: | | ||
PANDOC_VERSION="3.1.11.1" | ||
wget -q https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb | ||
sudo dpkg -i pandoc-${PANDOC_VERSION}-1-amd64.deb | ||
rm pandoc-${PANDOC_VERSION}-1-amd64.deb | ||
pandoc --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This didn't fix the problem, but it did get rid of the warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create an issue to ensure that we do not overlook this matter, as it could have a significant impact in the future.
nbconvert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This helps bypass the documentation failure. We'll revisit this issue soon. Thanks @namurphy
This PR is to address the following error that started showing up multiple times in our documentation builds:
I was able to resolve the error by requiring
nbconvert < 7.14
. I also tried changing the OS in the GitHub Action fromubuntu-latest
tomacos-latest
and upgrading to the most recent version ofpandoc
, but neither of those changes got rid of the error.