<#12397 Pants should be distributed on Github Rele...
# github-notifications
c
#12397 Pants should be distributed on Github Releases Issue created by stuhood There are two large problems with our use of PyPI: 1. The https://github.com/pantsbuild/setup script resolves using
PIP
for the specified
pantsbuild.pants
wheel version, but without using a lockfile. (relates to Verifying Pants installations) 2. We have hit PyPI's size limits in the past, and are close to doing so again. See #11614. * * * To ensure that using a particular version of Pants is reproducible over time, and to reduce load on PyPI, we should either: 1. distribute Pants as a pre-built PEX 2. distribute Pants as a lockfile that fully pins transitive dependencies for supported platforms (with the same considerations as #12200) • EDIT: Does not resolve #11614. 3. have the
pants
script dynamically generate and recommend committing a lockfile
EDIT: Does not resolve #11614. 4. switch the distribution model of Pants to a native binary • EDIT: #7369 was resolved without removing use of PyPI. • It's still possible that we could actually use PyOxidizer or "a
scie
containing a PEX and an interpreter" to release a Pants binary, at which point
scie-pants
would not need to bootstrap an interpreter. pantsbuild/pants