-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3 runtests.py fails if python version == 3.11 #14487
Comments
I add that, removing the python version from the
|
I've seen this as well. As a workaround, you can run We want to always type check in 3.7 mode to make sure we don't use any features from more recent Python versions. The fix would be to install @aless10 Would you like to contribute a fix? It should be easy. |
Ok, but while running the runtests.py command, I got this error
I'd like also to fix this and update the README in order to explicit the fact that we want to use the 3.7 version. Is that ok? |
Bug Report
Following the contributor guide I run the command
python3 runtests.py
and I got an error, based on the python version that I use in my virtualenv vs the one listed in the ini file (3.7).To Reproduce
Expected Behavior
No errors
Actual Behavior
Your Environment
mypy.ini
(and other config files): mypy_self_check.iniI guess that the solution can be to remove the python version from the ini file. I'm going to open a pull request for this one if this happens to be a bug.
The text was updated successfully, but these errors were encountered: