Skip to content
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 (Cherry-pick of #20139) #20142

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

WorkerPants
Copy link
Member

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.

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>
@WorkerPants WorkerPants added this to the 2.18.x milestone Nov 2, 2023
@WorkerPants WorkerPants added the category:bugfix Bug fixes for released features label Nov 2, 2023
@huonw huonw merged commit 96d5a2c into 2.18.x Nov 2, 2023
24 checks passed
@huonw huonw deleted the cherry-pick-20139-to-2.18.x branch November 2, 2023 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants