serverless-python-requirements
serverless-python-requirements copied to clipboard
fse package is hanging up
Are you certain it's a bug?
- [X] Yes, it looks like a bug
Are you using the latest plugin release?
- [X] Yes, I'm using the latest plugin release
Is there an existing issue for this?
- [X] I have searched existing issues, it hasn't been reported yet
Issue description
I'm trying to package a lambda in a linux dev container run on a macos host but the packaging process starts hanging up at the following code line:
https://github.com/serverless/serverless-python-requirements/blob/57f7c6b2189cb32272377117eb22ae6a4a4b4c7a/lib/pip.js#L698
Using the async equivalent seems to also be hanging up but the event loop is not blocked, therefore the count is updated.
Using fs instead fs-extra seems to be working as expected. Haven't tested the full workflow yet.
Service configuration (serverless.yml) content
N/A
Command name and used flags
serverless package
Command output

Environment information
Framework Core: 3.39.0 (local)
Plugin: 7.2.3
SDK: 4.5.1