4 ms·
> why does it matter what version of python lambda supports (or any framework / language for that matter)? Python 3.7 is a lot faster (30 - 40%) than Python 3.
by Alex3917 8y ago
> why does it matter what version of python lambda supports (or any framework / language for that matter)?
Python 3.7 is a lot faster (30 - 40%) than Python 3.6 for certain types of functions.
And you can't (easily) just install Python 3.7 from another runtime, because it has a ton of dependencies and takes minutes to compile. So even if it's technically possible, it precludes a lot of use cases.
- nicolashahn 8y agoI actually dealt with a similar problem a couple years ago, we were trying to get numpy on Lambda but there's C compilation that needs to happen. What I ended up doing was provisioning an EC2 instance with the same settings as the environment that Lambda uses, then building everything there, and shoving the binaries in the Lambda. It worked, I'm pretty sure the same thing would work for building Python.