Also the Pex release still fails for me on my M1, ...
# development
h
Also the Pex release still fails for me on my M1, if someone is able to do that please:
Copy code
$ USE_PY39=true PANTS_PEX_RELEASE=STABLE ./build-support/bin/release.sh build-universal-pex

Failed to find compatible interpreter on path...

Examined the following interpreters:
1.)            /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9 CPython==3.9.14
2.)    /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10 CPython==3.10.8
3.)    /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11 CPython==3.11.0
4.) /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 CPython==3.9.6

No interpreter compatible with the requested constraints was found:

  A distribution for pantsbuild-pants could not be resolved for /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9.
  Found 6 distributions for pantsbuild-pants that do not apply:
  1.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-macosx_10_15_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  2.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-manylinux2014_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  3.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-macosx_10_15_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  4.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-manylinux2014_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  5.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-macosx_10_15_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  6.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-manylinux2014_x86_64 which do not match the supported tags of /Users/ericarellano/.cache/pants/pants_dev_deps/Darwin.arm64.arm.py39.venv/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...

  A distribution for pantsbuild-pants could not be resolved for /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10.
  Found 6 distributions for pantsbuild-pants that do not apply:
  1.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...
  2.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...
  3.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...
  4.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...
  5.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...
  6.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/bin/python3.10:
  cp310-cp310-macosx_13_0_arm64
  ... 448 more ...

  A distribution for pantsbuild-pants could not be resolved for /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11.
  Found 6 distributions for pantsbuild-pants that do not apply:
  1.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...
  2.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...
  3.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...
  4.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...
  5.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-macosx_10_15_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...
  6.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-manylinux2014_x86_64 which do not match the supported tags of /opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/bin/python3.11:
  cp311-cp311-macosx_13_0_arm64
  ... 487 more ...

  A distribution for pantsbuild-pants could not be resolved for /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9.
  Found 6 distributions for pantsbuild-pants that do not apply:
  1.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-macosx_10_15_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  2.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp37-cp37m-manylinux2014_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  3.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-macosx_10_15_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  4.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp38-cp38-manylinux2014_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  5.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-macosx_10_15_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
  6.) The wheel tags for pantsbuild.pants 2.17.0.dev0+gite338a90a are cp39-cp39-manylinux2014_x86_64 which do not match the supported tags of /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9:
  cp39-cp39-macosx_13_0_arm64
  ... 409 more ...
h
Huh, I thought I fixed this in #18280
c
I had issues with this as well, but we (got assist from @enough-analyst-54434) figured it was status-quo compared with 2.16.0.dev7, so didn’t see it as regression..
(sorry, link will only work for core team: https://pantsbuild.slack.com/archives/G0107QFGGAW/p1678193609452109 )
e
Yeah, PEX build works, which should be a new thing for you Eric, but running it fails since we don't include Mac arm wheels when building. But we never have.
h
Right, and adding those plus aarch64 wheels would make it a half-gig pex
once we strip down to just supporting one python version, that mega-pex might make more sense
h
Oh, so we should modify release_helper.py to only build the PEX and not try running it when on ARM?
e
Exactly.