boundless-oyster-62723
09/06/2023, 10:52 AMpants tailor ::
or just simple pants
it starts to bootstrap but fails and I am not sure why as the errors are not really documented. First I thought it could be an issue with M1 mac, but my colleague ran it successfully on the first try. Any help would be amazing!
Log in thread.boundless-oyster-62723
09/06/2023, 10:52 AMBootstrapping Pants 2.16.0 using cpython 3.9.16
Installing pantsbuild.pants==2.16.0 into a virtual environment at /Users/jan/Library/Caches/nce/aeded33e4c...e/bindings/venvs/2.16.0
Preparing metadata (setup.py) ... done
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for psutil (setup.py) ... error
ERROR: Failed building wheel for psutil
error: subprocess-exited-with-error
× Running setup.py install for psutil did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Running setup.py install for psutil ... error
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> psutil
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Install failed: Command '['/Users/jan/Library/Caches/nce/aede...e/bindings/venvs/2.16.0/bin/python', '-sE', '-m', 'pip', '--disable-pip-version-check', '--no-python-version-warning', '--log', '/Users/jan/Library/Caches/nce/aede...bf2e/bindings/venvs/2.16.0/pants-install.log', 'install', '--quiet', '--find-links', '<https://wheels.pantsbuild.org/simple/>', '--progress-bar', 'off', 'pantsbuild.pants==2.16.0']' returned non-zero exit status 1.
More information can be found in the log at: /Users/jan/Library/Caches/nce/aed...2e/bindings/logs/install.log
Error: Isolates your Pants from the elements.
Please select from the following boot commands:
scie-pants
bootstrap-tools
pants
pants-debug
update
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/jan/Library/Caches/nce/aeded33e4c5a...e. Population of work directory failed: Boot binding command failed: exit status: 1
dry-architect-80370
09/06/2023, 11:02 AMwheel
pip package is missing in the environment that is used to boostrap Pants. pip install wheel
should doboundless-oyster-62723
09/06/2023, 11:13 AMwheel
to my global python? That doesn’t seem to change anything. What seems weird to me is that Pants is using a CPython version that I don’t even have on my system.
I’ve got 3.9.13 but it uses 3.9.16.
I’ve got 3.11 (which we use in our codebase) set as my global version.refined-addition-53644
09/06/2023, 11:16 AMpants
binary (scie-pants) comes with its own python which it uses to bootstrap itself.enough-analyst-54434
09/06/2023, 4:11 PMenough-analyst-54434
09/06/2023, 4:15 PMenough-analyst-54434
09/06/2023, 4:52 PMhappy-kitchen-89482
09/06/2023, 8:46 PMhappy-kitchen-89482
09/06/2023, 9:03 PMcurl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh> | bash -s -- --version 0.8.2
happy-kitchen-89482
09/06/2023, 9:03 PMbitter-ability-32190
09/06/2023, 11:01 PMbitter-ability-32190
09/06/2023, 11:03 PMscie-pants
until we post a bugfix.
As a longer solution, I'm working towards getting off bespoke systems (especially ones we pay for, since we lost of primary sponsor). In this case, I don't see why we can't backport the PEX-per-release to older versions, much like I backported the release notes and the wheels.
I'll propose it ASAPboundless-oyster-62723
09/07/2023, 8:46 AMboundless-oyster-62723
09/07/2023, 8:50 AMso this seems like a bug that will be affecting ~everyone using Mac arm at the very least.I thought this would be the issue. I am not sure whether my colleague did something beforehand that caused his M1 arm Mac to run successfully on the first try. However we both used the same process. For me the older version of launcher script worked.
bitter-ability-32190
09/07/2023, 1:46 PMenough-analyst-54434
09/07/2023, 1:51 PMbitter-ability-32190
09/07/2023, 1:52 PMenough-analyst-54434
09/07/2023, 2:02 PMenough-analyst-54434
09/07/2023, 2:41 PM