calm-artist-46894
05/27/2024, 5:07 AM#!
when I include the complete_platforms
?
Build with complete_platforms
, produce pex with #!/usr/bin/env <http://python3.9.PK|python3.9.PK>
pex_binary(
name="worker",
complete_platforms=[
"src/python:linux_py310",
],
entry_point="main.py",
)
Build without it, produce pex with #!/usr/bin/env <http://python3.10.PK|python3.10.PK>
calm-artist-46894
05/27/2024, 5:09 AM[python]
interpreter_constraints = ["==3.10.*"]
And src/python:linux_py310
is generated from pex3 interpreter inspect --markers --tags
in python:3.10-alpine
How did I get the python3.9 from?calm-artist-46894
05/27/2024, 5:10 AM#!
)
env: can't execute 'python3.9': No such file or directory
broad-processor-92400
05/27/2024, 5:38 AMpex_binary(…, sh_boot=True)
calm-artist-46894
05/27/2024, 5:49 AMsh_boot
is not available. Upgraded to 2.20.0 and the interpreter issue is gone without using sh_boot
Still good to learn about sh_boot