Skip to content

Add Python version compatibility guidance#25690

Merged
anp-oai merged 1 commit into
mainfrom
python-compat-in-agents-md
Jun 1, 2026
Merged

Add Python version compatibility guidance#25690
anp-oai merged 1 commit into
mainfrom
python-compat-in-agents-md

Conversation

@anp-oai
Copy link
Copy Markdown
Collaborator

@anp-oai anp-oai commented Jun 1, 2026

Why

Python contributions in this repository should target the declared Python 3 runtime instead of carrying Python 2 compatibility patterns forward. When compatibility across Python 3 point releases matters, contributors need a consistent source of truth for the minimum supported version.

What changed

  • Added Python development guidance to AGENTS.md stating that the repository uses Python 3+ and should not use the __future__ module.
  • Documented that contributors should check the nearest pyproject.toml requires-python field when evaluating Python 3 point-release compatibility.

Testing

Not run (guidance-only change).

@anp-oai anp-oai marked this pull request as ready for review June 1, 2026 21:05
@anp-oai anp-oai merged commit 433ac84 into main Jun 1, 2026
31 checks passed
@anp-oai anp-oai deleted the python-compat-in-agents-md branch June 1, 2026 21:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants