Skip to content
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

Type-check on Python 3.12 #4352

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Type-check on Python 3.12 #4352

wants to merge 6 commits into from

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented May 9, 2024

Summary of changes

Actually type-check targeting all Python versions in CI, including 3.12

I'd rather if it was possible for the CI to tell mypy which python version to target to override python_version config.

Pull Request Checklist

  • Changes have tests (these are the test changes)
  • News fragment added in newsfragments/. (not public-facing)
    (See documentation for details)

@Avasam Avasam marked this pull request as draft May 10, 2024 01:17
@Avasam
Copy link
Contributor Author

Avasam commented May 10, 2024

I'm gonna leave this one for later. I won't have a choice but to tackle it to merge setuptools stubs from typeshed, but it doesn't affect pkg_resources which I'm focusing on for now.

@Avasam
Copy link
Contributor Author

Avasam commented May 17, 2024

Looks like I'll have to handle a handful of the typeshed-related TODOs first. Because distutils imports become Any in Python 3.12, a handful of type-ignores become unused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant