Skip to content

pythonRequirements cannot find -r files from requirements.txt #376

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

Closed
pankhuriagarwal94 opened this issue Jun 27, 2019 · 0 comments · Fixed by #396
Closed

pythonRequirements cannot find -r files from requirements.txt #376

pankhuriagarwal94 opened this issue Jun 27, 2019 · 0 comments · Fixed by #396

Comments

@pankhuriagarwal94
Copy link

Hi,

I have nested requirements.txt file -

requirements-common.txt
requirements-dev.txt (build from -r requirements-common.txt)
requirements-prod.txt (build from -r requirements-common.txt)

all these files are in root of service (where serverless.yml lies) but on running -

pythonRequirements:
fileName: requirements-${self:provider.stage}.txt

fails with error - ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/opt/atlassian/pipelines/agent/build/.serverless/requirements/requirements-common.txt'

How can this be resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant