The AWS Lambda Python 3.12 runtime currently provides boto3 and botocore version 1.38.36.
Only aiobotocore 2.23.1 is compatible with this version of botocore, specifically:
dependencies = [
"aiohttp >= 3.9.2, < 4.0.0",
"aioitertools >= 0.5.1, < 1.0.0",
"botocore >= 1.38.31, < 1.38.37",
There is no version of aioboto3 which is compatible with aiobotocore 2.23.1. There is one for 2.23.0.
If you pip install boto3==1.38.26 botocore==1.38.26 aioboto3, you get version 2.23.1 of aiobotocore and version 1.0.0 of aioboto3.
The AWS Lambda Python 3.12 runtime currently provides boto3 and botocore version 1.38.36.
Only aiobotocore 2.23.1 is compatible with this version of botocore, specifically:
There is no version of aioboto3 which is compatible with aiobotocore 2.23.1. There is one for 2.23.0.
If you
pip install boto3==1.38.26 botocore==1.38.26 aioboto3, you get version 2.23.1 of aiobotocore and version 1.0.0 of aioboto3.