Commit f8826df
committed
fix(python-uv): pass --no-default-groups to uv export
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 5bc95fa commit f8826df
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 | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
| |||
0 commit comments