high-yak-85899
12/10/2023, 6:27 PMpyenv
would simplify this by letting us upgrade the OS and not worry about having the proper interpreters on system path. I took a look through here, but I wasn't finding anything as an obvious stand out.high-yak-85899
12/10/2023, 6:28 PM$ pants package <path/to/pex>
17:45:24.97 [INFO] Completed: Building local_dists.pex
17:45:24.98 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
ProcessExecutionFailure: Process 'Building local_dists.pex' failed with exit code 102.
stdout:
stderr:
Could not find a compatible interpreter.
Examined the following interpreters:
1.) /usr/bin/python3.11 CPython==3.11.6
No interpreter compatible with the requested constraints was found:
Version matches CPython<3.9,>=3.8
Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
high-yak-85899
12/10/2023, 6:28 PMhappy-kitchen-89482
12/11/2023, 2:23 AMhappy-kitchen-89482
12/11/2023, 2:26 AMhigh-yak-85899
12/11/2023, 2:27 AMhigh-yak-85899
12/11/2023, 2:28 AMhappy-kitchen-89482
12/11/2023, 2:46 AMhappy-kitchen-89482
12/11/2023, 2:46 AMhigh-yak-85899
12/11/2023, 2:58 AMhappy-kitchen-89482
12/11/2023, 3:06 AM<PYENV>
entry) so start by checking the value of that option, seeing what you'd expect it to find based on that value, and modify the value until the right thing happens...high-yak-85899
12/11/2023, 3:07 AMhigh-yak-85899
01/15/2025, 4:39 AMpython-bootstrap
in pants.toml
like so
[python-bootstrap]
search_path = ["<PYENV>"]
high-yak-85899
01/15/2025, 4:39 AMhigh-yak-85899
01/15/2025, 4:39 AMhigh-yak-85899
01/15/2025, 4:40 AMhigh-yak-85899
01/15/2025, 4:40 AMhigh-yak-85899
01/15/2025, 11:25 PM