I noticed that the tagging of a release as a “pre ...
# development
b
I noticed that the tagging of a release as a “pre release” is somewhat inconsistent. Is it something that matters?
w
publishing to github is not automated currently: only to pypi (as of recently). there is some debate around what we should be publishing to github: see https://github.com/pantsbuild/pants/issues/12397
b
Ah, I see. Does that mean the pre-release vs not status of the manual releases doesn’t matter at the moment?
w
to the extent that users actually consume the PEX file artifacts that we upload, it might matter… but we’re not sure whether anyone does
👍 1
github probably has download stats on that.
b
https://somsubhra.github.io/github-release-stats/?username=Pantsbuild&repository=Pants&page=1&per_page=20 does suggest… limited downloads of those PEXes. The highest number I can see is 34, for 2.15.0
Oh, no, 2.14.0 has 474.
h
Once we get to deploying Pants itself as a scie, to Github, it will be more obvious that we should stop deploying these pexes.
Frankly I think we could stop publishing the pexes today.
w
alternatively, we could update
scie-pants
to consume the PEX now, as is.
but yea. either way, https://github.com/pantsbuild/pants/issues/12397 is the one to look at, as it covers both of those possibilities.
h
The PEX is huge (although less so now that it only has to support Python 3.9) and doesn't support macos or linux on ARM64.
That was mostly to keep it from bloating even more.
w
doesn’t support macos or linux on ARM64
it should… the wheels are in there.
h
They are not, afaict
or if they are, that's new
The PEX was ~200MB already, adding them was going to make it even huger
b
What would it take to publish one pex per platform?
h
Just hassle
w
fairly trivial i think.
h
But there is no need, we should deploy a scie
w
@happy-kitchen-89482: deploying a
scie
still involves building the per-platform pexes… there is no way around that.
b
With a published scie, would scie-pants just download and run those scies directly?
w
yea
> doesn’t support macos or linux on ARM64
it should… the wheels are in there.
hm, yea… it doesn’t contain arm64 wheels, although i’m not sure why.
regardless.
h
Yes, but we wouldn't need to publish the pexes separately
I don't think we want people consuming those directly