Skip to content

docs: fix docs CI on Python 3.11 and default to SDK 0.23.2 - #3

Merged
qasimleoo merged 1 commit into
mainfrom
fix/docs-ci-py311
Oct 15, 2026
Merged

qasimleoo merged 1 commit into
mainfrom
fix/docs-ci-py311

Conversation

@qasimleoo

Copy link
Copy Markdown
Collaborator

The Docs workflow has failed on every run so far, including the merged PRs #1 and #2:

  • scripts/gen_docs.py had two backslashes inside f-string expressions. They are only valid from Python 3.12, and CI runs 3.11, so the script died with a SyntaxError. Both expressions now live outside the f-strings.
  • The SDK_VERSION default was still 0.23.0, while the committed docs pin 0.23.2. CI regenerates with the default, so the sync check would have failed next. The default is now 0.23.2 and 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.

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.
@qasimleoo
qasimleoo merged commit 8fca0c3 into main Oct 15, 2026
1 check passed
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.

1 participant