astro icon indicating copy to clipboard operation
astro copied to clipboard

PyCrypto 2.6.1 built for Lambda Python3.6 Runtime

Open devjack opened this issue 7 years ago • 2 comments

With Lambda supporting Python 3.6, we need Crypto!

This was built with Python 3.6.1 using amzn-ami-hvm-2017.03.0.20170417-x86_64-gp2 (ami-162c2575). Then copied to ~/ for the following history as a test.

Tested with a manual lambda update:

cp built-3.6-pycrypto-2.6.1.tar.gz lib/python3.6/site-packages/lambda_packages/pycrypto/pycrypto-2.6.1.tar.gz
zappa update prod
zappa invoke prod

(For reference my function uses jose.jwt which depends on Crypto)

Built library is attached: built-3.6-pycrypto-2.6.1.tar.gz.

I cannot see how best to name/determine 2.6 vs 3.6 runtimes but the binary is built :)

devjack avatar Apr 22 '17 16:04 devjack

Might need to wait for this to happen first: https://github.com/Miserlou/lambda-packages/issues/43

wagmiwiz avatar Apr 23 '17 12:04 wagmiwiz

Would I be right in guessing this can be closed now after https://github.com/Miserlou/lambda-packages/commit/257e4fe0048986e7aeed7e158c28438f4ff8f9c9 ?

devjack avatar Jun 05 '17 02:06 devjack