Repository navigation
docs: fix docs CI on Python 3.11 and default to SDK 0.23.2 - #3
Merged
Merged
Conversation
Backslashes inside f-string expressions are only legal from Python 3.12, so the docs CI (3.11) failed with a SyntaxError. The default SDK_VERSION is now the published release, so CI regenerates the committed docs as-is.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Docs workflow has failed on every run so far, including the merged PRs #1 and #2:
scripts/gen_docs.pyhad two backslashes inside f-string expressions. They are only valid from Python 3.12, and CI runs 3.11, so the script died with aSyntaxError. Both expressions now live outside the f-strings.SDK_VERSIONdefault was still0.23.0, while the committed docs pin0.23.2. CI regenerates with the default, so the sync check would have failed next. The default is now0.23.2and should be bumped with each release.No generated output changes: running the script with no env vars (as CI does) reproduces the committed docs exactly on Python 3.12 and 3.14.
The same fix goes to the copy in wf-sdks.