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

ancient-vegetable-10556

04/06/2023, 5:08 PM
Does scie-pants support
PANTS_SHA
-like behaviour, or do we need to use
PANTS_SOURCE
and a local source checkout?
w

wide-midnight-78598

04/06/2023, 5:09 PM
Appears to work 🤷
Copy code
oss/pants-plugins % PANTS_SHA=8a8f95742a826309f4ca4b48302ec9a47c28b4bb pants --version
Bootstrapping Pants 2.17.0.dev2+git8a8f9574 using cpython 3.9.15
a

ancient-vegetable-10556

04/06/2023, 5:10 PM
Unfortunately:
Copy code
chrisjrn@chrisjrns-MacBook-Pro pants % PANTS_SHA=fa2baee84b9c43968dc10aa18db1a4a3e884b3a7 /opt/homebrew/bin/pants --version
10:10:29.68 [INFO] Remote cache/execution options updated: reinitializing scheduler...
10:10:33.75 [INFO] Scheduler initialized.
2.17.0.dev2
and
fa2baee
is the HEAD of 2.16.x
w

wide-midnight-78598

04/06/2023, 5:11 PM
Copy code
oss/pants-plugins % PANTS_SHA=fa2baee84b9c43968dc10aa18db1a4a3e884b3a7 pants --version                                                                                                                                                                                                                         ⎇ main
Failed to fetch <https://binaries.pantsbuild.org/wheels/pantsbuild.pants/fa2baee84b9c43968dc10aa18db1a4a3e884b3a7/2.16.0rc0%2Bgitfa2baee8/index.html>: [22] HTTP response code said error (The requested URL returned error: 404)
Install failed: Command '['/Users/sj/Library/Caches/nce/aedfdbe4063d07c661564c41240829db141fcd1b6f00cb8ff7536051767c0e76/ptex', '<https://binaries.pantsbuild.org/wheels/pantsbuild.pants/fa2baee84b9c43968dc10aa18db1a4a3e884b3a7/2.16.0rc0%2Bgitfa2baee8/index.html']'> returned non-zero exit status 1.
More information can be found in the log at: /Users/sj/Library/Caches/nce/142382d6e3ac0960e7d4f81b9df9de9559b7ac698db13d20cbd0e4aa57f68c1d/bindings/logs/configure.log

Error: Isolates your Pants from the elements.

Please select from the following boot commands:

<default>: Detects the current Pants installation and launches it.
bootstrap-tools: Introspection tools for the Pants bootstrap process.
pants: Runs a hermetic Pants installation.
pants-debug: Runs a hermetic Pants installation with a debug server for debugging Pants code.
update: Update scie-pants.

You can select a boot command by passing it as the 1st argument or else by setting the SCIE_BOOT environment variable.

ERROR: Failed to establish atomic directory /Users/sj/Library/Caches/nce/142382d6e3ac0960e7d4f81b9df9de9559b7ac698db13d20cbd0e4aa57f68c1d/locks/configure-badb357ccf164e31b2d2777a639f16fe0d958fb5c4915af98ae5b332070e43b9. Population of work directory failed: Boot binding command failed: exit status: 1
Strange.
e

enough-analyst-54434

04/06/2023, 5:12 PM
We skip wheel builds for those.
a

ancient-vegetable-10556

04/06/2023, 5:13 PM
Sigh 🙂
Thank you!
w

wide-midnight-78598

04/06/2023, 5:13 PM
Copy code
oss/pants-plugins % PANTS_SHA=c1056d4a9f0323c3f90fe1ca7f4d447d109a6d13 pants --version                                                                                                                                                                                                                         ⎇ main
Bootstrapping Pants 2.16.0rc0+gitc1056d4a using cpython 3.9.15
Ah, yeah - there you go -
The more recent 2.16.x