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

aws_lambda hook can use internal pip when zipping dependencies #279

Merged
merged 12 commits into from
May 15, 2020

Conversation

ITProKyle
Copy link
Collaborator

@ITProKyle ITProKyle commented May 14, 2020

Why This Is Needed

When using one of the Pyinstaller release of Runway with static site auth@edge, it fails to package dependencies when trying to use pip.

Resolves #272

What Changed

Changed

  • when sys.frozen, runway run-python will be used by runway.cfngin.hooks.aws_lambda to run a dynamically generated script that can use internal pip

This could use a few more tests but the current structure of the code does not easily lend itself to thorough testing.

@ITProKyle ITProKyle added the bug Something isn't working label May 14, 2020
@ITProKyle ITProKyle self-assigned this May 14, 2020
@ITProKyle ITProKyle marked this pull request as ready for review May 15, 2020 19:28
@ITProKyle ITProKyle requested a review from troyready May 15, 2020 19:28
@troyready troyready merged commit 39c7f6b into master May 15, 2020
@troyready troyready deleted the bugfix/lambda-hook branch May 15, 2020 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static Site Auth At Edge fails to deploy from single binary builds
2 participants