Skip to content

python_type_check CI is broken: missing stubs for requests module #4009

@AnirudhDagar

Description

@AnirudhDagar

🐛 Bug

The python_type_check CI is failing since mypy can't find library stubs for requests module used here .
This can be seen in the failed tests for the recent commit by @prabhat00155 (although those changes are completely unrelated to this) and on some other PRs like #4008 (edit: and #4010)

Pitch

A simple fix would be to install them with python3 -m pip install types-requests or to avoid something like this happening later we should just run mypy --install-types to install all the missing stubs.

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