-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make basedmypy and mypy installable at the same time and use a bmypy command #102
Comments
Also confusing is that it is reporting I think this would be clearer:
|
That won't fix this issue, will just give an error when someone tries to install both. Seems closer to #156 |
I really think this is impossible, as plugins depend on the |
How much do plugins interact with the internals of mypy? Would it be possible to have it install as bmypy, and have a separate, optional package to redirect mypy to bmypy for plugins? The optional package would have an issue if installed at the same time as mypy, but would then be able to detect the issue (when it sees the other mypy files) and warn the user. |
the current behavior leads to confusion and annoying behavior from pip, especially when trying to switch between normal mypy and basedmypy
Pip doesn't check if it is clobbering a directory on install pypa/pip/issues/4625
This would involve a significant amount of work to rename all of the modules and imports etc.
Plugins also tend to look at mypy internals (mypy passes it's version number to plugins, but they tend to try and import the internals anyway).
Workaround
Install one or the other with pipx, with a respective
--suffix
.The text was updated successfully, but these errors were encountered: