Closed AlexWaygood closed 1 year ago
As a co-maintainer I'm going to say we definitely should make the error message better :)
We shouldn't silently skip projects that can't be installed, because then we may never notice when projects stop working. However, it might be reasonable to add some mechanism that allows us to skip Materialize if running under 3.11, if as typeshed maintainers we think the benefit of getting 3.11 coverage outweighs the cost of dropping this project.
Note if you were to run with 3.11, you may be affected by https://github.com/python/cpython/issues/100133
When run on Python 3.11, primer currently crashes with the following traceback (see https://github.com/python/typeshed/pull/9336):
This traceback arises from the fact that the requirements for the
Materialize
project can't be installed on Python 3.11. However, there's nothing in the traceback to indicate that it's theMaterialize
project that's the problem here (though admittedly it's not too hard to figure it out if you do a CTRL-F forci/builder/requirements.txt
in the mypy_primer source code).Would you be open to a PR improving the error message if the requirements for a project can't be installed? Alternatively we could skip projects where the requirements can't be installed, but that seems like it could lead to errors going unnoticed, which would be bad.