We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Installed Zappa 0.59.0, this error is thrown when doing zappa init:
zappa init
RuntimeError: This version of Python (3.10) is not supported! Zappa (and AWS Lambda) support the following versions of Python: ['3.7', '3.8', '3.9']
Which doesn't match what's in the __init__.py file, where I can clearly see that it supports up to 3.12.
__init__.py
So I'm wondering if there is a problem with the released package.
Python 3.10 should work.
Zappa throws a RuntimeError
Maybe an issue with the released package?
venv python 3.10 pip install zappa zappa init
pip freeze
boto3==1.34.93 botocore==1.34.93 certifi==2024.2.2 cfn-flip==1.3.0 charset-normalizer==3.3.2 click==8.1.7 durationpy==0.6 hjson==3.1.0 idna==3.7 jmespath==1.0.1 kappa==0.6.0 MarkupSafe==2.1.5 placebo==0.9.0 python-dateutil==2.9.0.post0 python-slugify==8.0.4 PyYAML==6.0.1 requests==2.31.0 s3transfer==0.10.1 six==1.16.0 text-unidecode==1.3 toml==0.10.2 tqdm==4.66.2 troposphere==4.7.0 urllib3==2.2.1 Werkzeug==3.0.2 zappa==0.59.0
The text was updated successfully, but these errors were encountered:
Yikes, thanks for catching that! I'll work on releasing a hotfix for that ASAP.
Sorry, something went wrong.
I'm unable to reproduce with Python 3.10 on MacOS - zappa init runs successfully and outputs a zappa_settings.json file without issue:
zappa_settings.json
Can you try creating your virtual environment using Python's built-in venv command and see if that makes a difference?
venv
python3.10 -m venv env source env/bin/activate pip install zappa zappa init
I confirm it now works 🤷 Thanks!
javulticat
No branches or pull requests
Installed Zappa 0.59.0, this error is thrown when doing
zappa init
:Which doesn't match what's in the
__init__.py
file, where I can clearly see that it supports up to 3.12.So I'm wondering if there is a problem with the released package.
Expected Behavior
Python 3.10 should work.
Actual Behavior
Zappa throws a RuntimeError
Possible Fix
Maybe an issue with the released package?
Steps to Reproduce
Your Environment
pip freeze
:The text was updated successfully, but these errors were encountered: