Hey guys, I'm having an issue here with trying to ...
# general
h
Hey guys, I'm having an issue here with trying to test the CI pieces locally. To be specific, here's what I see:
Copy code
pants \
 --changed-since=origin/main \
 tailor --check \
 update-build-files --check \
 lint

18:25:47.80 [INFO] Initializing scheduler...
18:25:47.82 [INFO] Initializing Nailgun pool for 24 processes...
18:25:50.15 [INFO] Scheduler initialized.
18:25:51.94 [ERROR] 1 Exception encountered:

Engine traceback:
 in Update all BUILD files

ProcessExecutionFailure: Process 'Find interpreter for constraints: CPython<4,>=3.7' failed with exit code 1.
stdout:

stderr:
No supported version of Pip is compatible with the given targets:
cp312-cp312-macosx_14_0_arm64 interpreter at /opt/miniconda3/envs/greenfield/bin/python3.12
cp313-cp313-macosx_14_0_arm64 interpreter at /opt/homebrew/Cellar/python@3.13/3.13.1/Frameworks/Python.framework/Versions/3.13/bin/python3.13
cp39-cp39-macosx_14_0_arm64 interpreter at /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9

Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
I'm currently running things in version
2.22.0
I updated to
2.26.0
and then cleared cache and it started working again
h
What are the
interpreter_constraints
in your pants.toml?
That
CPython<4,>=3.7
is suspect, we highly recommend locking down to at least a specific minor version
But that constraint is also a (bad) default in various places in Pants, so there’s that