Skip to content

Bug fix for py-awscrt on Linux (use spack openssl/libcrypto)#339

Merged
climbfuji merged 1 commit intoJCSDA:jcsda_emc_spack_stackfrom
climbfuji:bugfix/py_awscrt_linux
Oct 6, 2023
Merged

Bug fix for py-awscrt on Linux (use spack openssl/libcrypto)#339
climbfuji merged 1 commit intoJCSDA:jcsda_emc_spack_stackfrom
climbfuji:bugfix/py_awscrt_linux

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

Description

This PR is a tiny bug fix for py-awscrt on Linux. We need to tell the pip builder to use use libcrypto from spack (art of openssl, whether that is an internal or external package doesn't matter). This doesn't apply to macOS or Windows, see https://github.com/awslabs/aws-crt-python/blob/main/README.md.

Issue(s) addressed

Currently, awscli-v2 doesn't build on Linux due to missing symbols from libcrypto in py-awscrt's Python extension.

Dependencies

n/a

Impact

n/a

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR: Built py-awscrt and awscli-v2 on the Ubuntu CI system, no build errors for py-awscli-v2. Ran aws s3 ls to make sure the utility works.

…Linux, tell aws-crt-python to use libcrypto from spack (openssl)
@climbfuji climbfuji merged commit 8d814b2 into JCSDA:jcsda_emc_spack_stack Oct 6, 2023
@climbfuji climbfuji deleted the bugfix/py_awscrt_linux branch October 6, 2023 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants