Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

Boto3 and botocore need upgrading #356

@mdavis-xyz

Description

@mdavis-xyz

The versions of the AWS SDK in the python3.8 image are outdated. (I suspect the same is true for all python 3.x images)

The docs say boto3-1.18.55 and botocore-1.21.55 for all python3.x runtimes.
These get updated every few months.

This image uses:

$ docker run --rm -it lambci/lambda:build-python3.8 ls /var/runtime/ -l | grep boto
drwxr-xr-x 10 root root   210 Jan 13  2021 boto3
drwxr-xr-x  2 root root   148 Jan 13  2021 boto3-1.16.31.dist-info
drwxr-xr-x  7 root root  4096 Jan 13  2021 botocore
drwxr-xr-x  2 root root   148 Jan 13  2021 botocore-1.19.31.dist-info

The consequence of this is that when I pip install libraries that have the same dependencies as boto/botocore, I get dependency clashes. Either pip takes an eternity downloading every combination of a few libraries to figure out mutual dependencies, or it claims to work but simple scripts fail because of incompatable interfaces between libraries.

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