Skip to content
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

Python 3.10 support #1124

Closed
RobWeber3 opened this issue Apr 15, 2022 · 3 comments
Closed

Python 3.10 support #1124

RobWeber3 opened this issue Apr 15, 2022 · 3 comments

Comments

@RobWeber3
Copy link

Context

Now that Ubuntu 22.04 LTS is about to be released, a lot of people will have Python 3.10 as their default system version. Could Zappa please be updated to support Python 3.10?

Expected Behavior

zappa update [your_environment] would start the Zappa update process.

Actual Behavior

A RuntimeError occurs:

RuntimeError: This version of Python (3.10) is not supported!
Zappa (and AWS Lambda) support the following versions of Python: ['3.6', '3.7', '3.8', '3.9']

Steps to Reproduce

  1. python3 -m venv ./venv (on Python 3.10)
  2. source venv/bin/activate
  3. pip install zappa
  4. zappa update [your_environment]

Your Environment

  • Zappa version used: 0.54.1
  • Operating System and Python version: Ubuntu 22.04 LTS with Python 3.10.4
@eviltwin
Copy link

eviltwin commented Apr 18, 2022

Zappa's list of supported python versions is dependant on AWS Lambda's list of available python runtime versions: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

Unforunately, AWS has still not released a lambda runtime for python 3.10 and so support cannot be added to Zappa.

@RobWeber3
Copy link
Author

Ok I wasn't aware of that dependency, thanks for explaining @eviltwin. Hopefully AWS will add Python 3.10 support soon.

@ipsbrittainm
Copy link

Python 3.10 support now added by AWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants