Skip to content

Work around CI failure caused by deprecation warnings - #62

Merged
Mariatta merged 1 commit into
python:mainfrom
hugovk:myst-parser-workaround
Oct 4, 2022
Merged

Work around CI failure caused by deprecation warnings#62
Mariatta merged 1 commit into
python:mainfrom
hugovk:myst-parser-workaround

Conversation

@hugovk

Copy link
Copy Markdown
Member

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:mainOct 4, 2022
@hugovk
hugovk deleted the myst-parser-workaround branch October 4, 2022 14:02
Sign up for freeto 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

@hugovk@Mariatta