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

Reduce Python package size #10946

Conversation

tb102122
Copy link
Contributor

Description of changes

extend file exclusion list to reduce package size

Issue #,
#5566
#9919
#10942 (partially)

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tb102122 tb102122 requested a review from a team as a code owner August 29, 2022 08:24
@siegerts siegerts added the first-time-contributor The contribution is the first for this user in the repo label Aug 29, 2022
@danielleadams
Copy link
Contributor

@tb102122 thanks for the contribution! Running our test suite it on it now.

@tb102122
Copy link
Contributor Author

@danielleadams
Copy link
Contributor

@tb102122 I am starting it one more time, but it's unrelated, so no need to update anything.

@danielleadams danielleadams merged commit 77dc655 into aws-amplify:dev Aug 30, 2022
@tb102122 tb102122 deleted the amplify-python-function-runtime-reduce-size branch August 30, 2022 21:46
@tb102122
Copy link
Contributor Author

Great do you have any expected release date?

@CGarces
Copy link

CGarces commented Jun 17, 2023

Interesting, the change is merged but I sill see the pip folder with 2.1MB (compressed) in a lambda with no dependencies

image

The build was done with the amplify CI/CD upgraded to amplify 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-time-contributor The contribution is the first for this user in the repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants