Miserlou / Miserlou/lambda-packages

PyCrypto 2.6.1 built for Lambda Python3.6 Runtime

Open
#42 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
728
Forks
157
PR merge metrics
No merged PRs in 30d

Description

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 :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing packages under lib/python3.6/site-packages/lambda_packages/pycrypto/ and the attached built-3.6-pycrypto-2.6.1.tar.gz. Review how package versions and runtimes are named, then test the resulting package with the documented zappa update prod and zappa invoke prod commands. Done means PyCrypto 2.6.1 is clearly available for the Python 3.6 AWS Lambda runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
build-system, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.