-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pants should be distributed on Github Releases #12397
Comments
#13234 (comment) discusses how to accomplish this with PEX: we should prioritize it to resolve #11614. |
I've updated the title (but not the description, yet) to reflect the fact that we should almost certainly do this by shipping a PEX, as explained in #13234 (comment). The reasoning is that shipping a PEX resolves #11614, while also being a natural incremental step toward shipping a rust binary in #7369. |
Noting that none of this solves the pantsbuild.pants release size on PyPI since we must live there to satisfy plugin dependencies. We can cheat and etc, but we'll be fighting reality a bit so we should be fully aware there are issues here. |
That is addressed in the comment that I linked: #13234 (comment) |
It's not, that only partially addresses, and you can do it easier with |
Expanded there. There are vague mentions of developing a plugin, but fwict they are not fleshed out. |
Huge thanks to @thejcannon for this one. |
There are two large problems with our use of PyPI:
PIP
for the specifiedpantsbuild.pants
wheel version, but without using a lockfile. (relates to Verifying Pants installations)To ensure that using a particular version of Pants is reproducible over time, and to reduce load on PyPI, we should either:
distribute Pants as a lockfile that fully pins transitive dependencies for supported platforms (with the same considerations as Interpreter constraints do not play well with lock files. #12200)have theEDIT: Does not resolve Manage pantsbuild.pants release size on PyPI #11614.pants
script dynamically generate and recommend committing a lockfilescie
containing a PEX and an interpreter" to release a Pants binary, at which pointscie-pants
would not need to bootstrap an interpreter.The text was updated successfully, but these errors were encountered: