TYP/CI: bump mypy&pyright
Mypy aims to have a monthly release.
Marking as draft until mypy 0.950 is available through conda mypy 0.950 is now available on conda-forge :) doc-test failure seems to be unrelated but mypy&pyright passed :)

@simonjayhawkins @twoertwein planning to restart the ci here once #47015 is green and merged, so nothing more to do here as far as i'm concerned.