-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
Introduce the pex3 lock create
command.
#1464
Conversation
This provides a basic platform specific lock generation facility. For now, the lock is only useful when a single platform or interpreter is selected by the target options. A follow-up will introduce a lock format that can store multiple locks allowing use and export of these as individual units. Work towards pex-tool#1401.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
"The style of lock to generate. The {strict!r} style is the default and generates " | ||
"a lock file that contains exactly the distributions that would be used in a local " | ||
"resolve. If an sdist would be used, the sdist is included, but if a wheel would " | ||
"be used, an accompanying sdist will not be included. The {sources} style includes " | ||
"locks containing wheels and the associated sdists when available.".format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will strict
include wheels for other platforms? (pantsbuild/pants#12458)
I traced the code back to this and can't tell:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, I mean, yes - it will include wheels for other platforms when --platform
is specified. I assumed you meant though for all possible other platforms, i.e.: totally platform agnostic. That's #1402.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I did mean #1402. Cool, thanks for clarifying!
This provides a basic platform specific lock generation facility.
For now, the lock is only useful when a single platform or interpreter
is selected by the target options. A follow-up will introduce a lock
format that can store multiple locks allowing use and export of these
as individual units.
Work towards #1401.