-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Add
[python-setup].experimental_resolves_to_lockfiles
an…
…d hook up to `./pants generate-lockfiles` (#12703) This option does not currently do anything..but it will be where users define their "named resolve": ```toml [python-setup] resolves_to_lockfiles = { default = "default_lock.txt", data-science = "ds_lock.txt" } ``` Then, users can set `resolve="data-science"` on targets. They can generate the lockfile with `./pants generate-lockfiles --resolve='data-science'`. -- This PR is prework to add the option and wire it up to `./pants generate-lockfiles`, including checking that the named resolve is not ambiguous with a tool's resolve name (its option scope). [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
1 parent
f46fa36
commit 8c319ae
Showing
3 changed files
with
142 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters