-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
pdm with python2 adding mypy error needs better error message #338
Comments
Thanks for catching this. It is more than an output format issue, some bugs lie there. mypy shouldn't even have been resolved successfully on Python 2.7. |
It turns out Based on the above analysis, there is little pdm can do on this rarely happening case. Users can anyway read the error from I also submitted a PR to make pdm quit early when the wheel is failed to build on install time, avoiding some mysterious error messages like |
You can try the master branch to see how the error message changes, not much though. |
Good work. Some error messages go away now.
I install the latest change on master branch with pipx. It seems unable to install …… pipx install git+https://github.com/pdm-project/pdm.git It will install failure and will tell me that the git-lfs command is missing. IMHO, the document needs to explain how to install the latest version of pdm, and avoid other ones to find out then be confused. |
I can install successfully on newly created ubuntu docker image, without git lfs installed |
This comment has been minimized.
This comment has been minimized.
I remove the git-lfs command and execute
git which version is 2.25.1 from ubuntu clones success without lfs. |
For both cases, can you check whether the files under |
I upgrade the git to the latest stable version 2.31.0, it clones with the same error… both can be fixed by installing the git-lfs. |
The best way to install the latest change of the master branch is by installing via archive URL. (:」∠)_ https://github.com/pdm-project/pdm/archive/1eec71944736320b3025efea608bf1d3b9fa3081.zip |
The project needs Python 3.5 or later to use mypy. Of course, it adds mypy failure but pdm needs to print a better error message.
Steps to reproduce
pdm add mypy
Actual behavior
adding package command run failure
add with '-v'
Expected behavior
Adding package command should run failure, but with a better error message.
Environment Information
The text was updated successfully, but these errors were encountered: