Skip to content

Commit fd1280b

Browse files
Merge from aws/aws-sam-cli/develop
2 parents f78f718 + 403392b commit fd1280b

47 files changed

Lines changed: 798 additions & 819 deletions

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ jobs:
160160
- uses: actions/setup-go@v6
161161
with:
162162
go-version: '1.19'
163-
- uses: ruby/setup-ruby@v1
163+
# Pin to specific version until Lambda Builders support bundler 4.0.0
164+
- uses: ruby/setup-ruby@v1.268.0
164165
with:
165166
ruby-version: "3.3"
166167
- uses: actions/setup-node@v6
@@ -175,6 +176,9 @@ jobs:
175176
17
176177
21
177178
25
179+
- uses: actions/setup-dotnet@v5
180+
with:
181+
dotnet-version: '10.0.x'
178182
# Install and configure Rust & Cargo Lambda
179183
- name: Install and configure Rust & Cargo Lambda
180184
if: ${{ matrix.os == 'ubuntu-latest' }}

.github/workflows/integration-tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ jobs:
108108
fi
109109
110110
- name: Configure AWS credentials via OIDC
111-
uses: aws-actions/configure-aws-credentials@v4
111+
uses: aws-actions/configure-aws-credentials@v5
112112
with:
113113
role-to-assume: ${{ secrets.OIDC_ROLE_ARN }}
114114
aws-region: us-east-1
115115

116116
- name: Set up Python
117-
uses: actions/setup-python@v5
117+
uses: actions/setup-python@v6
118118
with:
119119
python-version: |
120120
3.11
@@ -126,13 +126,13 @@ jobs:
126126
127127
- name: Set up Node.js
128128
if: contains(fromJSON('["build-integ", "build-integ-java-python-provided", "build-integ-dotnet-node-ruby", "build-integ-arm64"]'), matrix.test_suite) && matrix.container_runtime == 'no-container'
129-
uses: actions/setup-node@v4
129+
uses: actions/setup-node@v6
130130
with:
131131
node-version: ${{ env.NODE_VERSION }}
132132

133133
- name: Set up Java 25
134134
if: (contains(fromJSON('["build-integ", "build-integ-java-python-provided", "build-integ-arm64", "build-integ-arm64-java"]'), matrix.test_suite) && matrix.container_runtime == 'no-container') || matrix.test_suite == 'sync'
135-
uses: actions/setup-java@v4
135+
uses: actions/setup-java@v5
136136
with:
137137
distribution: 'corretto'
138138
java-version: '25'
@@ -149,35 +149,35 @@ jobs:
149149
# Remove system Maven if it exists
150150
sudo apt-get remove -y maven || true
151151
152-
# Install Maven 3.9.11
153-
wget https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.zip -P /tmp
152+
# Install Maven 3.9.12
153+
wget https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.zip -P /tmp
154154
sudo unzip -d /opt/mvn /tmp/apache-maven-*.zip
155155
156156
# Install Gradle 9.2.0
157157
wget https://services.gradle.org/distributions/gradle-9.2.0-bin.zip -P /tmp
158158
sudo unzip -d /opt/gradle /tmp/gradle-*.zip
159159
160160
# Create symlinks to ensure our Maven is used
161-
sudo ln -sf /opt/mvn/apache-maven-3.9.11/bin/mvn /usr/local/bin/mvn
161+
sudo ln -sf /opt/mvn/apache-maven-3.9.12/bin/mvn /usr/local/bin/mvn
162162
sudo ln -sf /opt/gradle/gradle-9.2.0/bin/gradle /usr/local/bin/gradle
163163
164164
# Add to PATH (prepend to ensure our versions are used first)
165-
echo "/opt/mvn/apache-maven-3.9.11/bin" >> $GITHUB_PATH
165+
echo "/opt/mvn/apache-maven-3.9.12/bin" >> $GITHUB_PATH
166166
echo "/opt/gradle/gradle-9.2.0/bin" >> $GITHUB_PATH
167167
168168
# Set MAVEN_HOME
169-
echo "MAVEN_HOME=/opt/mvn/apache-maven-3.9.11" >> $GITHUB_ENV
169+
echo "MAVEN_HOME=/opt/mvn/apache-maven-3.9.12" >> $GITHUB_ENV
170170
171171
# Verify versions
172-
export PATH="/opt/mvn/apache-maven-3.9.11/bin:/opt/gradle/gradle-9.2.0/bin:$PATH"
172+
export PATH="/opt/mvn/apache-maven-3.9.12/bin:/opt/gradle/gradle-9.2.0/bin:$PATH"
173173
mvn --version
174174
gradle --version
175175
176-
- name: Install .NET 8 SDK
176+
- name: Install .NET 10 SDK
177177
if: contains(fromJSON('["build-integ-java-python-provided", "build-integ-dotnet-node-ruby", "build-integ-arm64"]'), matrix.test_suite) && matrix.container_runtime == 'no-container' || matrix.test_suite == 'other-and-e2e'
178-
uses: actions/setup-dotnet@v4
178+
uses: actions/setup-dotnet@v5
179179
with:
180-
dotnet-version: '8.0.x'
180+
dotnet-version: '10.0.x'
181181

