Skip to content

Impors with binary crypto dependencies fail #9

@alytle

Description

@alytle

I built a Lambda which used pysftp, which uses the cryptography library. Since I built it on my Mac, I get errors about ELF versions when it tries to load the .so in the Lambda.

I used https://medium.com/i-like-big-data-and-i-cannot-lie/how-to-create-an-aws-lambda-python-3-6-deployment-package-using-docker-d0e847207dd6 to get around this, which I feel like we could add to the workflow to build the package (optionally?).

Note that this procedure has an error (It recommends zip * instead of zip .), which if you do that results in this error: https://github.com/snowflakedb/examples/issues/4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions