Skip to content

Commit a184faa

Browse files
Merge from aws/aws-sam-cli/develop
2 parents 9611bb8 + e19d395 commit a184faa

File tree

15 files changed

+47
-38
lines changed

15 files changed

+47
-38
lines changed

requirements/base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ aws-sam-translator==1.95.0
1111
docker~=7.1.0
1212
dateparser~=1.2
1313
requests~=2.32.3
14-
aws_lambda_builders==1.53.0
14+
aws_lambda_builders==1.54.0
1515
tomlkit==0.13.2
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.2
3232

3333
#Adding cfn-lint dependency for SAM validate
34-
cfn-lint~=1.25.1
34+
cfn-lint~=1.32.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.35.71

requirements/dev.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ pytest-cov==5.0.0; python_version<"3.9"
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==308.0.0.20250128; python_version>="3.9"
13+
types-pywin32==309.0.0.20250311; python_version>="3.9"
1414
types-pywin32==308.0.0.20241221; python_version<"3.9"
1515
types-PyYAML==6.0.12.20241230
1616
types-chevron==0.14.2.20250103
1717
types-psutil==7.0.0.20250218
18-
types-setuptools==75.8.2.20250305
18+
types-setuptools==76.0.0.20250313
1919
types-Pygments==2.19.0.20250305
2020
types-colorama==0.4.15.20240311
2121
types-dateparser==1.2.0.20250208
@@ -25,7 +25,7 @@ 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.0.20250301; python_version>="3.10"
28+
types-requests==2.32.0.20250306; python_version>="3.10"
2929
types-urllib3==1.26.25.14
3030

3131
# Test requirements
@@ -42,7 +42,7 @@ pytest-rerunfailures==14.0; python_version<"3.9"
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.17.0; python_version>="3.9"
45+
filelock==3.18.0; python_version>="3.9"
4646
filelock==3.16.1; python_version<"3.9"
4747

4848
# formatter

requirements/reproducible-linux.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ attrs==24.2.0 \
1818
# via
1919
# jsonschema
2020
# referencing
21-
aws-lambda-builders==1.53.0 \
22-
--hash=sha256:ca9ddd99214aef8a113a3fcd7d7fe3951ef0e078478484f03c398a3bdee04ccb \
23-
--hash=sha256:d08bfa947fff590f1bedd16c2f4ec7722cbb8869aae80764d99215a41ff284a1
21+
aws-lambda-builders==1.54.0 \
22+
--hash=sha256:168ccca3ee70c68a499741ecf5dc984fc16b169ae7b95baf8118091315b42eb5 \
23+
--hash=sha256:c74353b6f4dfda981f3b01aa1e39180a492cbd323852122b6f6451faeb4d15f0
2424
# via aws-sam-cli (setup.py)
2525
aws-sam-translator==1.95.0 \
2626
--hash=sha256:c9e0f22cbe83c768f7d20a3afb7e654bd6bfc087b387528bd48e98366b82ae40 \
@@ -129,9 +129,9 @@ cffi==1.17.1 \
129129
--hash=sha256:f7f5baafcc48261359e14bcd6d9bff6d4b28d9103847c9e136694cb0501aef87 \
130130
--hash=sha256:fc48c783f9c87e60831201f2cce7f3b2e4846bf4d8728eabe54d60700b318a0b
131131
# via cryptography
132-
cfn-lint==1.25.1 \
133-
--hash=sha256:717012566c6034ffa7e60fcf1b350804d093ee37589a1e91a1fd867f33a930b7 \
134-
--hash=sha256:bbf6c2d95689da466dc427217ab7ed8f3a2a4a134df70876cc63e41aaad9385a
132+
cfn-lint==1.32.1 \
133+
--hash=sha256:10282c0ec7fc6391da4877d9381a6b954f3c54ddcc0d3c97ee86f4783b5ae680 \
134+
--hash=sha256:a8ea63ac8daa69a66a54a796998362fd063d9ba1e9c1fc3c932213b0c027669c
135135
# via aws-sam-cli (setup.py)
136136
chardet==5.2.0 \
137137
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \

