Skip to content

Commit fe7543a

Browse files
Merge from aws/aws-sam-cli/develop
2 parents 00cdd6b + 2ee0f3e commit fe7543a

115 files changed

Lines changed: 3039 additions & 1371 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/dependabot.yml

Lines changed: 70 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ updates:
1313
open-pull-requests-limit: 10
1414

1515
- package-ecosystem: "pip"
16-
directory: "/requirements"
16+
directory: "/"
1717
schedule:
1818
interval: "daily"
1919
target-branch: "develop"
@@ -26,14 +26,13 @@ updates:
2626
groups:
2727
boto:
2828
patterns:
29-
- "boto3"
29+
- "boto3[crt]"
3030
- "boto3-stubs*"
31-
- "botocore"
31+
- "botocore[crt]"
3232
- "botocore-stubs"
3333
- "mypy-boto3-*"
34-
types:
35-
patterns:
36-
- "types-*"
34+
- "types-awscrt"
35+
- "types-s3transfer"
3736
pytest:
3837
patterns:
3938
- "pytest-*"
@@ -42,13 +41,78 @@ updates:
4241
# as of writing this
4342
- "pytest-metadata"
4443
- "pytest-json-report"
44+
cookiecutter:
45+
patterns:
46+
- "cookiecutter"
47+
- "arrow"
48+
- "binaryornot"
49+
- "chardet"
50+
- "python-slugify"
51+
- "text-unidecode"
52+
flask:
53+
patterns:
54+
- "flask"
55+
- "blinker"
56+
- "werkzeug"
57+
- "itsdangerous"
58+
cfn-lint:
59+
patterns:
60+
- "cfn-lint"
61+
- "networkx"
62+
- "sympy"
63+
- "mpmath"
64+
- "jsonpatch"
65+
- "jsonpointer"
66+
cryptography:
67+
patterns:
68+
- "cryptography"
69+
- "pyopenssl"
70+
- "cffi"
71+
- "pycparser"
72+
requests:
73+
patterns:
74+
- "requests"
75+
- "certifi"
76+
- "charset-normalizer"
77+
- "idna"
78+
- "urllib3"
79+
rich:
80+
patterns:
81+
- "rich"
82+
- "markdown-it-py"
83+
- "mdurl"
84+
- "pygments"
85+
jsonschema:
86+
patterns:
87+
- "jsonschema"
88+
- "jsonschema-specifications"
89+
- "referencing"
90+
- "attrs"
91+
- "rpds-py"
92+
pydantic:
93+
patterns:
94+
- "pydantic"
95+
- "pydantic-core"
96+
- "annotated-types"
97+
- "typing-inspection"
98+
jinja2:
99+
patterns:
100+
- "jinja2"
101+
- "markupsafe"
102+
pyyaml:
103+
patterns:
104+
- "pyyaml"
105+
- "ruamel-yaml"
45106
ignore:
46107
# Ignored intentionally since we have a GHA that updates to more
47108
# completely
48109
- dependency-name: "aws-sam-translator"
49110
# Ignored intentionally since we have a GHA that updates to more
50111
# completely
51112
- dependency-name: "aws_lambda_builders"
113+
# Ignored intentionally since watchdog v5+ breaks sync watch
114+
# file change detection; pinned to 4.0.2
115+
- dependency-name: "watchdog"
52116
# The dependencies are intentionally pinned to certain
53117
# version ranges for specific Python versions
54118
- dependency-name: "flake8"

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ jobs:
108108
echo "SAM-T cur version is $SAM_T_CUR_VERSION"
109109
cd ../aws-sam-cli
110110
git checkout -b update_sam_transform_version
111-
SAM_T_PRE_VERSION=$(grep "aws-sam-translator=" requirements/base.txt)
111+
SAM_T_PRE_VERSION=$(grep -oP 'aws-sam-translator==\K[0-9.]+' pyproject.toml)
112112
echo "SAM-T pre version is $SAM_T_PRE_VERSION"
113113
git reset --hard develop
114-
sed -i "s/$SAM_T_PRE_VERSION/aws-sam-translator==$SAM_T_CUR_VERSION/g" requirements/base.txt
114+
sed -i "s/aws-sam-translator==$SAM_T_PRE_VERSION/aws-sam-translator==$SAM_T_CUR_VERSION/g" pyproject.toml
115115
cp -r ../serverless-application-model/tests/translator/input ./tests/functional/commands/validate/lib/models
116-
make update-reproducible-reqs-uv
116+
make update-reproducible-reqs
117117
git status
118118
git diff --quiet && exit 0 # exit if there is no change
119119
echo "is_new_sam_t=1" >> $GITHUB_ENV # set env variable for next step run decision
@@ -177,11 +177,11 @@ jobs:
177177
echo "Lambda Builders cur version is $BUILDERS_CUR_VERSION"
178178
cd ../aws-sam-cli
179179
git checkout -b update_lambda_builders_version
180-
BUILDERS_PRE_VERSION=$(grep "aws_lambda_builders=" requirements/base.txt)
180+
BUILDERS_PRE_VERSION=$(grep -oP 'aws_lambda_builders==\K[0-9.]+' pyproject.toml)
181181
echo "Lambda Builders pre version is $BUILDERS_PRE_VERSION"
182182
git reset --hard develop
183-
sed -i "s/$BUILDERS_PRE_VERSION/aws_lambda_builders==$BUILDERS_CUR_VERSION/g" requirements/base.txt
184-
make update-reproducible-reqs-uv
183+
sed -i "s/aws_lambda_builders==$BUILDERS_PRE_VERSION/aws_lambda_builders==$BUILDERS_CUR_VERSION/g" pyproject.toml
184+
make update-reproducible-reqs
185185
git status
186186
git diff --quiet && exit 0 # exit if there is no change
187187
echo "is_new_lambda_builders=1" >> $GITHUB_ENV # set env variable for next step run decision

0 commit comments

Comments
 (0)