Skip to content

Commit ff4caec

Browse files
Merge from aws/aws-sam-cli/develop
2 parents c7ec4c3 + 94abc0f commit ff4caec

32 files changed

+1915
-1661
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout App Templates
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
repository: aws/aws-sam-cli-app-templates
2020
path: aws-sam-cli-app-templates
2121

2222
- name: Checkout SAM CLI
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
repository: aws/aws-sam-cli
2626
path: aws-sam-cli
@@ -59,15 +59,15 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Checkout SAM
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v5
6363
with:
6464
repository: aws/serverless-application-model
6565
path: serverless-application-model
6666
ref: main
6767
fetch-depth: 0
6868

6969
- name: Checkout SAM CLI
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v5
7171
with:
7272
repository: aws/aws-sam-cli
7373
path: aws-sam-cli
@@ -110,15 +110,15 @@ jobs:
110110
runs-on: ubuntu-latest
111111
steps:
112112
- name: Checkout Lambda Builders
113-
uses: actions/checkout@v4
113+
uses: actions/checkout@v5
114114
with:
115115
repository: aws/aws-lambda-builders
116116
path: aws-lambda-builders
117117
ref: main
118118
fetch-depth: 0
119119

120120
- name: Checkout SAM CLI
121-
uses: actions/checkout@v4
121+
uses: actions/checkout@v5
122122
with:
123123
repository: aws/aws-sam-cli
124124
path: aws-sam-cli

.github/workflows/build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
- "3.9"
5959
- "3.11"
6060
steps:
61-
- uses: actions/checkout@v4
62-
- uses: actions/setup-python@v5
61+
- uses: actions/checkout@v5
62+
- uses: actions/setup-python@v6
6363
with:
6464
python-version: ${{ matrix.python }}
6565
- run: test -f "./.github/ISSUE_TEMPLATE/Bug_report.md" # prevent Bug_report.md from being renamed or deleted
@@ -74,8 +74,8 @@ jobs:
7474
contents: write
7575
runs-on: ubuntu-latest
7676
steps:
77-
- uses: actions/checkout@v4
78-
- uses: actions/setup-python@v5
77+
- uses: actions/checkout@v5
78+
- uses: actions/setup-python@v6
7979
name: Install Python 3.11
8080
with:
8181
python-version: 3.11
@@ -132,8 +132,8 @@ jobs:
132132
#- "validate"
133133
- "tests/integration/docs"
134134
steps:
135-
- uses: actions/checkout@v4
136-
- uses: actions/setup-python@v5
135+
- uses: actions/checkout@v5
136+
- uses: actions/setup-python@v6
137137
with:
138138
# set last version as the one in matrix to make it default
139139
python-version: |
@@ -143,16 +143,16 @@ jobs:
143143
3.12
144144
3.13
145145
${{ matrix.python }}
146-
- uses: actions/setup-go@v5
146+
- uses: actions/setup-go@v6
147147
with:
148148
go-version: '1.19'
149149
- uses: ruby/setup-ruby@v1
150150
with:
151151
ruby-version: "3.3"
152-
- uses: actions/setup-node@v4
152+
- uses: actions/setup-node@v5
153153
with:
154154
node-version: 22
155-
- uses: actions/setup-java@v4
155+
- uses: actions/setup-java@v5
156156
with:
157157
distribution: 'corretto'
158158
java-version: |
@@ -213,8 +213,8 @@ jobs:
213213
- "3.9"
214214
- "3.11"
215215
steps:
216-
- uses: actions/checkout@v4
217-
- uses: actions/setup-python@v5
216+
- uses: actions/checkout@v5
217+
- uses: actions/setup-python@v6
218218
with:
219219
python-version: ${{ matrix.python }}
220220
- name: Init samdev
@@ -235,8 +235,8 @@ jobs:
235235
- ubuntu-latest
236236
- windows-latest
237237
steps:
238-
- uses: actions/checkout@v4
239-
- uses: actions/setup-python@v5
238+
- uses: actions/checkout@v5
239+
- uses: actions/setup-python@v6
240240
with:
241241
# These are the versions of Python that correspond to the supported Lambda runtimes
242242
python-version: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Checkout repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL

.github/workflows/pr-labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v5
12+
- uses: actions/labeler@v6
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
apply-internal-external-label:
@@ -19,7 +19,7 @@ jobs:
1919
pull-requests: write
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/github-script@v7
22+
- uses: actions/github-script@v8
2323
with:
2424
github-token: ${{secrets.GITHUB_TOKEN}}
2525
script: |

.github/workflows/update-reproducibles.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
max-parallel: 1
3131
runs-on: ${{ matrix.os }}
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434
with:
3535
ref: ${{ github.head_ref }}
36-
- uses: actions/setup-python@v5
36+
- uses: actions/setup-python@v6
3737
with:
3838
python-version: ${{ matrix.python }}
3939
- run: make ${{ matrix.target }}

.github/workflows/validate_pyinstaller.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- name: Make installer script executable
2121
run: chmod +x ./installer/pyinstaller/build-linux.sh
2222
- name: Build PyInstaller in manylinux container
2323
run: |
2424
docker run --rm -v .:/samcli -w /samcli -e CI_OVERRIDE='1' \
2525
quay.io/pypa/manylinux2014_x86_64:latest /samcli/installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip
26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@v6
2727
with:
2828
python-version: 3.11
2929
- name: Basic tests for PyInstaller
@@ -45,8 +45,8 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
steps:
48-
- uses: actions/checkout@v4
49-
- uses: actions/setup-python@v5
48+
- uses: actions/checkout@v5
49+
- uses: actions/setup-python@v6
5050
with:
5151
python-version: "3.11"
5252
- name: Build PyInstaller

