This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using this package to deploy api to AWS Lambda. I use poetry for package management and set dockerizePip to non-linux as I am not able to build numpy properly. I would like to include another python package, one that I created locally. In poetry I do simply:
common = {path = "../common/dist/common-0.1.0-py3-none-any.whl"}
But I cannot find a way to include this package into serverless package created using ’sls package’. I'm stiil getting an error like:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/var/task/common-0.1.0-py3-none-any.whl'
And setting :
dockerExtraFiles:
- ../common/dist/common-0.1.0-py3-none-any.whl’
Does not help.
I would appreciate any help
Thanks :)
All reactions