serverless-python-requirements icon indicating copy to clipboard operation
serverless-python-requirements copied to clipboard

fse package is hanging up

Open mbozhilov-qb opened this issue 1 year ago • 0 comments

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

image

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

![image](https://github.com/user-attachments/assets/fa40cb9a-2aaf-43de-a75e-69a2f29704cc)

Environment information

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

mbozhilov-qb avatar Sep 04 '24 16:09 mbozhilov-qb