mammoth-truck-89764
04/09/2025, 1:07 AMpants update-build-files --no-fmt ::
The error points to Version matches CPython<3.10,>=3.8 which is strange because the only interpreter constraints (defined in pants.toml) are: ==3.12.* and ==3.10.* 😕 error in 🧵mammoth-truck-89764
04/09/2025, 1:07 AMFailed to find compatible interpreter on path /Users/jleung/Library/Caches/nce/7af7058f7c268b4d87ed7e08c2c7844ef8460863b3e679db3afdce8bb1eedfae/cpython-3.11.9+20240415-aarch64-apple-darwin-install_only.tar.gz/python/bin/python3.11.
Examined the following interpreters:
1.) /Users/jleung/Library/Caches/nce/7af7058f7c268b4d87ed7e08c2c7844ef8460863b3e679db3afdce8bb1eedfae/cpython-3.11.9+20240415-aarch64-apple-darwin-install_only.tar.gz/python/bin/python3.11 CPython==3.11.9
No interpreter compatible with the requested constraints was found:
Version matches CPython<3.10,>=3.8
Error: Failed to establish atomic directory /Users/jleung/Library/Caches/nce/6faa4322d1df41d032e4938795c6f2c262ab92bb642a9bac1101cb7d1631f9c1/locks/install-ac62c359d15448dbff0c54f2b26031707b83fd2e7353df5224a81643678857e3. Population of work directory failed: Boot binding command failed: exit status: 1
Isolates your Pants from the elements.
Please select from the following boot commands:
<default> (when SCIE_BOOT is not set in the environment) Detects the current Pants installation and launches it.
bootstrap-tools Introspection tools for the Pants bootstrap process.
update Update scie-pants.
You can select a boot command by setting the SCIE_BOOT environment variable.wide-midnight-78598
04/09/2025, 1:53 AMmammoth-truck-89764
04/10/2025, 5:57 PMbrew info pants
==> pants: 0.12.3
<https://pantsbuild.org>
Installed
/opt/homebrew/Caskroom/pants/0.12.3 (4MB)
From: <https://github.com/pantsbuild/homebrew-tap/blob/HEAD/Casks/pants.rb>
==> Name
Pants
==> Description
Fast, scalable, user-friendly build system for codebases of all sizes
==> Artifacts
scie-pants-macos-aarch64 -> pants (Binary)
Which looks like it’s 3-mo old … (Jan 20) https://github.com/pantsbuild/homebrew-tap … which is the latest scie-pants (0.12.3) ✅wide-midnight-78598
04/10/2025, 6:01 PMwide-midnight-78598
04/10/2025, 6:04 PM.pants.d in that folder, then run pants --versionwide-midnight-78598
04/10/2025, 6:13 PMrm -rf .pants.d
rm -rf ~/.cache/pants
rm -rf ~/Library/Caches/nce
Then running again worked as expected. Super bizarre