Hi all! Running `pants check` keeps failing for me...
# general
w
Hi all! Running
pants check
keeps failing for me with this exception:
Copy code
12:46:11.01 [ERROR] 1 Exception encountered:

Engine traceback:
  in `check` goal

ProcessExecutionFailure: Process 'Building requirements_venv.pex' failed with exit code 1.
stdout:

stderr:
[Errno 13] Permission denied: '/Users/florenciasilvestre/.cache/pants/named_caches/pex_root/installed_wheels/0/02162f9b1151c25ed4f3634769ac80fd4af3dd9bf81074949af47fa6d1af6b27/numpy_typing_compat-1.25.20250730-py3-none-any.whl.lck.work/numpy_typing_compat-1.25.20250730.dist-info/licenses/LICENSE'
I’ve already attempted to clean up the Pants cache, run docker prune, and restart Pants. I’ve even reinstalled Python and my PC. Usually, when I encounter issues with Pants, one of these steps resolves the problem, but unfortunately, this time, none of them have worked. Can anyone suggest any other potential solutions or troubleshooting steps I could take?
w
Assuming that file does exist, have you tried creating a sandbox and seeing if you can run in there manually?
I very vaguely also recall something like this happening with really long paths - but I thought that was dealt with a long time ago
What version of Pants are you using
w
I am using pants 2.27.0
w
https://www.pantsbuild.org/stable/reference/global-options#keep_sandboxes Maybe try from the sandbox to see if there is a different error?
e
When was that package released? and does it use uv? This is the same error I was seeing in https://pantsbuild.slack.com/archives/C046T6T9U/p1755096604640549
b
b
and it's already fixed @wide-processor-41045. • https://github.com/jorenham/numpy-typing-compat/issues/40https://github.com/jorenham/optype/issues/411 Depending on your version pinning, you can probably run a
pants generate-lockfiles
and the issue will solve itself