Zappa
Zappa copied to clipboard
Wheels for lxml 4.9.3 are not being downloaded
Context
Expected Behavior
Pull the package from PyPi or local cache
Actual Behavior
Uses the local site-packages
Possible Fix
Change the regex to capture the filename of lxml (and other packages).
Steps to Reproduce
- Use macOS & Poetry
- Add lxml to the project and import it in the main function
- Deploy Lambda
Your Environment
- Zappa version used: 0.58.0
- Operating System and Python version: macOS 14.0 Python 3.11.6
- The output of
pip freeze: N/A - Link to your project (optional): N/A
- Your
zappa_settings.json:
{
"staging": {
"aws_region": "eu-central-1",
"django_settings": "REDACTED",
"profile_name": null,
"project_name": "REDACTED",
"runtime": "python3.11",
"s3_bucket": "REDACTED",
"log_level": "DEBUG",
"use_regional_endpoint": true,
"keep_warm": true,
"slim_handler": true,
"timeout_seconds": 900,
"memory_size": 800,
...
}
}