Skip to content

mypy>=1.18 causes autoscaling typecheck to hang #8454

@pcrespov

Description

@pcrespov

When upgrading tool requirements in #8435, the autoscaling CI pipeline started hanging during the typecheck step.

Image

Steps to Reproduce:

cd services/autoscaling
make install-dev
make mypy   # <-- hangs

Findings:

  • The hang occurs with mypy>=1.18.
  • Pinning to mypy<=1.18 (currently 1.17.1) avoids the issue.
  • Tried make mypy-debug but was unable to identify the root cause.

Workaround:
constrained mypy to <=1.18 in _tools.in.

Metadata

Metadata

Assignees

Labels

t:maintenanceSome planned maintenance work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions