You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am running "zappa package dev -o mypackage.zip" on CodeBuild in AWS Great China regions (cn-north-1 or cn-northwest-1), it will produce incomplete zappa outputs thus resulting in the application not runnable
Expected Behavior
It should be same when running in regions outside China, like us-east-1 where all packages are complete and app runs smoothly
Actual Behavior
Ideally the package should be 15.1 or something, but for the required package "pillow==8.0.0", it actually failed installation and when I investigated it with zappa tail, it says no module found
Possible Fix
When running in Chinese region, please use Chinese image resources when dealing with dependencies installation -
Steps to Reproduce
Run "zappa package -o dummy.zip" and dump it on s3
Let your Lambda to use the output artifacts "dummy.zip" on Amazon s3
You will see that this .zip is incomplete and is not able to run properly. But it is 100% fine in global regions
Your Environment
Zappa version used: 0.58
Operating System and Python version: AWS CodeBuild
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.
Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.
Context
When I am running "zappa package dev -o mypackage.zip" on CodeBuild in AWS Great China regions (cn-north-1 or cn-northwest-1), it will produce incomplete zappa outputs thus resulting in the application not runnable
Expected Behavior
It should be same when running in regions outside China, like us-east-1 where all packages are complete and app runs smoothly
Actual Behavior
Ideally the package should be 15.1 or something, but for the required package "pillow==8.0.0", it actually failed installation and when I investigated it with zappa tail, it says no module found
Possible Fix
When running in Chinese region, please use Chinese image resources when dealing with dependencies installation -
Steps to Reproduce
Your Environment
pip freeze
:boto3==1.23.10
botocore==1.26.10
Flask==1.1.1
future==0.18.2
hjson==3.0.1
idna==2.9
importlib-metadata==1.5.2
isort==4.3.21
itsdangerous==1.1.0
Jinja2==2.11.1
jmespath==0.9.5
kappa==0.6.0
MarkupSafe==1.1.1
mccabe==0.6.1
pip-tools==4.5.1
placebo==0.9.0
pycodestyle==2.5.0
pycparser==2.20
python-dateutil==2.6.1
python-slugify==4.0.0
pytz==2019.3
PyYAML==5.3.1
requests==2.23.0
s3transfer==0.5.0
six==1.14.0
toml==0.10.0
tqdm==4.43.0
typed-ast==1.4.1
tzlocal==2.0.0
urllib3==1.25.8
Werkzeug==0.16.1
wrapt==1.11.2
wsgi-request-logger==0.4.6
zappa==0.51.0
zipp==3.1.0
jsonschema==3.0.2
pytest==5.4.1
simplejson==3.17.0
gunicorn==19.9.0
flask_cors==3.0.3
mockito==1.3.5
coverage==4.5.4
pytest-cov==2.10.1
Pillow==8.0.0
pyjwt==2.6.0
zappa_settings.json
:{
"dev": {
"app_function": "app.init.webapp",
"aws_region": "%aws_region%",
"profile_name": "default",
"project_name": "omniml-backend",
"runtime": "python3.8",
"s3_bucket": "zappa-uhqp8tmqt",
"timeout_seconds": 360
}
}
The text was updated successfully, but these errors were encountered: