Skip to content

Deploy fails using python 3.9 and sls 3.3.0 #677

Closed
@dtosato

Description

@dtosato

Hello, with the latest update (serverless-python-requirements@5.3.1) the deployment fail.

$ sls deploy --stage dev
Running "serverless" from node_modules
Deploying app to stage dev (us-west-2)
× Stack app failed to deploy (3s)
Environment: linux, node 14.19.0, framework 3.3.0 (local) 3.3.0v (global), plugin 6.1.0, SDK 4.3.1
Credentials: Local, environment variables
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues
Error:
Error: `python3.9 -m pip install -t /root/.cache/serverless-python-requirements/d4b5439e56528d78e43e64ec97f05418f79486d582f391ecec1f13247c4af4fd_x86_64_slspyc -r /root/.cache/serverless-python-requirements/d4b5439e56528d78e43e64ec97f05418f79486d582f391ecec1f13247c4af4fd_x86_64_slspyc/requirements.txt --cache-dir /root/.cache/serverless-python-requirements/downloadCacheslspyc` Exited with code 1
    at ChildProcess.<anonymous> (/builds/app/node_modules/child-process-ext/spawn.js:38:8)
    at ChildProcess.emit (events.js:400:28)
    at ChildProcess.emit (domain.js:475:12)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions