Skip to content

fix warnings during RTD builds#10907

Merged
dhalbert merged 1 commit intoadafruit:mainfrom
dhalbert:rstjinja-parallel-safe
Mar 30, 2026
Merged

fix warnings during RTD builds#10907
dhalbert merged 1 commit intoadafruit:mainfrom
dhalbert:rstjinja-parallel-safe

Conversation

@dhalbert
Copy link
Copy Markdown
Collaborator

Some ReadTheDocs builds were failing with these warnings:

WARNING: the `rstjinja` extension does not declare if it is safe for parallel reading, assuming it isn't - please ask the extension author to check and make it explicit
WARNING: doing serial read

Weirdly, when I re-ran a failing build it worked and did not generate the warnings.
Nevertheless, the fix appears to be to have rstjinja declare it self as safe for parallel read and write. (I had to look up what the warnings meant.) Since it does not store state, this appears to be fine.

Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dhalbert dhalbert merged commit 3ce5d5a into adafruit:main Mar 30, 2026
14 checks passed
@dhalbert dhalbert deleted the rstjinja-parallel-safe branch March 30, 2026 21:11
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