serverless / serverless-openwhisk

Adds Apache OpenWhisk support to the Serverless Framework!
http://openwhisk.org/
MIT License
143 stars 46 forks source link

Fix specific python version selection #166

Closed SwiftPengu closed 5 years ago

SwiftPengu commented 5 years ago

This fixes a bug where sls invoke cannot correctly run python3 runtimes, as the python2 binary will be used.

This patch should make serverless use the version specified by the current env (system or virtualenv).

codecov[bot] commented 5 years ago

Codecov Report

Merging #166 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #166   +/-   ##
======================================
  Coverage    84.8%   84.8%           
======================================
  Files          47      47           
  Lines        1829    1829           
  Branches      378     378           
======================================
  Hits         1551    1551           
  Misses        278     278

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f9208f6...632254d. Read the comment docs.

jthomas commented 5 years ago

Thank you @SwiftPengu!