https://pantsbuild.org/ logo
#development
Title
# development
n

narrow-vegetable-37489

03/14/2022, 11:07 PM
I'm giving this new, very exciting resolves feature a spin and immediately bump into an issue ๐Ÿ™ˆ. Not sure if it's one of those might-not-yet-work cases, a bug or me missing something obvious -> ๐Ÿงต
The tl;dr is that running
./pants check ::
(or anything that resolves
h3
) throws this in my face:
Copy code
FileNotFoundError: [Errno 2] No such file or directory: '/Users/jyggen/.cache/pants/named_caches/pex_root/installed_wheels/6df278b7f2d4b866f31b7a6945c5b0fcdf94a848/h3-3.7.3-cp39-cp39-macosx_12_0_arm64.whl/../cmake/h3/h3Config.cmake' -> '/Users/jyggen/.cache/pants/named_caches/pex_root/venvs/696bed6322b4b0abe5c0c8926f144da78ef240c2/dc75e46d13c17653e6d4528ceac358c3b0fd0764.4026e004802e499fb6e087a916933ac6/lib/python3.9/site-packages/../cmake/h3/h3Config.cmake'
The dependency is
h3[numpy]==3.7.3
from
requirements.txt
(using
python_requirements()
), which is available in
constraints.txt
(the new one, created by
./pants generate-lockfiles
). More than happy to assist debugging this if it is in fact a bug.
h

hundreds-father-404

03/14/2022, 11:09 PM
is there more to the stacktrace?
n

narrow-vegetable-37489

03/14/2022, 11:09 PM
h

hundreds-father-404

03/14/2022, 11:11 PM
Ohhh using the newest Pants release? I'm doing a release in an hour or so to upgrade to a new version of Pex - there was some instability with how to handle Records, I strongly suspect this is that
In the meantime, you can try
PANTS_SHA=2666c0094a84699734efa25e3671f911c0a6ff9e
n

narrow-vegetable-37489

03/14/2022, 11:12 PM
Ah, probably should've included Pants version. Using 2.10.0rc3, I'll give that one a spin :)
ERROR: No matching distribution found for pantsbuild.pants==2.11.0.dev3+git2666c009
. Same issue with older commits as well. Maybe I'll just wait for the release instead and see :)
h

hundreds-father-404

03/14/2022, 11:21 PM
ah sorry I was on the wrong branch when I gave you that SHA..I should go on a walk / take a break ๐Ÿ™‚ try
a037710b8bfa8220ceb25a4e46342b08ef1393d9
n

narrow-vegetable-37489

03/14/2022, 11:25 PM
Same thing. I suspect it's because I'm on an arm Mac, judging by the wheels.
h

hundreds-father-404

03/14/2022, 11:26 PM
Ah yeah, that is it ๐Ÿ™‚
n

narrow-vegetable-37489

03/16/2022, 10:26 AM
I can confirm that rc4 solved it ๐ŸŽ‰
โค๏ธ 1