182182
- name: Set up Ruby 3.3.7
183183
if: (contains(fromJSON('["build-integ","build-integ-dotnet-node-ruby", "build-integ-arm64"]'), matrix.test_suite) && matrix.container_runtime == 'no-container') || matrix.test_suite == 'other-and-e2e'
@@ -396,7 +396,7 @@ jobs:
396396
397397
- name: Upload test results
398398
if: always()
399-
uses: actions/upload-artifact@v4
399+
uses: actions/upload-artifact@v5
400400
with:
401401
name: test-results-${{ matrix.test_suite }}-${{ matrix.container_runtime }}
402402
path: TEST_REPORT-*.json

appveyor-linux-binary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ install:
4646
- sh: "ls /usr/"
4747
# install latest maven which is compatible with jdk17
4848
- sh: "sudo apt-get -y remove maven"
49-
- sh: "wget https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.zip -P /tmp"
49+
- sh: "wget https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.zip -P /tmp"
5050
- sh: "sudo unzip -d /opt/mvn /tmp/apache-maven-*.zip"
51-
- sh: "PATH=/opt/mvn/apache-maven-3.9.11/bin:$PATH"
51+
- sh: "PATH=/opt/mvn/apache-maven-3.9.12/bin:$PATH"
5252
- sh: "mvn --version"
5353

5454
- sh: "source ${HOME}/venv${PYTHON_VERSION}/bin/activate"

appveyor-ubuntu.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ install:
5858
- sh: "ls /usr/"
5959
# install latest maven which is compatible with jdk17
6060
- sh: "sudo apt-get -y remove maven"
61-
- sh: "wget https://dlcdn.apache.org/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.zip -P /tmp"
61+
- sh: "wget https://dlcdn.apache.org/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.zip -P /tmp"
6262
- sh: "sudo unzip -d /opt/mvn /tmp/apache-maven-*.zip"
63-
- sh: "PATH=/opt/mvn/apache-maven-3.9.11/bin:$PATH"
63+
- sh: "PATH=/opt/mvn/apache-maven-3.9.12/bin:$PATH"
6464
- sh: "mvn --version"
6565

6666
# Finch Runtime Setup (Steps 1-7)
@@ -306,7 +306,6 @@ install:
306306
- sh: 'export AWS_SIGNING_PROFILE_VERSION_ARN=$(echo "$test_env_var" | jq -j ".TestSigningProfileARN")'
307307
- sh: 'export LMI_SUBNET_ID=$(echo "$test_env_var" | jq -j ".LMISubnetId")'
308308
- sh: 'export LMI_SECURITY_GROUP_ID=$(echo "$test_env_var" | jq -j ".LMISecurityGroupId")'
309-
- sh: 'export LMI_OPERATOR_ROLE_ARN=$(echo "$test_env_var" | jq -j ".LMIOperatorRoleArn")'
310309

311310
# Runtime-aware Docker Hub authentication with fail-fast
312311
- sh: |

appveyor-windows-al2023.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ install:
104104
$env:AWS_SIGNING_PROFILE_VERSION_ARN = $test_env_var_json.TestSigningProfileARN;
105105
$env:LMI_SUBNET_ID = $test_env_var_json.LMISubnetId;
106106
$env:LMI_SECURITY_GROUP_ID = $test_env_var_json.LMISecurityGroupId;
107-
$env:LMI_OPERATOR_ROLE_ARN = $test_env_var_json.LMIOperatorRoleArn;
108107
}"
109108

110109

appveyor-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ install:
114114
$env:AWS_SIGNING_PROFILE_VERSION_ARN = $test_env_var_json.TestSigningProfileARN;
115115
$env:LMI_SUBNET_ID = $test_env_var_json.LMISubnetId;
116116
$env:LMI_SECURITY_GROUP_ID = $test_env_var_json.LMISecurityGroupId;
117-
$env:LMI_OPERATOR_ROLE_ARN = $test_env_var_json.LMIOperatorRoleArn;
118117
}"
119118

120119

requirements/base.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jmespath~=1.0.1
66
ruamel_yaml~=0.18.16
77
PyYAML~=6.0
88
cookiecutter~=2.6.0
9-
aws-sam-translator==1.105.0
9+
aws-sam-translator==1.106.0
1010
#docker minor version updates can include breaking changes. Auto update micro version only.
1111
docker~=7.1.0
1212
dateparser~=1.2
1313
requests~=2.32.5
14-
aws_lambda_builders==1.60.0
14+
aws_lambda_builders==1.61.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.42.0
34+
cfn-lint~=1.43.0
3535

3636
# Type checking boto3 objects
3737
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray,sqs,kinesis]>=1.41.0

requirements/dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ types-pywin32==311.0.0.20251008; python_version>="3.9"
1414
types-pywin32==308.0.0.20241221; python_version<"3.9"
1515
types-PyYAML==6.0.12.20250915
1616
types-chevron==0.14.2.20250103
17-
types-psutil==7.0.0.20251001
17+
types-psutil==7.1.3.20251202
1818
types-setuptools==80.9.0.20250822
19-
types-Pygments==2.19.0.20250809
19+
types-Pygments==2.19.0.20251121
2020
types-colorama==0.4.15.20250801
2121
types-dateparser==1.2.2.20250809
22-
types-docutils==0.22.2.20251006
22+
types-docutils==0.22.3.20251115
2323
types-jsonschema==4.25.1.20251009
2424
types-pyOpenSSL==24.1.0.20240722
2525
# lucashuy: pin `types-request` based on the Python version since newer versions of

0 commit comments

Comments
 (0)