From 40d3691564984898d21dd99ac72e18c65297bd32 Mon Sep 17 00:00:00 2001 From: Di Gao Date: Wed, 6 Nov 2024 10:36:24 -0800 Subject: [PATCH] Publish v3.1.2 patch release --- CHANGELOG.md | 6 ++++++ solution-manifest.yaml | 2 +- source/infrastructure/cdk.json | 2 +- source/infrastructure/data_lake/datasets/sdlf_dataset.py | 2 +- .../functional_tests/test_extended_dataset/run-test.sh | 2 +- source/tests/functional_tests/test_stack_deploy/run-test.sh | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d23c1d1..9762c52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.2] - 2024-11-06 + +### Added + +- Fixed bug with incompatable awswrangler version in AWS Glue + ## [3.1.1] - 2024-09-30 ### Added diff --git a/solution-manifest.yaml b/solution-manifest.yaml index 5ce438d..29aa2e9 100644 --- a/solution-manifest.yaml +++ b/solution-manifest.yaml @@ -1,6 +1,6 @@ id: SO0193 name: amazon-marketing-cloud-insights-on-aws -version: v3.1.1 +version: v3.1.2 cloudformation_templates: - template: amazon-marketing-cloud-insights.template main_template: true diff --git a/source/infrastructure/cdk.json b/source/infrastructure/cdk.json index 5b9c6d1..60b3bd6 100644 --- a/source/infrastructure/cdk.json +++ b/source/infrastructure/cdk.json @@ -29,7 +29,7 @@ "@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": true, "SOLUTION_NAME": "Amazon Marketing Cloud Insights on AWS", "SOLUTION_ID": "SO0193", - "SOLUTION_VERSION": "v3.1.1", + "SOLUTION_VERSION": "v3.1.2", "METRICS_NAMESPACE": "amcinsights", "BUCKET_NAME": "BUCKET_NAME" } diff --git a/source/infrastructure/data_lake/datasets/sdlf_dataset.py b/source/infrastructure/data_lake/datasets/sdlf_dataset.py index ea27670..1599f32 100644 --- a/source/infrastructure/data_lake/datasets/sdlf_dataset.py +++ b/source/infrastructure/data_lake/datasets/sdlf_dataset.py @@ -233,7 +233,7 @@ def _create_sdlf_stage_b_glue_job(self) -> None: default_arguments={ "--job-bookmark-option": "job-bookmark-enable", "--enable-metrics": "", - "--additional-python-modules": "awswrangler>=2.4.0,aws-lambda-powertools>=2.15.0", + "--additional-python-modules": "awswrangler==3.9.1,aws-lambda-powertools>=2.15.0", "--enable-job-insights": "true", "--extra-py-files": f"s3://{self._solution_buckets.artifacts_bucket.bucket_name}/{self._shared_modules_path}", "--SOLUTION_ID": self.node.try_get_context("SOLUTION_ID"), diff --git a/source/tests/functional_tests/test_extended_dataset/run-test.sh b/source/tests/functional_tests/test_extended_dataset/run-test.sh index dee6bdf..cdee9a8 100755 --- a/source/tests/functional_tests/test_extended_dataset/run-test.sh +++ b/source/tests/functional_tests/test_extended_dataset/run-test.sh @@ -150,7 +150,7 @@ echo "-----------------------------------------" cd $deployment_dir -version_code="v3.1.1" +version_code="v3.1.2" build-s3-cdk-dist deploy \ --source-bucket-name $template_bucket_name \ diff --git a/source/tests/functional_tests/test_stack_deploy/run-test.sh b/source/tests/functional_tests/test_stack_deploy/run-test.sh index ea81cdb..572cd7c 100755 --- a/source/tests/functional_tests/test_stack_deploy/run-test.sh +++ b/source/tests/functional_tests/test_stack_deploy/run-test.sh @@ -140,7 +140,7 @@ echo "TEST STACK SYNTHESIZE & DEPLOY" echo "-----------------------------------------" cd $deployment_dir -version_code="v3.1.1" +version_code="v3.1.2" build-s3-cdk-dist deploy \ --source-bucket-name $template_bucket_name \ --solution-name amcinsights \