A new release of mypy 0.920 is currently breaking our python builds.
I've filed an issue [1] about this as i don't clearly see what's the problem.
Another workaround would be to pin 0.910 in all tox.ini.
A new release of mypy 0.920 is currently breaking our python builds.
I've filed an issue [1] about this as i don't clearly see what's the problem.
Another workaround would be to pin 0.910 in all tox.ini.
It was suggested to drop the type annotation in those files [1].
I'm currently planning to:
[1]
swh/__init__.py swh/loader/__init__.py
Issue upstream closed.
Mostly all swh repository (besides loader-bzs which @Alphare will take care of) are back to green now.
As mypy has been pinned, we should no longer be disturbed by such an upstream change.
We'll need to attend to upgrading mypy once in a while though somehow.
Using swh-environment/bin/change-all-repos will be helpful then.