Zappa icon indicating copy to clipboard operation
Zappa copied to clipboard

Wheels for lxml 4.9.3 are not being downloaded

Open martimarkov opened this issue 1 year ago • 0 comments

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

  1. Use macOS & Poetry
  2. Add lxml to the project and import it in the main function
  3. 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,
...
    }
}

martimarkov avatar Dec 18 '23 03:12 martimarkov