Skip to content

docs: note the minimum language runtimes in the bundled CLI quick start - #2312

Open
rinceyuan wants to merge 1 commit into
github:mainfrom
rinceyuan:docs/bundled-cli-runtime-versions
Open

docs: note the minimum language runtimes in the bundled CLI quick start#2312
rinceyuan wants to merge 1 commit into
github:mainfrom
rinceyuan:docs/bundled-cli-runtime-versions

Conversation

@rinceyuan

Copy link
Copy Markdown
Contributor

Summary

The bundled CLI quick start goes straight from install to code with no statement of the supported language runtimes, so nothing warns a reader who is on an unsupported one.

For Python this fails in a way that gives no hint about the cause. The package declares requires-python = ">=3.11", so on 3.10 pip does not report a conflict - it silently resolves to an old pre-3.11 SDK release. The quick start snippet then blows up inside that old release with an error that never mentions the Python version (AttributeError: type object 'Callable' has no attribute 'approve_all' in the linked issue).

This adds a note above the language tabs listing the same minimum runtimes already stated in the getting-started tutorial, and links there.

Notes

  • Versions copied verbatim from the Prerequisites section of docs/getting-started.md; the Python floor matches requires-python in python/pyproject.toml.
  • Prose sits above the <details> group, per the multi-language rule in the docs style guide.
  • No code blocks were touched, so docs-validate behaviour is unchanged.

Fixes #2293.

The quick start jumps straight to code with no version requirements. On a Python older than the declared 3.11 floor, pip resolves to an outdated SDK release instead of reporting the conflict, so the snippet fails with an error that says nothing about the Python version.

Fixes github#2293.
Copilot AI balanced review requested due to automatic review settings August 11, 2026 10:03
@rinceyuan
rinceyuan requested a review from a team as a code owner August 11, 2026 10:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds minimum supported runtime requirements to the bundled CLI quick start, helping prevent unsupported Python installations from resolving an outdated SDK.

Changes:

  • Lists minimum runtimes for all supported SDK languages.
  • Explains Python’s silent fallback behavior and links to prerequisites.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dariandawnblixtleo-hue dariandawnblixtleo-hue left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

approve

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.

Python SDK example code failed with 'Callable' has no attribute 'approve_all'

3 participants