Skip to content

Commit a1607b3

Browse files
authoredNov 12, 2024
Merge from aws/aws-sam-cli/develop
2 parents 750010e + 73d28d2 commit a1607b3

34 files changed

+495
-460
lines changed
 

‎.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
3.10
145145
3.11
146146
3.12
147+
3.13
147148
${{ matrix.python }}
148149
- uses: actions/setup-go@v5
149150
with:
@@ -249,6 +250,7 @@ jobs:
249250
3.10
250251
3.11
251252
3.12
253+
3.13
252254
- name: Stop Docker Linux
253255
if: ${{ matrix.os == 'ubuntu-latest' }}
254256
run: |

‎appveyor-linux-binary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ install:
7777
- sh: "./aws_cli/bin/python -m pip install awscli"
7878
- sh: "PATH=$(echo $PWD'/aws_cli/bin'):$PATH"
7979

80-
- sh: "PATH=$PATH:$HOME/venv3.7/bin:$HOME/venv3.8/bin:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin"
80+
- sh: "PATH=$PATH:$HOME/venv3.7/bin:$HOME/venv3.8/bin:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin:$HOME/venv3.13/bin"
8181

8282
# Install pytest
8383
- sh: "python3.9 -m venv $HOME/pytest"

‎appveyor-ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ install:
7575
- sh: "./aws_cli/bin/python -m pip install awscli"
7676
- sh: "PATH=$(echo $PWD'/aws_cli/bin'):$PATH"
7777

78-
- sh: "PATH=$PATH:$HOME/venv3.7/bin:$HOME/venv3.8/bin:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin"
78+
- sh: "PATH=$PATH:$HOME/venv3.7/bin:$HOME/venv3.8/bin:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin:$HOME/venv3.13/bin"
7979

8080
# update ca-certificates which causes failures with newest golang library
8181
- sh: "sudo apt-get install --reinstall ca-certificates"

‎appveyor-windows-al2023.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,21 @@ install:
5353

5454
# Make sure the temp directory exists for Python to use.
5555
- ps: "mkdir -Force C:\\tmp"
56-
- 'set PATH=%PYTHON_HOME%;C:\Ruby33-x64\bin;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64'
56+
- "python --version"
57+
# Temporarily install python3.13 from the embedded zip file. Once AppVeyor installs it in the image, the below code can be removed.
58+
- ps: 'Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.13.0/python-3.13.0-embed-amd64.zip -OutFile python313.zip'
59+
- ps: "Expand-Archive -Path python313.zip -DestinationPath C:\\Python313-x64"
60+
- 'set PATH=%PYTHON_HOME%;C:\Ruby33-x64\bin;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64;C:\Python313-x64\Scripts;'
61+
- ps: |
62+
$pth_file = "C:\Python313-x64\python313._pth"
63+
(Get-Content -Path $pth_file) -replace '#import site', 'import site' | Set-Content -Path $pth_file
64+
- ps: |
65+
if (!(Test-Path -Path "C:\Python313-x64\Scripts\pip.exe")) {
66+
Invoke-WebRequest -Uri https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py
67+
& "C:\Python313-x64\python.exe" get-pip.py
68+
}
69+
- "python --version"
70+
- ps: pip --version
5771
- "echo %PYTHON_HOME%"
5872
- "echo %PATH%"
5973
- "python --version"

‎appveyor-windows-binary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ install:
6767

6868
# Make sure the temp directory exists for Python to use.
6969
- ps: "mkdir -Force C:\\tmp"
70-
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python38-x64;C:\Python312-x64'
70+
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python38-x64;C:\Python312-x64;C:\Python313-x64'
7171
- "echo %PYTHON_HOME%"
7272
- "echo %PATH%"
7373
- "python --version"

‎appveyor-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ install:
6666

6767
# Make sure the temp directory exists for Python to use.
6868
- ps: "mkdir -Force C:\\tmp"
69-
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64'
69+
- 'set PATH=%PYTHON_HOME%;C:\Ruby32-x64\bin;%PATH%;C:\Python39-x64;C:\Python310-x64;C:\Python311-x64;C:\Python312-x64;C:\Python313-x64'
7070
- "echo %PYTHON_HOME%"
7171
- "echo %PATH%"
7272
- "python --version"

‎requirements/base.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ jmespath~=1.0.1
66
ruamel_yaml~=0.18.6
77
PyYAML~=6.0
88
cookiecutter~=2.6.0
9-
aws-sam-translator==1.91.0
9+
aws-sam-translator==1.92.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.3
14-
aws_lambda_builders==1.50.0
14+
aws_lambda_builders==1.51.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
1818
watchdog==4.0.2
1919

20-
rich~=13.9.2
20+
rich~=13.9.4
2121
pyopenssl~=24.2.1
2222
# Pin to <4.18 to until SAM-T no longer uses RefResolver
2323
jsonschema<4.24
@@ -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.17.2
34+
cfn-lint~=1.18.4
3535

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

‎requirements/dev.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pytest-cov==5.0.0
99
# mypy adds new rules in new minor versions, which could cause our PR check to fail
1010
# here we fix its version and upgrade it manually in the future
1111
mypy==1.11.2
12-
types-pywin32==308.0.0.20241025
12+
types-pywin32==308.0.0.20241029
1313
types-PyYAML==6.0.12.20240917
1414
types-chevron==0.14.2.20240310
15-
types-psutil==6.1.0.20241022
16-
types-setuptools==75.2.0.20241025
15+
types-psutil==6.1.0.20241102
16+
types-setuptools==75.3.0.20241107
1717
types-Pygments==2.18.0.20240506
1818
types-colorama==0.4.15.20240311
1919
types-dateparser==1.2.0.20240420

‎requirements/pre-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruff==0.6.9
1+
ruff==0.7.2

‎requirements/pyinstaller-build.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Executable binary builder requirements
2-
setuptools==75.1.0
2+
setuptools==75.3.0
33
pyinstaller==6.11.0

0 commit comments

Comments
 (0)
Failed to load comments.