Problem with new version of pip #13
Copy link
Copy link
Closed
Description
We started to have problems using the plugin with 'dockerizedPip: True' since yesterday (19/03/2018).
After some search we've found the cause of this error:
serverless-python-individually/index.js
Line 319 in 7c396f5
| if (ret.error || ret.stderr.length != 0) { |
This check is causing problem when a new version of pip is released and the docker image is not updated with that version. Because pip prints the warning message of new version available in the stderr.
Is there a reason to check for the size of stderr? The 'ret.error' isn't enough?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Fixing Issue cfchou#13
lucasventurasc commentedon Mar 20, 2018
I opened a pull request to fix the problem which happens when new pip versions are distributed.
While we're fixing issue cfchou#13 why not update the deprecated refs?
Apathyman commentedon Mar 22, 2018
lucas' solution works for us, we're using a local fork until this can be fixed. I recommend using his branch until chchou approves the pull request.
Merge pull request #14 from lucasventurasc/fix-issue-13
Merge pull request #1 from Apathyman/test-13-fix