Skip to content

Commit 8e01744

Browse files
authored
Merge branch 'develop' into dependabot/pip/develop/cookiecutter-d701786c2d
2 parents 58b52e1 + aaad3ea commit 8e01744

179 files changed

Lines changed: 3162 additions & 1904 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/automated-updates-to-sam-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
python-version: "3.11"
9898

9999
- name: Install uv
100-
uses: astral-sh/setup-uv@v7
100+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
101101

102102
- name: Update aws-sam-translator & commit
103103
run: |
@@ -166,7 +166,7 @@ jobs:
166166
python-version: "3.11"
167167

168168
- name: Install uv
169-
uses: astral-sh/setup-uv@v7
169+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
170170

171171
- name: Upgrade aws_lambda_builders & commit
172172
run: |

.github/workflows/build.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
6666
if: ${{ matrix.os == 'windows-latest' }}
6767
- uses: actions/checkout@v6
68-
- uses: astral-sh/setup-uv@v7
68+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
6969
with:
7070
python-version: ${{ matrix.python }}
7171
cache-python: false
@@ -79,12 +79,11 @@ jobs:
7979
name: Validate JSON schema
8080
if: github.repository_owner == 'aws'
8181
permissions:
82-
pull-requests: write
83-
contents: write
82+
contents: read
8483
runs-on: ubuntu-latest
8584
steps:
8685
- uses: actions/checkout@v6
87-
- uses: astral-sh/setup-uv@v7
86+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
8887
with:
8988
python-version: "3.11"
9089
cache-python: false
@@ -157,7 +156,7 @@ jobs:
157156
mkdir "D:\\Temp"
158157
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
159158
if: ${{ matrix.os == 'windows-latest' }}
160-
- uses: astral-sh/setup-uv@v7
159+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
161160
with:
162161
python-version: ${{ matrix.python }}
163162
cache-python: false
@@ -166,7 +165,7 @@ jobs:
166165
- uses: actions/setup-go@v6
167166
with:
168167
go-version: '1.19'
169-
- uses: ruby/setup-ruby@v1
168+
- uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1
170169
with:
171170
ruby-version: "3.3"
172171
- uses: actions/setup-node@v6
@@ -238,7 +237,7 @@ jobs:
238237
mkdir "D:\\Temp"
239238
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
240239
if: ${{ matrix.os == 'windows-latest' }}
241-
- uses: astral-sh/setup-uv@v7
240+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
242241
with:
243242
python-version: ${{ matrix.python }}
244243
cache-python: false
@@ -270,7 +269,7 @@ jobs:
270269
mkdir "D:\\Temp"
271270
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
272271
if: ${{ matrix.os == 'windows-latest' }}
273-
- uses: astral-sh/setup-uv@v7
272+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
274273
with:
275274
python-version: "3.10"
276275
cache-python: false

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
run: bash tests/setup-wsl.sh
131131

132132
- name: Install uv
133-
uses: astral-sh/setup-uv@v7
133+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
134134
with:
135135
python-version: "3.11"
136136
cache-python: false
@@ -178,19 +178,19 @@ jobs:
178178

179179
- name: Set up Ruby 3.3.7
180180
if: contains(fromJSON('["build-x86-1", "build-x86-2", "build-arm64", "other-and-e2e", "cloud-based-tests"]'), matrix.test_suite)
181-
uses: ruby/setup-ruby@v1
181+
uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1
182182
with:
183183
ruby-version: '3.3.7'
184184

185185
- name: Set up Ruby 3.2.7
186186
if: contains(fromJSON('["build-x86-1", "build-x86-2", "build-arm64", "other-and-e2e", "cloud-based-tests"]'), matrix.test_suite)
187-
uses: ruby/setup-ruby@v1
187+
uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1
188188
with:
189189
ruby-version: '3.2.7'
190190

