Latest version requires newer boto3
than that provided by the Lambda runtime
#3774
Replies: 2 comments 7 replies
-
Hi @allanlewis! Firstly, I apologize for the delay in responding. We are working on some complex features and a lot is happening. The boto3 dependency in Powertools is optional and in most cases it is unnecessary to install it as you can use the SDK provided by the Lambda runtime. Are you installing boto3 and Powertools in the same project and are experiencing dependency resolution issues? I would need a little more data/information to understand how we can help you with this problem, since Powertools does not include Just to give a context, the reason we fixed the boto3 version to Thank you and let's see how we can help. |
Beta Was this translation helpful? Give feedback.
-
Hi @allanlewis! I have an idea before we move forward to change anything. You have an important point about developer experience and compatibility between versions of this project and the Lambda runtime. So I'm going to contact the Lambda team to find out their plans to update the SDK in all Python versions of the Lambda Runtime. If they have plans to update it soon, we may have the same version of boto3 in Powertools. I don't know when I will have this answer, but I believe it will take a few weeks. I'll keep this discussion open for interaction with you and update as soon as I have the answer, ok? Thank you for your patience and for continuing this discussion. We appreciate you taking the time to share your perspective. It is helpful for us to understand how we can make adopting Powertools easier for others. |
Beta Was this translation helpful? Give feedback.
-
The Lambda runtime provides
boto3==1.26.90
but the latest Powertools requires a newer version. This means that if I want to excludeboto3
andbotocore
from my deployment package to keep the size down, then I can't use the latest Powertools. Is there a good reason to not limit Powertools'boto3
dependency to the version provided by the Lambda runtime?I commented on this issue but I expect that won't be very visible as it's closed: #3632 (comment)
Beta Was this translation helpful? Give feedback.
All reactions