Skip to content

Rasterio 1.4.2 does not work with AWS Lambda 3.12 #3

Open
@vincentsarago

Description

@vincentsarago
#22 ERROR: process "/bin/sh -c python -c \"from handler import handler; print('All Good')\"" did not complete successfully: exit code: 1
------
 > [lambda 4/4] RUN python -c "from handler import handler; print('All Good')":
1.003 Traceback (most recent call last):
1.003   File "<string>", line 1, in <module>
1.003   File "/var/task/handler.py", line 5, in <module>
1.004     from app.main import app
1.004   File "/assets/lib/python3.12/site-packages/app/main.py", line 13, in <module>
1.005   File "/assets/lib/python3.12/site-packages/titiler/core/__init__.py", line 5, in <module>
1.005   File "/assets/lib/python3.12/site-packages/titiler/core/dependencies.py", line 10, in <module>
1.005   File "/assets/lib/python3.12/site-packages/rasterio/__init__.py", line 25, in <module>
1.005 ImportError: libexpat.so.1: cannot open shared object file: No such file or directory
------

I need to report this to https://github.com/rasterio/rasterio-wheels

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions