Skip to content

Require Python 3.11+ for the CLI Python #948

Open

Description

@tdstein

🤖 ## Parent

#944

What to build

Require Python 3.11+ for the CLI Python, per ADR-0001. Set requires-python = ">=3.11". Remove the toml dependency and fallbacks, collapse the pyjwt and snowflake-cli marker pairs to their newer pins, drop typing-extensions (import from typing), remove every sys.version_info compatibility branch, and regenerate the lockfile. The environment inspector must keep running under the CLI Python and only shell out to the content Python.

Update CI so the test matrix is 3.11–current and coverage runs on 3.11, update the justfile version list, change AGENTS.md to "Support Python 3.11+ (see ADR-0001)" without the typing_extensions guidance, and add a "Removed" CHANGELOG entry. That entry says Python 3.8–3.10 are no longer supported as the CLI Python, that content can still target them, and that 1.33.2 is the last compatible release.

Don't merge until 1.33.2 has been released, because main is linear.

Acceptance criteria

  • Package metadata requires Python >=3.11, and neither toml nor typing-extensions is a dependency
  • No sys.version_info compatibility branches or typing_extensions imports remain
  • The CI matrix, coverage pin and justfile cover only 3.11–current
  • The content Python test array still passes in its CI job
  • AGENTS.md and the CHANGELOG are updated

Metadata

Metadata

Assignees

Labels

ready-for-agentFully specified, ready for an autonomous coding agent

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions