serverless-python-requirements
serverless-python-requirements copied to clipboard
⚡️🐍📦 Serverless plugin to bundle Python packages
**Folder Structure** ``` - function1/ ---- function1.py - function2/ ---- function2.py ---- requirements.txt - app_function2.py - app_function1.py - serverless.yml - requirements.txt ``` **serverless.yml** ``` service: service-api package: individually: true exclude:...
Hi My requirements looks like this (references a relative path). Now I understand this is failing due to the way the docker volume is being mounted, but might you be...
Currently the `strip` option runs each pattern through `glob-all.glob.sync()` separately: https://github.com/UnitedIncome/serverless-python-requirements/blob/f39e166e8221171ec040ca37fe0f98b6ed89ad75/lib/slim.js#L48-L52 This means we can't make use of the `glob-all` feature giving you *exclude* patterns. Can this be updated to...
I'm trying to deploy a project with previously working commits that have suddenly stopped working. During sls deploy the following error occurs: > Serverless: Injecting required Python packages to package......
When using dockerized requirements, the docker run command is not correct. Older version (1.83.2) had the correct path like: ``` Serverless: Running docker run --rm -v C\:/Project/dhrimov/dhrimov-blog-lambdas/.serverless/test1/requirements\:/var/task\:z -v C:\\Users\\dmytr/.ssh/id_rsa\:/root/.ssh/id_rsa\:z -v...
The steps mentioned in the documentation for `mysqlclient` are not working as expected and is raising the following error ``` ImportError: libmysqlclient.so.1020: cannot open shared object file: No such file...
Running with the following: serverless version 2.52.1 serverless-python-requirements version 5.1.1 python3.8 running with dockerizePip enabled When running sls deploy, serverless-python-requirements is pulling in packages that are not required by the...
After uploading and running lambda function I receive the following error: ``` { "errorMessage": "cannot import name 'etree' from 'lxml' (/var/task/lxml/__init__.py)", "errorType": "ImportError", "stackTrace": [ ``` My `serverless.yml` has the...
Hi, I am able to run your most basic example (packaging the Flask dependency only). When I add more modules in my requirements.txt I am running into issues. I tried...