Skip to content

CI: mypy is installed unpinned, so local audits pass what CI fails (#4500, #4529) #4537

Closed

Description

@squid-protocol

mypy-audit.yml runs pip install mypy PyYAML unpinned, while local runs (tests/mypy_audit.py --ci via pr_gates.py) use whatever mypy the box venv has. On 2026-10-05/06, PRs #4500 and #4529 passed the local audit and failed CI on new errors. pr_gates already warns that CI installs mypy unpinned.

Fix: pin mypy in one requirements file used by CI, and have the local mypy gate run in a cached private venv with the pinned version when the local one differs.

🤖 Generated with Claude Code

Activity

  1. added
    ci-cd
    testing
    priority: high
    on Oct 6, 2026
  2. added
    scope:infra
    on Oct 16, 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

    ci-cdpriority: highscope:infratesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions