Skip to content

Lower the minimum Python version to 3.10 #7

Closed

Description

@DataDave-Dev

Context

becwright requires Python 3.12+ (requires-python = ">=3.12" in pyproject.toml).
That is a high bar, and it is awkward for a tool that markets itself as
language-agnostic — a JS/Go/Rust developer has to install a very recent Python
just to guard their repo.

Proposed approach

  • Lower requires-python to >=3.10 (or >=3.9 if feasible).
  • Audit the codebase for 3.11/3.12-only syntax. Annotations are deferred via
    from __future__ import annotations, so X | None and list[str] should be
    fine, but verify any runtime usages.
  • Add the new minimum to the CI matrix in .github/workflows/ci.yml.

Acceptance criteria

  • The full test suite passes on the new minimum version.
  • The CI matrix covers the new minimum plus current versions.
  • requires-python and the docs are updated.

Relevant files

pyproject.toml, .github/workflows/ci.yml.

Activity

  1. added
    enhancement
    help wanted
    on Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions