Skip to content

Commit 4dd9961

Browse files
committed
cleanup requirements across lamda functions, base requirements, and test requirements
1 parent 75fe9a2 commit 4dd9961

File tree

6 files changed

+28
-33
lines changed

6 files changed

+28
-33
lines changed

src/product_provider/main.py

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,12 @@
1-
# Copyright (C) 2020 Amazon.com, Inc. All Rights Reserved.
2-
#
3-
# Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
# this software and associated documentation files (the "Software"), to deal in
5-
# the Software without restriction, including without limitation the rights to
6-
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7-
# the Software, and to permit persons to whom the Software is furnished to do so,
8-
# subject to the following conditions:
9-
#
10-
# The above copyright notice and this permission notice shall be included in all
11-
# copies or substantial portions of the Software.
12-
#
13-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19-
20-
# This lambda focuses on data enrichment before passing along to the importer.
1+
"""
2+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
# SPDX-License-Identifier: MIT-0
214
5+
Lambda function provides data enrichment before passing along to the importer.
6+
"""
7+
import os
228
import json
239
import boto3
24-
import os
2510

2611
def process(payload):
2712

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
boto3
1+
botocore==1.38.15
2+
boto3==1.38.15
3+
aws_lambda_powertools==3.12.0
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
boto3
2-
cryptography
3-
python-jose
1+
botocore==1.38.15
2+
boto3==1.38.15
3+
aws_lambda_powertools==3.12.0
4+
cryptography==44.0.3
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
boto3
2-
cryptography
3-
python-jose
4-
1+
botocore==1.38.15
2+
boto3==1.38.15
3+
aws_lambda_powertools==3.12.0
4+
cryptography==44.0.3
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
boto3
2-
cryptography
3-
python-jose
4-
1+
botocore==1.38.15
2+
boto3==1.38.15
3+
aws_lambda_powertools==3.12.0
4+
cryptography==44.0.3
5+
python-jose==3.4.0

test/unit/src/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
coverage==7.8.0
2+
coverage-badge==1.1.2
3+
moto==5.1.4
4+
pylint==3.3.7
5+
pytest==8.3.5
6+
pytest-socket==0.7.0

0 commit comments

Comments
 (0)