-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py3-awscrt/0.23.4 package update #36021
Conversation
octo-sts
bot
commented
Dec 6, 2024
Gen AI suggestions to solve the build error: Based on the error output and context provided, here's my analysis: • Detected Error: The error appears to be in the git checkout step, specifically with submodule initialization. While not explicitly shown in the error, this is inferred from the context and the manual s2n update step in the pipeline. • Error Category: Version/Configuration • Failure Point: Git checkout step with submodules • Root Cause Analysis: The current pipeline is trying to update s2n manually after checkout, but this approach may be causing conflicts with the submodule initialization process. • Suggested Fix:
pipeline:
- uses: git-checkout
with:
repository: https://github.com/awslabs/aws-crt-python
tag: v${{package.version}}
expected-commit: 4742211db7e3e9c8903b7659389aca8b08ade4ce
recurse-submodules: true
submodule-update: true
submodule-override:
crt/s2n:
repository: https://github.com/aws/s2n-tls
ref: 1.5.9 • Explanation:
• Additional Notes:
• References: |
Signed-off-by: wolfi-bot <[email protected]>
fe06a8a
to
8b70a7b
Compare
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Build Configuration • Failure Point: Python setup.py during pip wheel build step • Root Cause Analysis: • Suggested Fix: - runs: |
# Allow linking to shared libraries
sed -i.dist '/libraries = \[/,/libraries\]/{/^[[:space:]]*libraries = \[/!{/^[[:space:]]*\]/!d}}' setup.py
diff -u setup.py.dist setup.py &&
{ echo "attempted change to setup.py did nothing"; exit 1; } Or alternatively, use a more targeted approach: - runs: |
# Allow linking to shared libraries
sed -i.dist 's/libraries = \[.*\]/libraries = libraries/' setup.py
diff -u setup.py.dist setup.py &&
{ echo "attempted change to setup.py did nothing"; exit 1; } • Explanation: • Additional Notes:
• References:
|
Signed-off-by: Dentrax <[email protected]>
Signed-off-by: Mark McCormick <[email protected]>