-
Notifications
You must be signed in to change notification settings - Fork 293
How Do I deploy a function with python packages in private pip server #177
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
Comments
Are you using the |
If not, this looks like it might be related to #176 and the use of |
I do not use the dockerizePip option. |
In that case, try out v4.0.1 which should fix the issue. |
That indeed fixed it! Thank you very much! |
Excellent! |
I'm getting this error and I have these versions: {
"name": "unresponsive",
"description": "foobar",
"license": "UNLICENSED",
"repository": "github:dialoguemd/unresponsive",
"version": "0.1.0",
"dependencies": {},
"devDependencies": {
"serverless-pseudo-parameters": "^1.6.0",
"serverless-python-requirements": "^4.0.3",
"serverless-step-functions": "^1.4.1"
}
}
Error exactly:
|
Maybe relevant is that:
|
Hi @jasonkuhrt, since this issue has been closed, I guess it would be better to open a new one. |
Hi everyone,
I’ve been using the serverless framework for a while to deploy functions that use python packages. For that purpose, I have been using the serverless-python-requirements plugin. This all works great. However, I now want to deploy a function that uses a python package that is hosted at a private pip server.
Locally, I add this pip server to my pip.conf file like this:
This works great when I install a package on my own device. However, when I try to deploy my function with the private python package in the requirements.txt, I get the following error:
It thus appears to me that the python requirements plugin uses the regular pip server and not the private pip server that I configured and use when I run pip install $PACKAGE_NAME.
Does any of you have an idea on how I can configure serverless so that it uses the private pip server?
Thank you in advance,
Gerben
The text was updated successfully, but these errors were encountered: