Skip to content

Support unmanaged layers #8

Description

@jeffsw

Need to ensure support for layers we don't build & update.

If a layer contains C libraries, etc. lambda-zip currently doesn't have a way to build them. More complex is that Python's tools don't necessarily work on MacOS where users may want to use it. For example, below command is needed to produce a psycopg2 layer using a pip package which vendors the required pgsql library. This doesn't work on MacOS and Mac users are likely to need docker to build the layer.

pip install \
  --no-deps \
  --platform manylinux2014_x86_64 \
  --python-version 3.9 \
  --only-binary=:psycopg2: \
  --target=${HOME}/tmp/psycopg2_bin_layer/python \
  psycopg2-binary

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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