Skip to content
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

chore(ci): remove aws-encryption-sdk from Lambda layer due to cffi being tied to python version #3853

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #3852

Summary

Changes

We previously added the aws-encryption-sdk to our Lambda layer, but this caused issues since the SDK requires the cryptography library be installed for each specific Python runtime version (3.8 to 3.12). To resolve this, we have removed the SDK from the Lambda layer for now.

User experience

Users must install the aws-encryption-sdk and appropriate encryption library as dependencies in their projects based on their Python runtime until we find a way to provide version-specific layer builds.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@boring-cyborg boring-cyborg bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation internal Maintenance changes tests labels Feb 26, 2024
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 26, 2024
@leandrodamascena leandrodamascena marked this pull request as ready for review February 26, 2024 13:03
@leandrodamascena leandrodamascena requested a review from a team as a code owner February 26, 2024 13:03
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
docs/utilities/data_masking.md Outdated Show resolved Hide resolved
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Feb 26, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Feb 26, 2024
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Feb 26, 2024
@pull-request-size pull-request-size bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 26, 2024
Copy link

sonarcloud bot commented Feb 26, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Feb 26, 2024
@heitorlessa heitorlessa changed the title chore(ci): Remove aws-encryption-sdk from Lambda layer chore(ci): remove aws-encryption-sdk from Lambda layer due to cffi being tied to python version Feb 26, 2024
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Feb 26, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Feb 26, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.42%. Comparing base (e14e768) to head (2408c12).
Report is 94 commits behind head on develop.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3853      +/-   ##
===========================================
+ Coverage    96.38%   96.42%   +0.04%     
===========================================
  Files          214      214              
  Lines        10030    10102      +72     
  Branches      1846     1866      +20     
===========================================
+ Hits          9667     9741      +74     
+ Misses         259      258       -1     
+ Partials       104      103       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@heitorlessa heitorlessa merged commit 7e82011 into aws-powertools:develop Feb 26, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file internal Maintenance changes size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tests
Projects
None yet
3 participants