requirements/reproducible-mac.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ attrs==24.2.0 \
1818
# via
1919
# jsonschema
2020
# referencing
21-
aws-lambda-builders==1.53.0 \
22-
--hash=sha256:ca9ddd99214aef8a113a3fcd7d7fe3951ef0e078478484f03c398a3bdee04ccb \
23-
--hash=sha256:d08bfa947fff590f1bedd16c2f4ec7722cbb8869aae80764d99215a41ff284a1
21+
aws-lambda-builders==1.54.0 \
22+
--hash=sha256:168ccca3ee70c68a499741ecf5dc984fc16b169ae7b95baf8118091315b42eb5 \
23+
--hash=sha256:c74353b6f4dfda981f3b01aa1e39180a492cbd323852122b6f6451faeb4d15f0
2424
# via aws-sam-cli (setup.py)
2525
aws-sam-translator==1.95.0 \
2626
--hash=sha256:c9e0f22cbe83c768f7d20a3afb7e654bd6bfc087b387528bd48e98366b82ae40 \
@@ -129,9 +129,9 @@ cffi==1.17.1 \
129129
--hash=sha256:f7f5baafcc48261359e14bcd6d9bff6d4b28d9103847c9e136694cb0501aef87 \
130130
--hash=sha256:fc48c783f9c87e60831201f2cce7f3b2e4846bf4d8728eabe54d60700b318a0b
131131
# via cryptography
132-
cfn-lint==1.25.1 \
133-
--hash=sha256:717012566c6034ffa7e60fcf1b350804d093ee37589a1e91a1fd867f33a930b7 \
134-
--hash=sha256:bbf6c2d95689da466dc427217ab7ed8f3a2a4a134df70876cc63e41aaad9385a
132+
cfn-lint==1.32.1 \
133+
--hash=sha256:10282c0ec7fc6391da4877d9381a6b954f3c54ddcc0d3c97ee86f4783b5ae680 \
134+
--hash=sha256:a8ea63ac8daa69a66a54a796998362fd063d9ba1e9c1fc3c932213b0c027669c
135135
# via aws-sam-cli (setup.py)
136136
chardet==5.2.0 \
137137
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \

requirements/reproducible-win.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ attrs==24.2.0 \
1818
# via
1919
# jsonschema
2020
# referencing
21-
aws-lambda-builders==1.53.0 \
22-
--hash=sha256:ca9ddd99214aef8a113a3fcd7d7fe3951ef0e078478484f03c398a3bdee04ccb \
23-
--hash=sha256:d08bfa947fff590f1bedd16c2f4ec7722cbb8869aae80764d99215a41ff284a1
21+
aws-lambda-builders==1.54.0 \
22+
--hash=sha256:168ccca3ee70c68a499741ecf5dc984fc16b169ae7b95baf8118091315b42eb5 \
23+
--hash=sha256:c74353b6f4dfda981f3b01aa1e39180a492cbd323852122b6f6451faeb4d15f0
2424
# via aws-sam-cli (setup.py)
2525
aws-sam-translator==1.95.0 \
2626
--hash=sha256:c9e0f22cbe83c768f7d20a3afb7e654bd6bfc087b387528bd48e98366b82ae40 \
@@ -129,9 +129,9 @@ cffi==1.17.1 \
129129
--hash=sha256:f7f5baafcc48261359e14bcd6d9bff6d4b28d9103847c9e136694cb0501aef87 \
130130
--hash=sha256:fc48c783f9c87e60831201f2cce7f3b2e4846bf4d8728eabe54d60700b318a0b
131131
# via cryptography
132-
cfn-lint==1.25.1 \
133-
--hash=sha256:717012566c6034ffa7e60fcf1b350804d093ee37589a1e91a1fd867f33a930b7 \
134-
--hash=sha256:bbf6c2d95689da466dc427217ab7ed8f3a2a4a134df70876cc63e41aaad9385a
132+
cfn-lint==1.32.1 \
133+
--hash=sha256:10282c0ec7fc6391da4877d9381a6b954f3c54ddcc0d3c97ee86f4783b5ae680 \
134+
--hash=sha256:a8ea63ac8daa69a66a54a796998362fd063d9ba1e9c1fc3c932213b0c027669c
135135
# via aws-sam-cli (setup.py)
136136
chardet==5.2.0 \
137137
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \

