You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like #10559 removed "3.7" from the tests/mypy_test.py wrapper, so it would reject requests to test types in Python 3.7 style, but did not update scripts/runtests.py to stop asking for Python 3.7 style.
Adding "3.7" back to the list of acceptable Python versions in tests/mypy_test.py gets things working nicely for me; alternatively, updating scripts/runtests.py to ask for Python 3.8 support works too.
The text was updated successfully, but these errors were encountered:
Thanks for the report! Python 3.7 is only semi-supported in typeshed, since mypy dropped support. Even if we only officially drop support for 3.7 in January 2024 (#10113), I will send a PR to use 3.8 in runtests to prevent any potential problems.
srittau
added a commit
to srittau/typeshed
that referenced
this issue
Aug 21, 2023
Steps to reproduce:
clone a fresh copy of the repo
Set up a local development enviroment as described in
CONTRIBUTING.md
:Run the local tests as described in
tests/README.md
:Expected results:
Actual results:
mypy tests fail:
It looks like #10559 removed "3.7" from the
tests/mypy_test.py
wrapper, so it would reject requests to test types in Python 3.7 style, but did not updatescripts/runtests.py
to stop asking for Python 3.7 style.Adding "3.7" back to the list of acceptable Python versions in
tests/mypy_test.py
gets things working nicely for me; alternatively, updatingscripts/runtests.py
to ask for Python 3.8 support works too.The text was updated successfully, but these errors were encountered: