Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit a0b1413

Browse files
authored
Update to version v1.3.1
Update to version v1.3.1
2 parents f6c2324 + fb0d66f commit a0b1413

File tree

14 files changed

+53
-40
lines changed

14 files changed

+53
-40
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
[1.3.0] - 2022-11-17
8+
## [1.3.1] - 2022-12-19
9+
10+
### Fixed
11+
12+
- GitHub [issue #19](https://github.com/aws-solutions/maintaining-personalized-experiences-with-machine-learning/issues/19). This fix prevents AWS Service Catalog AppRegistry Application Name and Attribute Group Name from using a string that begins with `AWS`, since strings begining with `AWS` are considered as reserved words by the AWS Service.
13+
14+
### Changed
15+
16+
- Locked `boto3` to version `1.25.5`, and upgraded python library packages.
17+
18+
19+
## [1.3.0] - 2022-11-17
920

1021
### Added
1122

source/cdk_solution_helper_py/helpers_cdk/aws_solutions/cdk/synthesizers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ def patch_app_reg(self):
220220
"Fn::Join": [ # NOSONAR (python:S1192) - string for clarity
221221
"-",
222222
[
223+
"App",
223224
{"Ref": "AWS::StackName"},
224225
{
225226
"Fn::FindInMap": ["Solution", "Data", "AppRegistryName"] # NOSONAR (python:S1192) - string for clarity

source/cdk_solution_helper_py/helpers_cdk/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ def get_version():
4949
]
5050
},
5151
install_requires=[
52-
"pip>=22.2.2",
52+
"pip>=22.3.1",
5353
"aws_cdk_lib==2.44.0",
54-
"Click>=7.1.2",
55-
"boto3>=1.24.90",
56-
"requests>=2.28.1",
57-
"crhelper>=2.0.11",
54+
"Click==8.1.3",
55+
"boto3==1.25.5",
56+
"requests==2.28.1",
57+
"crhelper==2.0.11",
5858
],
5959
entry_points="""
6060
[console_scripts]
6161
build-s3-cdk-dist=aws_solutions.cdk.scripts.build_s3_cdk_dist:cli
6262
""",
63-
python_requires=">=3.7",
63+
python_requires=">=3.9",
6464
classifiers=[
6565
"Development Status :: 4 - Beta",
6666
"Intended Audience :: Developers",

source/cdk_solution_helper_py/helpers_common/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def get_version():
4242
license="Apache License 2.0",
4343
packages=setuptools.find_namespace_packages(exclude=["build*"]),
4444
install_requires=[
45-
"boto3>=1.24.90",
46-
"pip>=22.2.2",
45+
"boto3==1.25.5",
46+
"pip>=22.3.1",
4747
],
48-
python_requires=">=3.7",
48+
python_requires=">=3.9",
4949
classifiers=[
5050
"Development Status :: 4 - Beta",
5151
"Intended Audience :: Developers",
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
aws_cdk_lib==2.44.0
2+
aws-cdk.aws-servicecatalogappregistry-alpha==2.44.0a0
23
black
3-
boto3>=1.24.90
4-
requests>=2.28.1
5-
crhelper>=2.0.11
4+
boto3==1.25.5
5+
requests==2.28.1
6+
crhelper==2.0.11
67
Click
78
moto
89
pipenv
@@ -13,4 +14,4 @@ pytest-mock>=3.9.0
1314
tox
1415
tox-pyenv
1516
-e ./source/cdk_solution_helper_py/helpers_cdk
16-
-e ./source/cdk_solution_helper_py/helpers_common
17+
-e ./source/cdk_solution_helper_py/helpers_common

source/cdk_solution_helper_py/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

source/infrastructure/aspects/app_registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __create_app_for_app_registry(self) -> None:
5757
self,
5858
"RegistrySetup",
5959
application_name=cdk.Fn.join(
60-
"-", [cdk.Aws.STACK_NAME, self.app_registry_name, cdk.Aws.REGION, cdk.Aws.ACCOUNT_ID]
60+
"-", ["App", cdk.Aws.STACK_NAME, self.app_registry_name, cdk.Aws.REGION, cdk.Aws.ACCOUNT_ID]
6161
),
6262
description=f"Service Catalog application to track and manage all your resources for the solution {self.solution_name}",
6363
)
@@ -81,7 +81,7 @@ def __create_atttribute_group(self) -> None:
8181
appreg.AttributeGroup(
8282
self,
8383
"AppAttributes",
84-
attribute_group_name=cdk.Aws.STACK_NAME,
84+
attribute_group_name=f"AttrGrp-{cdk.Aws.STACK_NAME}",
8585
description="Attributes for Solutions Metadata",
8686
attributes={
8787
"applicationType": self.application_type,

source/infrastructure/cdk.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"context": {
44
"SOLUTION_NAME": "Maintaining Personalized Experiences with Machine Learning",
55
"SOLUTION_ID": "SO0170",
6-
"SOLUTION_VERSION": "v1.3.0",
6+
"SOLUTION_VERSION": "v1.3.1",
77
"APP_REGISTRY_NAME": "personalized-experiences-ML",
88
"APPLICATION_TYPE": "AWS-Solutions"
99
}
10-
}
10+
}

source/infrastructure/personalize/aws_lambda/layers/aws_solutions/requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ avro==1.11.1
44
cronex==0.1.3.1
55
jmespath==1.0.1
66
parsedatetime==2.6
7-
boto3>=1.24.90
7+
boto3==1.25.5

source/infrastructure/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
packages=setuptools.find_packages(),
3737
install_requires=[
3838
"aws-cdk-lib==2.44.0",
39-
"pip>=22.2.2",
39+
"pip>=22.3.1",
4040
],
41-
python_requires=">=3.7",
41+
python_requires=">=3.9",
4242
classifiers=[
4343
"Development Status :: 4 - Beta",
4444
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)