-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Newest Manylinux Version for dependencies #1083
Conversation
Zappa was hard coded to only allow Manylinux 1, 2010, and 2014. Manylinux 2_24 is getting more traction, so dependencies are becoming incompatible with Zappa over time. More information on new Manylinux versions can be found here - https://github.com/pypa/manylinux An important example is Cryptography, where version 3.4.7 is the last one to support old-format linux wheels. https://pypi.org/project/cryptography/3.4.7/#files vs newest: https://pypi.org/project/cryptography/#files Tested on my env to make sure that manylinux 2_24 wheels would work without issue in Lambda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating this PR, super helpful (and I wasn't aware of the new manylinux dependency format at all, so thanks for pointing that out)
Is there a reason it things the coverage decreased for some python version, but stayed the same for overall coverage and py3.7? |
We need to fix the flaky coverage tests separately, it's not related to this PR. |
Updated from master to test new coveralls threshold, seems to work 👍🏼 |
Thanks for the PR @phil-airship, I went ahead and merged it |
Had added support for Manylinux 2_24 in 2021: zappa#1083 But that version is EoL and Python Cryptography has moved to Manylinux 2_28. Updating to support while maintaining backwards compatibility. Tested on Lambda an encountered no issues
* Support Newest Manylinux Version for dependencies Zappa was hard coded to only allow Manylinux 1, 2010, and 2014. Manylinux 2_24 is getting more traction, so dependencies are becoming incompatible with Zappa over time. More information on new Manylinux versions can be found here - https://github.com/pypa/manylinux An important example is Cryptography, where version 3.4.7 is the last one to support old-format linux wheels. https://pypi.org/project/cryptography/3.4.7/#files vs newest: https://pypi.org/project/cryptography/#files Tested on my env to make sure that manylinux 2_24 wheels would work without issue in Lambda * Update core.py Co-authored-by: hellno <[email protected]>
Zappa was hard coded to only allow Manylinux 1, 2010, and 2014.
Manylinux 2_24 is getting more traction, so dependencies are becoming incompatible with Zappa over time.
More information on new Manylinux versions can be found here - https://github.com/pypa/manylinux
An important example is Cryptography, where version 3.4.7 is the last one to support old-format linux wheels.
https://pypi.org/project/cryptography/3.4.7/#files
vs newest:
https://pypi.org/project/cryptography/#files
Tested on my env to make sure that manylinux 2_24 wheels would work without issue in Lambda