Skip to content

docs: state the minimum Python version next to the test instructions - #330

Open
Rahul (rahul05ranjan) wants to merge 1 commit into
microsoft:mainfrom
rahul05ranjan:docs/issue-328-329
Open

Rahul (rahul05ranjan) wants to merge 1 commit into
microsoft:mainfrom
rahul05ranjan:docs/issue-328-329

Conversation

@rahul05ranjan

Copy link
Copy Markdown
Contributor

What Problem This Solves

The "Repository" section of README.md says the package is standard-library only and how to run the tests, but never states which Python it needs — a reader has to dig into pyproject.toml or the badge to find out (#328, #329).

Why This Change Was Made

The repository pins the minimum in three places already; the README paragraph with the test instructions is the one spot a contributor actually reads first that omits it. Stating it there keeps the docs self-consistent:

  • pyproject.toml: requires-python = ">=3.10"
  • the CI matrix in .github/workflows/tests.yml: lowest tested version is Python 3.10
  • the badge and the "Python 3.10 or newer" line near the top of README.md

User Impact

Anyone following the README's test/build instructions now sees the Python floor up front, before they clone and hit a requires-python error.

Evidence

Docs-only change: one sentence in README.md, no code touched.

  • The minimum version was taken from the repo's own config (pyproject.toml requires-python = ">=3.10", confirmed against the CI matrix and the existing badge), not guessed.
  • Sanity test run after the change (Python 3.13.5, Linux):
python -m pytest tests/test_plugin_package.py
38 passed, 10 skipped in 21.28s

The skips need Windows, a real agent CLI or a non-root user — unrelated to a README edit.

Fixes #328
Fixes #329

The Repository section of the README says the package is standard-library
only and how to run the tests, but not which Python it needs. State the
minimum next to the test instructions, matching pyproject.toml's
requires-python, the badge and the requirement near the top of the README.

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>
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.

[scout] State the minimum Python version in the README README: state the minimum Python version next to the test instructions

1 participant