Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not being able to sls deploy with python #35

Open
biancabarria opened this issue Apr 26, 2022 · 0 comments
Open

Not being able to sls deploy with python #35

biancabarria opened this issue Apr 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@biancabarria
Copy link

biancabarria commented Apr 26, 2022

Orb Version
circleci/serverless-framework@2.0.0

Describe the bug
Build is currently failing due to not being able to do: sls deploy

Error:
Error: `python3.7 -m pip help install` Exited with code 1
    at ChildProcess.<anonymous> (/home/circleci/project/node_modules/child-process-ext/spawn.js:38:8)
    at ChildProcess.emit (node:events:526:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at Pipe.<anonymous> (node:net:687:12)

Exited with code exit status 1
CircleCI received exit code 1

To Reproduce
Use orb and run - run: sls deploy

version: 2.1

orbs:
   aws-cli: circleci/aws-cli@3.1
   serverless-framework: circleci/serverless-framework@2.0.0
   python: circleci/python@1.4.0
   
executors:
   python-version: 3.7-node

jobs:
   build_and_deploy:
     executor: serverless-framework/default
     steps:
       - checkout
       - aws-cli/setup
       - serverless-framework/setup
       - run: npm install -n serverless-plugin-git-variables 
       - run: npm install -n serverless-python-requirements 
       - run: sudo add-apt-repository ppa:deadsnakes/ppa
       - run: sudo apt update
       - run: sudo apt install python3.7
       - run: sudo apt install python3-pip
       - run: sls deploy
workflows:
  one_and_two:
    jobs:
      - build_and_deploy

Expected behavior

Being able to deploy with python.

Additional context

Not able to deploy since Serverless Compose release

@biancabarria biancabarria added the bug Something isn't working label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant