chore(git-action): Use uv for cross-platform reproducible requirements generation#8548
Merged
roger-zhangg merged 1 commit intodevelopfrom Jan 8, 2026
Merged
chore(git-action): Use uv for cross-platform reproducible requirements generation#8548roger-zhangg merged 1 commit intodevelopfrom
roger-zhangg merged 1 commit intodevelopfrom
Conversation
Member
Author
|
https://github.com/aws/aws-sam-cli/actions/runs/20799543362/job/59741306757 |
seshubaws
approved these changes
Jan 7, 2026
reedham-aws
approved these changes
Jan 8, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue(s) does this change fix?
This PR simplifies the reproducible requirements update workflow by using
uv pip compilewith cross-platform compilation support. Instead of requiring 3 separate CI runners (Linux, macOS, Windows) to generate platform-specific requirements files, we can now generate all 3 files from a single Linux runner.Changes
MakefileAdded new
update-reproducible-reqs-uvtarget that usesuv pip compilewith--python-platformflag to generate requirements for all 3 platforms:reproducible-linux.txt(Python 3.11, Linux)reproducible-mac.txt(Python 3.11, macOS)reproducible-win.txt(Python 3.12, Windows)Includes a check to only install
uvif it's not already available.github/workflows/update-reproducibles.ymlastral-sh/setup-uv@v5action for fast, reliableuvinstallationubuntu-latestonlyBenefits
uvresolves platform-specific dependencies without needing the actual platformTesting
make update-reproducible-reqs-uvgenerates all 3 files locallyBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.