[BUG] Update awslambda sampleapp to support newer requests library #2041
Labels
bug
Something isn't working
priority:low
Low priority issue or pull request
status:review_needed
Issue or pull request needs reviewed
Bug Description
In
tests/functional/cfngin/hooks/test_awslambda/sample_app/src/docker/requirements.txt
therequests
library is defined. We've temporarily pinned it to a version before they addedurllib3
version 2 support. When unpinned, the latest version is installed which results in the following error when executing in AWS Lambda:The awslambda unit tests appear to use a lambda layer for dependencies. We need to work out how to update the
ssl
module before we can rollrequests
forward.Dependabot would also like to roll this forward, but if we do it will break things. see #2036
Expected Behavior
Latest version of
requests
library should import without an OpenSSL version error caused byurllib3
v2.Steps To Reproduce
Read bug description.
Runway version
2.6.11
Installation Type
pypi (pip, pipenv, poetry, etc)
OS / Environment
Any
Anything else?
No response
The text was updated successfully, but these errors were encountered: