Skip to content

Work around CI failure caused by deprecation warnings #62

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

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Work around CI failure caused by deprecation warnings #62

merged 1 commit into from
Oct 4, 2022

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Oct 4, 2022

The CI is broken, for example at #61

Exception occurred:
  File "/opt/hostedtoolcache/Python/3.[10](https://github.com/python/docs-community/actions/runs/3181866677/jobs/5187105115#step:5:11).7/x64/lib/python3.10/site-packages/docutils/frontend.py", line 662, in __init__
    warnings.warn('The frontend.OptionParser class will be replaced '
DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
The full traceback has been saved in /tmp/sphinx-err-27jjpvsq.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
reading sources... [  5%] community/community-guide                            
Error: Process completed with exit code 2.

Already reported upstream issue: executablebooks/MyST-Parser#612

In the meantime, let's work around it by pinning to docutils < 0.19.

@Mariatta Mariatta merged commit 8d5a285 into python:main Oct 4, 2022
@hugovk hugovk deleted the myst-parser-workaround branch October 4, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants