chore(cli-integ): node-gyp fails on newer python versions #407
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
cli-integtests depend on thenode-ptypackage for testing of interactive terminals. This package needs to be build at install time usingnode-gyp. Because previouslycli-integtests dependet on an old version ofnpm, we got an old version ofnode-gypwhich is incomaptible with recent python versions.To fix this, we upgrade the dependency to a more recent version of
npm.Fixes failing Python package release.
Proof this fix works: https://github.com/aws/aws-cdk-cli/actions/runs/14619849549/job/41016752989?pr=406
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license