Giter Site home page Giter Site logo

Comments (5)

Wildpipe avatar Wildpipe commented on August 15, 2024

I believe this issue is related to a broken version of PyYAML: yaml/pyyaml#724

from aws-deployment-framework.

sbkok avatar sbkok commented on August 15, 2024

Unfortunately I cannot reproduce your issue with v3.2.0.
@Wildpipe can you please elaborate on the version you are running?

Specifically, I see your logs reference Python 3.11, which is a version that is not supported by CDK v1 that is used by ADF v3.2.0. Might you be running any patches that are merged in our main branch today?
It looks like you are running our CDK v2 patch at least. And what CodeBuild image is used specifically?

from aws-deployment-framework.

Wildpipe avatar Wildpipe commented on August 15, 2024

Yes, we are running the CDK v2 patch.
For CodeBuild image we are running aws/codebuild/standard:7.0

I managed to "fix" the problem by implementing the following changes:

Comment out this line

Append the following lines to

- aws s3 cp s3://$SHARED_MODULES_BUCKET/adf-build/ ./adf-build/ --recursive --quiet

- pip install wheel
- pip install --no-build-isolation "Cython<3" "pyyaml==5.4.1"

Append the following lines to https://github.com/awslabs/aws-deployment-framework/blob/e348ed1a4144d26d0fd7ed6866c8a663f9111141/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml#L667C35-L667C56

- pip install wheel
- pip install --no-build-isolation "Cython<3" "pyyaml==5.4.1"

Sorry, I wasn't aware we had diverged from main branch in terms of codebuild image.

from aws-deployment-framework.

Wildpipe avatar Wildpipe commented on August 15, 2024

Looking at the cdkv2 patch that seems to be what introduced the standard:7.0 change

from aws-deployment-framework.

sbkok avatar sbkok commented on August 15, 2024

Okay, phew. I am about to perform an upgrade of ADF v3.2.0 at another large installation.
I was worried this would impact v3.2.0 upgrades too, blocking our ability to upgrade.
I will get a PR in the main branch to fix this issue. Thanks for sharing that workaround.

from aws-deployment-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.