-
-
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
Mypy (running in 3.10) complains that positional-only parameters are only supported in 3.8+ #13639
Comments
I'm so sorry, i should have searched more thoroughly for existing bugs. thanks for your help! |
likely hitting this: python/mypy#13639
likely hitting this: python/mypy#13639
likely hitting this: python/mypy#13639
I am hit by the same issue. Running mypy from GitHub Actions, with Python 3.11, on ubuntu-latest. Link to failed run: https://github.com/TheNewThinkTank/Fitness-Tracker/actions/runs/4908617686/jobs/8764498089 |
Looks like you're using a very old mypy: https://github.com/TheNewThinkTank/Fitness-Tracker/blob/422145d17167119d3a4bba75ed24548dcbeba50f/pyproject.toml#L12 Maybe try updating to the latest version (1.2.0)? :) We fix bugs in every release of mypy. We don't backport bugfixes to older versions. |
@AlexWaygood Thank you for the quick response. Updating mypy to version 1.2 fixed my issue. |
Bug Report
To Reproduce
reporting based on current project, will try and find time for a minimal repro later, but in short:
Actual Behavior
I did also try adding an explict
--python-version 3.10
flag, same result.Your Environment
debian
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: