-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
[BUG] Mypy is in mandatory dependencies #583
Comments
Hm, looking at setup.py again, looks like it was an optional build dependency before for |
I understand how this is surprising. We decided to follow latest standards (aka. PEP) around packaging. If you look closely you will see that the error complain about both mypy and setuptools-scm as missing. Your command, Hope this clarify. Regards, |
No isolation does not matter here, forcing an optional dependency that is unused is still a bug. Maybe you should have used something like poetry that allows to handle dev.dependencies |
It does not solve your problem. You want us to force everyone to install poetry instead, which isn't 100% compliant of latest standards. As far I can understand, you still have the setuptools-scm issue. regards, |
You can check any python package in any distro like Arch or Fedora, |
That was not what the bug was about, not sure why that's the topic here. |
Describe the bug
Building 3.4.1 from PyPi sdist requires
mypy
to be present. #558 made this a mandatory dependency but it seems that it was only required for development purposes.I think it should be in
optional-dependencies
or if you are using frameworks like poetry it should be indev-dependencies
.To Reproduce
Try to build 3.4.1 from sdist
Expected behavior
It builds
Logs
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: