serverless / serverless-optimizer-plugin

Serverless Optimizer Plugin: Optimizers for reducing Lambda file sizes and improving their performance -
http://www.serverless.com
102 stars 30 forks source link

Python Support #25

Closed schabert closed 8 years ago

schabert commented 8 years ago

Are there plans to extend the support runtime to python?

connaryscott commented 8 years ago

clearly not :(

I suppose folks like me are probably tired of seeing this when trying to deploy function code and i hear using something like this may help. Obviously a band aid but i'd take it.

Serverless:   create: write EPIPE  
/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/node_modules/bluebird/js/release/async.js:49
        fn = function () { throw arg; };
                           ^

ServerlessError: Function Deployment Failed
    at new ServerlessError (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Error.js:17:11)
    at FunctionDeploy.<anonymous> (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/actions/FunctionDeploy.js:126:19)
    at next (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/node_modules/rimraf/rimraf.js:74:7)
    at FSReqWrap.CB [as oncomplete] (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/node_modules/rimraf/rimraf.js:110:9)
From previous event:
    at FunctionDeploy.functionDeploy (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/actions/FunctionDeploy.js:105:10)
From previous event:
    at /usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Serverless.js:181:31
    at Array.reduce (native)
    at /usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Serverless.js:180:32
From previous event:
    at Serverless._execute (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Serverless.js:178:12)
    at Serverless.actions.(anonymous function) (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Serverless.js:424:20)
    at Serverless.command (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/lib/Serverless.js:393:38)
    at /usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/bin/serverless:19:16
    at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
    at Object.<anonymous> (/usr/local/Cellar/nvm/0.29.0/versions/node/v5.3.0/lib/node_modules/serverless/bin/serverless:18:4)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:430:10)
    at startup (node.js:141:18)
    at node.js:980:3