https://pantsbuild.org/ logo
#development
Title
# development
f

fresh-cat-90827

09/13/2022, 7:02 PM
It looks like we are finally able to build Linux ARM wheels locally and host them on our private PyPI! πŸŽ‰ In the checkout of our monorepo on an Nvidia Tegra (the wheel compiled beforehand coming from hosted PyPI):
Copy code
$ ./pants version
Bootstrapping Pants using /usr/bin/python3.8
Creating the virtualenv PEX.
Downloading the Pex PEX.
SHA256 fingerprint of <https://github.com/pantsbuild/pex/releases/download/v2.1.62/pex> verified.
Installing pantsbuild.pants==2.13.0 into a virtual environment at /home/user/.cache/pants/setup/bootstrap-Linux-aarch64/2.13.0_py38
New virtual environment successfully created at /home/user/.cache/pants/setup/bootstrap-Linux-aarch64/2.13.0_py38.
19:59:03.47 [INFO] Initializing scheduler...
19:59:03.91 [INFO] Scheduler initialized.
2.13.0
πŸš€ 4
h

happy-kitchen-89482

09/13/2022, 7:29 PM
Amazing! What would it take to get this formalized to public PyPI ?
πŸ˜‰ 2
f

fresh-cat-90827

09/16/2022, 7:31 AM
hey Benjy, sorry for the late response. Do you mean uploading my locally built wheel to a public PyPI? If so, then this should be doable. I had to disable
"pants.backend.explorer"
backend in the
pants.toml
because it was blowing up with a complex traceback referring to not being able to import
typing_extensions
and something related to
GraphQL
. It works for us as we don’t any use for this feature, but I am not sure if this acceptable for a public PyPI package? πŸ˜•