samcli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
SAM CLI version
33
"""
44

5-
__version__ = "1.135.0"
5+
__version__ = "1.136.0"

samcli/commands/build/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
------------------
5959
1. Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 using PIP\n
6060
2. Nodejs 22.x, Nodejs 20.x, 18.x, 16.x, 14.x, 12.x using NPM\n
61-
3. Ruby 3.2, 3.3 using Bundler\n
61+
3. Ruby 3.2, 3.3, 3.4 using Bundler\n
6262
4. Java 8, Java 11, Java 17, Java 21 using Gradle and Maven\n
6363
5. Dotnet8, Dotnet6 using Dotnet CLI\n
6464
6. Go 1.x using Go Modules (without --use-container)\n

samcli/lib/build/workflow_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def get_layer_subfolder(build_workflow: str) -> str:
100100
"nodejs22.x": "nodejs",
101101
"ruby3.2": "ruby/lib",
102102
"ruby3.3": "ruby/lib",
103+
"ruby3.4": "ruby/lib",
103104
"java11": "java",
104105
"java8.al2": "java",
105106
"java17": "java",
@@ -167,6 +168,7 @@ def get_workflow_config(
167168
"nodejs22.x": BasicWorkflowSelector(NODEJS_NPM_CONFIG),
168169
"ruby3.2": BasicWorkflowSelector(RUBY_BUNDLER_CONFIG),
169170
"ruby3.3": BasicWorkflowSelector(RUBY_BUNDLER_CONFIG),
171+
"ruby3.4": BasicWorkflowSelector(RUBY_BUNDLER_CONFIG),
170172
"dotnet6": BasicWorkflowSelector(DOTNET_CLIPACKAGE_CONFIG),
171173
"dotnet8": BasicWorkflowSelector(DOTNET_CLIPACKAGE_CONFIG),
172174
"go1.x": BasicWorkflowSelector(GO_MOD_CONFIG),

samcli/lib/utils/architecture.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"python3.13": [ARM64, X86_64],
2828
"ruby3.2": [ARM64, X86_64],
2929
"ruby3.3": [ARM64, X86_64],
30+
"ruby3.4": [ARM64, X86_64],
3031
"java8.al2": [ARM64, X86_64],
3132
"java11": [ARM64, X86_64],
3233
"java17": [ARM64, X86_64],

samcli/local/common/runtime_template.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"ruby": [
2626
{
27-
"runtimes": ["ruby3.3", "ruby3.2"],
27+
"runtimes": ["ruby3.4", "ruby3.3", "ruby3.2"],
2828
"dependency_manager": "bundler",
2929
"init_location": os.path.join(_templates, "cookiecutter-aws-sam-hello-ruby"),
3030
"build": True,
@@ -125,6 +125,7 @@ def get_local_lambda_images_location(mapping, runtime):
125125
"python3.9",
126126
"python3.8",
127127
# ruby runtimes in descending order
128+
"ruby3.4",
128129
"ruby3.3",
129130
"ruby3.2",
130131
]
@@ -150,6 +151,7 @@ def get_local_lambda_images_location(mapping, runtime):
150151
"python3.10": "amazon/python3.10-base",
151152
"python3.9": "amazon/python3.9-base",
152153
"python3.8": "amazon/python3.8-base",
154+
"ruby3.4": "amazon/ruby3.4-base",
153155
"ruby3.3": "amazon/ruby3.3-base",
154156
"ruby3.2": "amazon/ruby3.2-base",
155157
}

0 commit comments

Comments
 (0)