serverless/serverless-python-requirements

New poetry release broke when uploading to lambda.

cmabastar opened this issue · 2 comments

Just 3 days ago, my github actions were running smoothly. Then poetry released a new version 2 days ago and everything broke.

Any ideas?

Environment: linux, node 16.17.0, framework 3.22.0, plugin 6.2.2, SDK 4.3.2
Credentials: Local, "default" profile
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Error: `poetry export --without-hashes -f requirements.txt -o requirements.txt --with-credentials` Exited with code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/serverless-python-requirements/node_modules/child-process-ext/spawn.js:38:8)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1093:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

2 deprecations found: run 'serverless doctor' for more details
Error: Process completed with exit code 1.

i've also got this and trying to identify what the issue is, have you had any luck?

hello @davidmoss ,

I posted an issue in poetry and it seems they are working a fix.

python-poetry/poetry-plugin-export#112 (comment)