Skip to content

chore: slim down Python requirements.txt to direct deps only #20019

@smartcontracts

Description

@smartcontracts

Summary

ops/check-changed/requirements.txt is a flat pip freeze with 12 pinned packages, but the script (main.py) only imports PyGithub and uses requests transitively. The remaining 10 packages (certifi, cffi, charset-normalizer, idna, pycparser, PyJWT, PyNaCl, urllib3, wrapt, Deprecated) are all transitive deps.

Pinning transitive deps blocks security updates and adds maintenance burden.

Action

Slim down to direct deps only (PyGithub==1.57, requests==2.32.0) or use a lockfile approach with uv (already available in mise.toml).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions