Commit e5282ec
authored
fix(python-uv): pass --no-default-groups to uv export (#869)
PEP 735 dependency-groups.dev is included by default in uv export, so
dev/test deps (moto, pytest, cryptography, docker, ...) currently land in
every Lambda zip — ~67MB of bloat per function. Adding --no-default-groups
mirrors the prior pip-tools behavior (extras/dev not auto-shipped) and
cuts cold install time ~4-5x.1 parent c62aade commit e5282ec
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- aws_lambda_builders/workflows/python_uv
- tests/unit/workflows/python_uv
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| |||
0 commit comments