Skip to content

feat: pin pytest/pytest-cov in the Python CI scaffold #426

Backlog

Description

@jflowers

From PR #422 review feedback (uf-divisor, LOW — dependencies).

Finding

The Python variant's test job installs pytest and pytest-cov unpinned (floating latest). This diverges from the Go variant (pinned via go.mod) and the Node variant (npm ci from a lockfile): a new major release can break a consumer's scaffolded CI without any change to their code, and two runs of the same commit can install different test tooling.

Location: internal/scaffold/assets/ci/gaze-ai-report-python.yml:48 (pip install -e . && pip install pytest pytest-cov).

Suggested approach

Pin pytest/pytest-cov versions in the template (with a periodic bump path), or document the rationale for leaving them floating.

Context

Review thread: #422 (comment)

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions