Skip to content

Missing _zstd module in Python 3.14 image #354

@Etienne-gh

Description

@Etienne-gh

Python 3.14 standard library now includes zstd compression. However, the Python 3.14 image does not include needed zstd module:

docker run --rm -it --entrypoint python --platform linux/amd64 public.ecr.aws/lambda/python:3.14 -c "from compression import zstd"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    from compression import zstd
  File "/var/lang/lib/python3.14/compression/zstd/__init__.py", line 29, in <module>
    import _zstd
ModuleNotFoundError: No module named '_zstd'

Is it a bug or is it intentional and we have to rebuild our own Python image if we want to use this new feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions