1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-22 16:11:22 +00:00

lock: evaluate PEP 508 markers and support --extra/--package in uv.lock closure

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-06-11 01:30:45 +00:00
parent b484b02113
commit 7e8e2261a7
No known key found for this signature in database
8 changed files with 692 additions and 38 deletions

View file

@ -69,6 +69,12 @@ func applyDefaults(cmd *cobra.Command, f *buildFlags) error {
if !changed("no-cache") && cfg.NoCache {
f.noCache = true
}
if !changed("extra") && len(cfg.Extras) > 0 {
f.extras = cfg.Extras
}
if !changed("package") && cfg.Package != "" {
f.pkg = cfg.Package
}
if !changed("python") && cfg.Python != "" {
f.pythonTag = cfg.Python
}