From de14309a1648ecd4209cf1581b362e90a10288de Mon Sep 17 00:00:00 2001 From: achumagin Date: Thu, 27 Apr 2023 15:48:52 +0300 Subject: [PATCH 1/2] feat: added versions for allure_report --- functions/allure_report/make_allure_report.py | 9 ++------- functions/allure_report/requirements.txt | 10 +++++----- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/functions/allure_report/make_allure_report.py b/functions/allure_report/make_allure_report.py index 17bd448..3bf9f84 100644 --- a/functions/allure_report/make_allure_report.py +++ b/functions/allure_report/make_allure_report.py @@ -1,11 +1,6 @@ from mapper import create_json_report import os -import sys -import s3fs -import boto3 -import boto -import boto.s3 -import time + def handler(event, context): qa_bucket = os.environ['QA_BUCKET'] @@ -14,7 +9,7 @@ def handler(event, context): suite = report.get('suite_name') folder_key = report.get('folder_key') validate_id = report.get('validate_id') - link,key = create_json_report(suite,cloudfront,folder_key,validate_id) + link, key = create_json_report(suite, cloudfront, folder_key, validate_id) os.system("chmod +x generate_report.sh") os.system(f"sh generate_report.sh {key} {qa_bucket}") diff --git a/functions/allure_report/requirements.txt b/functions/allure_report/requirements.txt index a4866ae..379f66a 100644 --- a/functions/allure_report/requirements.txt +++ b/functions/allure_report/requirements.txt @@ -1,13 +1,13 @@ -importlib-metadata +importlib-metadata==6.6.0 aiobotocore==1.3.0 jinja2==3.0.3 nbconvert==6.5.1 great-expectations==0.14.1 -s3fs +s3fs==2021.7.0 python-dateutil==2.8.1 botocore==1.20.49 boto3==1.17.1 -boto +boto==2.49.0 pyarrow==2 -fastparquet -awswrangler \ No newline at end of file +fastparquet==0.8.1 +awswrangler==2.12.1 \ No newline at end of file From 2a8306008a340995412333f7afba63b32c571630 Mon Sep 17 00:00:00 2001 From: achumagin Date: Thu, 27 Apr 2023 16:06:39 +0300 Subject: [PATCH 2/2] feat: added versions for report_push --- functions/report_push/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/report_push/requirements.txt b/functions/report_push/requirements.txt index 536c262..8e35340 100644 --- a/functions/report_push/requirements.txt +++ b/functions/report_push/requirements.txt @@ -3,9 +3,9 @@ s3fs==2021.6.0 python-dateutil==2.8.1 botocore==1.20.49 boto3==1.17.1 -boto +boto==2.49.0 pyarrow==2 -fastparquet -awswrangler +fastparquet==0.8.1 +awswrangler==2.12.1 aiobotocore==1.3.0 jira==3.2.0 \ No newline at end of file