Closed awseric closed 1 month ago
pinning PyYAML to 5.3.1 in .source/src/setup.py
appears to resolve the issue.
@awseric we were able to reproduce the issue, and the suggested fix of pinning PyYAML to 5.3.1 in setup.py works. We have created an internal backlog to make this change.
As mentioned in #184, latest patch v.2.7.1 (release notes) included changes to pin the PyYAML in setup.py to 5.3.1.
I am going to resolve this issue, please reopen if there are follow up questions.
Description
On python 3.9+ on latest release when running
./deployment/build-s3-dist.sh
the script fails with:It appears that this is due to source/src/setup.py yorm installing a PyYAML version with a known issue: Error installing Pyyaml==5.4, Cython_sources #724
To Reproduce Install a virtualenv with Python version >= 3.9. Run the installer script at
./deployment/build-s3-dist.sh
as described in the documentation.Expected behavior Installation success. Exit code 0.
Please complete the following information about the solution:
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0089) - customizations-for-aws-control-tower Solution. Version: v1.0.0". You can also find the version from releases