This repository was archived by the owner on Jan 15, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 416
Boto3 and botocore need upgradingΒ #356
Copy link
Copy link
Open
Description
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.
thomas-icomplai and MarioHdpz
Metadata
Metadata
Assignees
Labels
No labels