Move botocore to dev-packages

This prevents us from bundling botocore and all its dependencies for
Lambda. Instead we use the provided SDK version:
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
This commit is contained in:
iliana etaoin 2021-02-13 14:32:00 -08:00
parent ea080cde8f
commit 75bfc6d187
No known key found for this signature in database
GPG Key ID: 4B1B8478D7E0DF1A
2 changed files with 38 additions and 31 deletions

View File

@ -4,13 +4,13 @@ verify_ssl = true
name = "pypi"
[packages]
botocore = "*"
flask = "*"
requests = "*"
serverless-wsgi = "*"
[dev-packages]
black = "==20.8b1"
botocore = "==1.19.31"
flake8 = "*"
isort = "*"

67
Pipfile.lock generated
View File

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "c29c41840c76ae85596c3cf7cb53d3922e9645cd4c36ab2c5f44bc8855b79b6a"
"sha256": "68a8f736f0dfafca6fff662f629dae52198eca9e02f4df21d26114ad2d2d0826"
},
"pipfile-spec": 6,
"requires": {
@ -16,14 +16,6 @@
]
},
"default": {
"botocore": {
"hashes": [
"sha256:39832e4732fcdc897e1b1a50474251c7d3218029a902634a876364c223ca2432",
"sha256:7d04cd042ac01e08463dcbe520835d02f414ba431a43e4b4035bd2d0531b66a0"
],
"index": "pypi",
"version": "==1.20.6"
},
"certifi": {
"hashes": [
"sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c",
@ -74,13 +66,6 @@
],
"version": "==2.11.3"
},
"jmespath": {
"hashes": [
"sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9",
"sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"
],
"version": "==0.10.0"
},
"markupsafe": {
"hashes": [
"sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473",
@ -138,13 +123,6 @@
],
"version": "==1.1.1"
},
"python-dateutil": {
"hashes": [
"sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c",
"sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"
],
"version": "==2.8.1"
},
"requests": {
"hashes": [
"sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804",
@ -161,13 +139,6 @@
"index": "pypi",
"version": "==1.7.6"
},
"six": {
"hashes": [
"sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259",
"sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"
],
"version": "==1.15.0"
},
"urllib3": {
"hashes": [
"sha256:1b465e494e3e0d8939b50680403e3aedaa2bc434b7d5af64dfd3c958d7f5ae80",
@ -198,6 +169,14 @@
"index": "pypi",
"version": "==20.8b1"
},
"botocore": {
"hashes": [
"sha256:1e5712d53ecdefb0279dc45abef32bd9499f92800ddd89038a8dddb99423f940",
"sha256:624e1d4ce704494f73440c416624481d4ff283049b17d12e06890b79f2ac177d"
],
"index": "pypi",
"version": "==1.19.31"
},
"click": {
"hashes": [
"sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a",
@ -221,6 +200,13 @@
"index": "pypi",
"version": "==5.7.0"
},
"jmespath": {
"hashes": [
"sha256:b85d0567b8666149a93172712e68920734333c0ce7e89b78b3e987f71e5ed4f9",
"sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"
],
"version": "==0.10.0"
},
"mccabe": {
"hashes": [
"sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42",
@ -256,6 +242,13 @@
],
"version": "==2.2.0"
},
"python-dateutil": {
"hashes": [
"sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c",
"sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"
],
"version": "==2.8.1"
},
"regex": {
"hashes": [
"sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538",
@ -302,6 +295,13 @@
],
"version": "==2020.11.13"
},
"six": {
"hashes": [
"sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259",
"sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"
],
"version": "==1.15.0"
},
"toml": {
"hashes": [
"sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b",
@ -351,6 +351,13 @@
"sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"
],
"version": "==3.7.4.3"
},
"urllib3": {
"hashes": [
"sha256:1b465e494e3e0d8939b50680403e3aedaa2bc434b7d5af64dfd3c958d7f5ae80",
"sha256:de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73"
],
"version": "==1.26.3"
}
}
}