Whole file

awslabs/aws-lambda-builders

The author described this change as fix(python-uv): pass --no-default-groups to uv export (#869). It counts as a record because the check below fails on the code as it stood at c62aadead and passes on e5282ec75, with nothing else changed between the two runs.

Fix saved2026-05-28
Sharing licenceApache-2.0 · LICENSE
Change size+1 0

What the code was meant to do, written into the code itself as a save note

fix(python-uv): pass --no-default-groups to uv export (#869)

The change

329329 "requirements.txt",
330330 "--no-emit-project", # Don't include the project itself, only dependencies
331331 "--no-hashes", # Skip hashes for cleaner output (optional)
332+ "--no-default-groups", # Exclude PEP 735 default groups (e.g. dev/test) from Lambda zips
332333 "--output-file",
333334 temp_requirements,
334335 # We want to specify the version because `uv export` might default to using a different one

The check that tells the two apart

failpass·tests/unit/workflows/python_uv/test_packager.py::TestPythonUvDependencyBuilder::test_build_dependencies_pyproject_with_uv_lock

Check file tests/unit/workflows/python_uv/test_packager.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before itc62aadead15b7071f1d738b02e5bb6e830daee0a
Broken version dated2026-04-23
Moduleaws_lambda_builders.workflows.python_uv.packager
Units changedPythonUvDependencyBuilder
Fingerprint5a5ac96909bd7cd0
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.

Other bugs found in awslabs/aws-lambda-builders