-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Fix mypy cache dir not being created #20139
Conversation
I approved, but would you mind fleshing out the Pull Request description a bit? Namely, how it fixes the issue? Thanks! |
Sure. Updated the description a bit. |
I wonder how can I get it merged and released (possibly in 2.18) ? |
You ask :) Just applied the relevant labels to the PR |
LGTM. I'll enable auto-merge. Thanks for the PR! 🙌 |
This PR fixes an issue/bug mentioned in #19888. **Problem** Internal mypy cache directory/folder used by Pants is not being created. Therefore, the mypy cache cannot moved copied from temporary cache location [here](https://github.com/pantsbuild/pants/blob/d5ffed441396d89a2a7bc52fc994c52a00808f8a/src/python/pants/backend/python/typecheck/mypy/rules.py#L306) **Solution** Make sure the mypy cache directory/folder is created. --------- Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants. ✔️ 2.18.xSuccessfully opened #20142. Thanks again for your contributions! |
This PR fixes an issue/bug mentioned in #19888. **Problem** Internal mypy cache directory/folder used by Pants is not being created. Therefore, the mypy cache cannot moved copied from temporary cache location [here](https://github.com/pantsbuild/pants/blob/d5ffed441396d89a2a7bc52fc994c52a00808f8a/src/python/pants/backend/python/typecheck/mypy/rules.py#L306) **Solution** Make sure the mypy cache directory/folder is created. Co-authored-by: csqzhang <csqzhang@gmail.com> Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
This PR fixes an issue/bug mentioned in #19888.
Problem
Internal mypy cache directory/folder used by Pants is not being created. Therefore, the mypy cache cannot moved copied from temporary cache location here
Solution
Make sure the mypy cache directory/folder is created.