191191
- name: Set up Ruby 3.4.7
192192
if: contains(fromJSON('["build-x86-1", "build-x86-2", "build-arm64", "sync-code", "sync-watch", "other-and-e2e", "cloud-based-tests", "tier1-finch", "tier1-windows-build-1", "tier1-windows-build-2", "tier1-windows-build-3", "tier1-windows-other"]'), matrix.test_suite)
193-
uses: ruby/setup-ruby@v1
193+
uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1
194194
with:
195195
ruby-version: '3.4.7'
196196
windows-toolchain: none
@@ -202,8 +202,9 @@ jobs:
202202

203203
- name: Install Terraform
204204
if: contains(fromJSON('["terraform-build", "terraform-start-api", "terraform-invoke-start-lambda", "cloud-based-tests", "tier1-finch", "tier1-windows-build-1", "tier1-windows-build-2", "tier1-windows-build-3", "tier1-windows-other"]'), matrix.test_suite)
205-
shell: bash
206-
run: bash tests/install-terraform.sh
205+
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
206+
with:
207+
terraform_wrapper: false
207208

208209
- name: Setup Finch runtime
209210
if: matrix.test_suite == 'tier1-finch'

.github/workflows/update-reproducibles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
python-version: "3.11"
2828
- name: Install uv
29-
uses: astral-sh/setup-uv@v7
29+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
3030
- name: Update all reproducible requirements
3131
run: make update-reproducible-reqs-uv
3232
- name: Push changes
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
python-version: "3.11"
4949
- name: Install uv
50-
uses: astral-sh/setup-uv@v7
50+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
5151
- name: Check reproducible requirements are up to date
5252
run: make update-reproducible-reqs-uv
5353
- name: Fail if requirements are out of date

.github/workflows/validate_pyinstaller.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ jobs:
2121
run: chmod +x ./installer/pyinstaller/build-linux.sh
2222
- name: Build PyInstaller in manylinux container
2323
run: |
24-
docker run --rm -v .:/samcli -w /samcli -e CI_OVERRIDE='1' \
25-
quay.io/pypa/manylinux2014_x86_64:latest /samcli/installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip
24+
for i in 1 2 3; do
25+
docker run --rm -v .:/samcli -w /samcli -e CI_OVERRIDE='1' \
26+
quay.io/pypa/manylinux2014_x86_64:latest /samcli/installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip && break
27+
echo "Attempt $i failed, retrying..."
28+
sleep 10
29+
done
2630
- uses: actions/setup-python@v6
2731
with:
2832
python-version: 3.11

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies = [
4444
# docker minor version updates can include breaking changes. Auto update micro version only.
4545
"docker~=7.1.0",
4646
"dateparser~=1.3",
47-
"requests~=2.32.5",
47+
"requests>=2.32.5,<2.34.0",
4848
"aws_lambda_builders==1.63.0",
4949
"tomlkit==0.14.0",
5050
"watchdog==4.0.2",
@@ -63,11 +63,11 @@ dependencies = [
6363

6464
[project.optional-dependencies]
6565
pre-dev = [
66-
"ruff==0.15.6",
66+
"ruff==0.15.8",
6767
]
6868
dev = [
6969
"aws-sam-cli[pre-dev]",
70-
"coverage==7.13.4",
70+
"coverage==7.13.5",
7171
"pytest-cov==7.1.0",
7272
"mypy==1.19.1",
7373
"types-pywin32==311.0.0.20260323",
@@ -77,7 +77,7 @@ dev = [
7777
"types-setuptools==82.0.0.20260210",
7878
"types-Pygments==2.19.0.20251121",
7979
"types-colorama==0.4.15.20250801",
80-
"types-dateparser==1.3.0.20260211",
80+
"types-dateparser==1.3.0.20260323",
8181
"types-docutils==0.22.3.20260316",
8282
"types-jsonschema==4.26.0.20260202",
8383
"types-pyOpenSSL==24.1.0.20240722",

0 commit comments

Comments
 (0)