appveyor-windows-al2023.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ install:
6565
- "ruby --version"
6666
- ps: "Restart-Service docker"
6767
# Switch to Docker Linux containers
68-
- ps: '& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchLinuxEngine'4
68+
- ps: '& $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchLinuxEngine'
6969
- "docker info"
7070
- "docker version"
7171

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ select = [
1111
"PL", # pylint
1212
"I", # isort
1313
]
14-
ignore = ["PLR0913"]
14+
ignore = ["PLR0913", "PLC0415", "PLW1641"]
1515

1616
[tool.ruff.lint.pylint]
1717
max-branches = 25

requirements/base.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ click==8.1.8
33
Flask<3.2
44
boto3>=1.29.2,<2
55
jmespath~=1.0.1
6-
ruamel_yaml~=0.18.14
6+
ruamel_yaml~=0.18.15
77
PyYAML~=6.0
88
cookiecutter~=2.6.0
9-
aws-sam-translator==1.99.0
9+
aws-sam-translator==1.100.0
1010
#docker minor version updates can include breaking changes. Auto update micro version only.
1111
docker~=7.1.0
1212
dateparser~=1.2
13-
requests~=2.32.4
14-
aws_lambda_builders==1.57.0
13+
requests~=2.32.5
14+
aws_lambda_builders==1.58.0
1515
tomlkit==0.13.3
1616
# NOTE: For supporting watchdog in Python3.8, version is pinned to 4.0.2 as
1717
# version 5.0.2 introduced some breaking changes for versions > Python3.8
@@ -31,7 +31,7 @@ regex!=2021.10.8
3131
tzlocal==5.3.1
3232

3333
#Adding cfn-lint dependency for SAM validate
34-
cfn-lint~=1.38.1
34+
cfn-lint~=1.39.1
3535

3636
# Type checking boto3 objects
37-
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray,sqs,kinesis]==1.39.7
37+
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray,sqs,kinesis]==1.40.26

requirements/dev.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
-r pre-dev.txt
22

3-
coverage==7.9.2; python_version>="3.9"
3+
coverage==7.10.2; python_version>="3.9"
44
coverage==7.6.1; python_version<"3.9"
5-
pytest-cov==6.2.1; python_version>="3.9"
5+
pytest-cov==6.3.0; python_version>="3.9"
66
pytest-cov==5.0.0; python_version<"3.9"
77

88

99
# type checking and related stubs
1010
# mypy adds new rules in new minor versions, which could cause our PR check to fail
1111
# here we fix its version and upgrade it manually in the future
1212
mypy==1.15.0
13-
types-pywin32==311.0.0.20250723; python_version>="3.9"
13+
types-pywin32==311.0.0.20250822; python_version>="3.9"
1414
types-pywin32==308.0.0.20241221; python_version<"3.9"
15-
types-PyYAML==6.0.12.20250516
15+
types-PyYAML==6.0.12.20250822
1616
types-chevron==0.14.2.20250103
17-
types-psutil==7.0.0.20250601
18-
types-setuptools==80.9.0.20250529
19-
types-Pygments==2.19.0.20250715
20-
types-colorama==0.4.15.20240311
21-
types-dateparser==1.2.2.20250627
22-
types-docutils==0.21.0.20250722
23-
types-jsonschema==4.25.0.20250720
17+
types-psutil==7.0.0.20250822
18+
types-setuptools==80.9.0.20250822
19+
types-Pygments==2.19.0.20250809
20+
types-colorama==0.4.15.20250801
21+
types-dateparser==1.2.2.20250809
22+
types-docutils==0.22.0.20250822
23+
types-jsonschema==4.25.1.20250822
2424
types-pyOpenSSL==24.1.0.20240722
2525
# lucashuy: pin `types-request` based on the Python version since newer versions of
2626
# the types require a newer version of requests, which is only installed in newer versions of Python
2727
types-requests==2.31.0.6; python_version<"3.10"
28-
types-requests==2.32.4.20250611; python_version>="3.10"
28+
types-requests==2.32.4.20250809; python_version>="3.10"
2929
types-urllib3==1.26.25.14
3030

3131
# Test requirements
@@ -36,13 +36,13 @@ parameterized==0.9.0
3636
pytest-xdist==3.8.0
3737
pytest-forked==1.6.0
3838
pytest-timeout==2.4.0
39-
pytest-rerunfailures==15.1; python_version>="3.9"
39+
pytest-rerunfailures==16.0.1; python_version>="3.9"
4040
pytest-rerunfailures==14.0; python_version<"3.9"
4141
# NOTE (hawflau): DO NOT upgrade pytest-metadata and pytest-json-report unless pytest-json-report addresses https://github.com/numirias/pytest-json-report/issues/89
4242
pytest-metadata==3.1.1
4343
# NOTE (lucashuy): `pytest-json-report` was updated to `pytest-json-report-wip` as the original repository does not seem to be maintained anymore, if `-wip` is updated, validate the changes
4444
pytest-json-report-wip==1.5.1
45-
filelock==3.18.0; python_version>="3.9"
45+
filelock==3.19.1; python_version>="3.9"
4646
filelock==3.16.1; python_version<"3.9"
4747

4848
# formatter

0 commit comments

Comments
 (0)