crate / crate-operator

The CrateDB Kubernetes Operator provides a convenient way to run CrateDB clusters inside Kubernetes.
https://crate.io
Apache License 2.0
24 stars 7 forks source link

Maintenance: Update to mypy v1.13.0 #654

Open amotl opened 2 months ago

amotl commented 2 months ago

Problem

Trying to update to Python 3.11 makes mypy croak.

fatal error: code.h: No such file or directory

-- https://github.com/crate/crate-operator/actions/runs/10957798573/job/30426680335?pr=549#step:6:91

Solution

Let's update mypy first.

amotl commented 2 months ago

Hi. This patch needs a few adjustments to satisfy the type checker. Resolving them probably needs better insights into the code base than what I can provide.

/cc @goat-ssh, @Taliik, @tomach

https://github.com/crate/crate-operator/actions/runs/10958103493/job/30427634720?pr=654