Skip to content

Commit 4f6613e

Browse files
authored
chore: Remove Lambda urllib3 pin on Python 3.10+ (#4549)
See [botocore](https://github.com/boto/botocore/blob/0b28c3155f160a68fd901c9eb80a7a6a45a16216/setup.cfg#L8)
1 parent 9e1cedd commit 4f6613e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

requirements-aws-lambda-layer.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
certifi
2-
3-
# In Lambda functions botocore is used, and botocore is not
4-
# yet supporting urllib3 1.27.0 never mind 2+.
2+
urllib3
3+
# In Lambda functions botocore is used, and botocore has
4+
# restrictions on urllib3
5+
# https://github.com/boto/botocore/blob/develop/setup.cfg
56
# So we pin this here to make our Lambda layer work with
67
# Lambda Function using Python 3.7+
7-
urllib3<1.27
8+
urllib3<1.27; python_version < "3.10"

0 commit comments

Comments
 (0)