https://pantsbuild.org/ logo
#general
Title
# general
l

lively-garden-66504

04/08/2023, 3:09 AM
I've been trying to run Go goals for Go 1.20 on MacOS ARM64 arch and consistently get "could not import fmt" etc for all standard library imports, and I get the same result for Pants 2.13, 2.14, 2.15. Any idea what's going on here?
1
1
For example I can clone this repository, tailor it completely, and run into the same issue on trying to compile files.
stacktrace.txt
f

fast-nail-55400

04/08/2023, 7:19 AM
From the v2.15.x release notes:
Note: Due to certain changes in Go v1.20, Pants 2.15.x and earlier Pants versions will not work with Go v1.20 and later releases. Instead, use Pants v2.16.x or later Pants versions to support Go v1.20 and later releases.
👀 1
l

lively-garden-66504

04/08/2023, 6:10 PM
That seems to fix things. Although I think I'm having issues related to pantsd memory usage now. I'll ask separately.
3 Views