Are there any instructions on how to run pants in ...
# general
g
Are there any instructions on how to run pants in an airgapped environment? I see specific call-outs of needing to bootstrap itself from the internet.
h
Hi Tory! It depends how tight the airgapping is. If you have access to certain networks, this proxies doc may be sufficient: https://www.pantsbuild.org/docs/proxies If it's not, we're very open to ideas for how to improve things If you can't have network access at all, that may be harder but I think could be doable? https://github.com/pantsbuild/pants/issues/5253. You can set some things to download from the local file system, including native binaries like
protoc
and Python dependency resolution
What languages are you looking to support?
g
Only python
And it is a pure airgap.
We do have some faked proxies, for example pypi looks and acts like the real thing. But it is our personally hosted replica of it aliased to the same name.