lively-garden-66504
12/05/2023, 12:55 AM❯ dist/dir/tests_runner.pex
env: python3.9: No such file or directory
Can try to come up with a repro if needed. Docs and intuition suggest this should respect interpreter constraints so I'm fairly surprised.lively-garden-66504
12/05/2023, 12:56 AM[python]
enable_resolves = true
default_resolve = "default_resolve"
interpreter_constraints = ["==3.11.*"]
and also the target-specific constraints I set for debugging this issue:
pex_binary(
name="tests_runner",
entry_point="tests_runner.py",
dependencies=[
"dir/tests:tests",
],
interpreter_constraints = ["==3.11.*"],
platforms=[
"linux_x86_64-cp-311-cp311",
"macosx_10.10-x86_64-cp-311-cp311",
],
)
Invocation to create Pex
pants package dir:tests_runner
broad-processor-92400
12/05/2023, 10:19 AM