-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add setuptools as a dependency on Python 3.12? #15579
Comments
One possible alternative is to teach |
I think fine to include setuptools as a dependency. We could also have a mypyc extra that includes it, like we do for dmypy or reports. Eli's suggestion sounds great, but is little orthogonal |
I'd personally prefer this, but agree that having it as an unconditional dependency would also probably be fine |
I ran into this problem locally and in CI. |
Mypyc needs
distutils
orsetuptools
to run, but Python 3.12 no longer bundlesdistutils
(PEP 632). This seems to imply that we need to includesetuptools
as a dependency of mypy (at least on Python 3.12 or later), or unbundle mypyc into a separate distribution on PyPI. Thoughts?The text was updated successfully, but these errors were encountered: