diff --git a/Pipfile b/Pipfile index f28f156..7076fad 100644 --- a/Pipfile +++ b/Pipfile @@ -9,11 +9,13 @@ jinja2 = "3.1.3" mangum = "==0.15.0" httpx = "0.23.1" babel = "==2.11.0" -dc-response-builder = {file = "https://github.com/DemocracyClub/dc_response_builder/archive/refs/tags/0.0.5.zip"} +dc-response-builder = {file = "https://github.com/DemocracyClub/dc_response_builder/archive/refs/tags/0.0.13.zip"} dateparser = "==1.1.7" sentry-sdk = {extras = ["starlette"], version = "*"} urllib3 = "<2" ruff = "*" +typing-extensions = ">=3.7.4" + [dev-packages] uvicorn = "*" diff --git a/Pipfile.lock b/Pipfile.lock index ee833c8..41bc78a 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "065849fc6994271149902a4bdce944d33e350f1026f72d9cb77db47f4d0a637e" + "sha256": "857b07cca5b5c2989404d5bd37d9eff220b97e7c212a599216122dd3e9c82965" }, "pipfile-spec": 6, "requires": { @@ -33,6 +33,28 @@ "markers": "python_version >= '3.6'", "version": "==2.11.0" }, + "backports.zoneinfo": { + "hashes": [ + "sha256:17746bd546106fa389c51dbea67c8b7c8f0d14b5526a579ca6ccf5ed72c526cf", + "sha256:1b13e654a55cd45672cb54ed12148cd33628f672548f373963b0bff67b217328", + "sha256:1c5742112073a563c81f786e77514969acb58649bcdf6cdf0b4ed31a348d4546", + "sha256:4a0f800587060bf8880f954dbef70de6c11bbe59c673c3d818921f042f9954a6", + "sha256:5c144945a7752ca544b4b78c8c41544cdfaf9786f25fe5ffb10e838e19a27570", + "sha256:7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9", + "sha256:8439c030a11780786a2002261569bdf362264f605dfa4d65090b64b05c9f79a7", + "sha256:8961c0f32cd0336fb8e8ead11a1f8cd99ec07145ec2931122faaac1c8f7fd987", + "sha256:89a48c0d158a3cc3f654da4c2de1ceba85263fafb861b98b59040a5086259722", + "sha256:a76b38c52400b762e48131494ba26be363491ac4f9a04c1b7e92483d169f6582", + "sha256:da6013fd84a690242c310d77ddb8441a559e9cb3d3d59ebac9aca1a57b2e18bc", + "sha256:e55b384612d93be96506932a786bbcde5a2db7a9e6a4bb4bffe8b733f5b9036b", + "sha256:e81b76cace8eda1fca50e345242ba977f9be6ae3945af8d46326d776b4cf78d1", + "sha256:e8236383a20872c0cdf5a62b554b27538db7fa1bbec52429d8d106effbaeca08", + "sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac", + "sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2" + ], + "markers": "python_version < '3.9'", + "version": "==0.2.1" + }, "certifi": { "hashes": [ "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", @@ -51,7 +73,7 @@ "version": "==1.1.7" }, "dc-response-builder": { - "file": "https://github.com/DemocracyClub/dc_response_builder/archive/refs/tags/0.0.5.zip" + "file": "https://github.com/DemocracyClub/dc_response_builder/archive/refs/tags/0.0.13.zip" }, "dnspython": { "hashes": [ @@ -391,10 +413,10 @@ "starlette" ], "hashes": [ - "sha256:41df73af89d22921d8733714fb0fc5586c3461907e06688e6537d01a27e0e0f6", - "sha256:8d768724839ca18d7b4c7463ef7528c40b7aa2bfbf7fe554d5f9a7c044acfd36" + "sha256:eb65289da013ca92fad2694851ad2f086aa3825e808dc285bd7dcaf63602bb18", + "sha256:f7125a9235795811962d52ff796dc032cd1d0dd98b59beaced8380371cd9c13c" ], - "version": "==1.43.0" + "version": "==1.44.0" }, "six": { "hashes": [ @@ -428,6 +450,7 @@ "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475", "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb" ], + "index": "pypi", "markers": "python_version >= '3.8'", "version": "==4.10.0" }, @@ -441,10 +464,10 @@ }, "uk-election-ids": { "hashes": [ - "sha256:851619b6e16b05ef705ee2b7fcc0f92ee83d41f86e072a60d5f93ace1882ea65", - "sha256:8f7f1ec4850bacc58866a2bb182297b38ce7887882b9aa5d80455e713be9218e" + "sha256:043d4699ff3717c85649b9fc79e1fa2b9dcdb18e62a7bdc45179c4c516b5e157", + "sha256:f75aaaa362728426f459fca1fb2b6c610ff2093ea2f27e944e81e2ed10f6e35c" ], - "version": "==0.5.1" + "version": "==0.7.3" }, "urllib3": { "hashes": [ @@ -521,6 +544,35 @@ "markers": "python_version >= '3.7' and python_version != '4.0' and python_version <= '4.0'", "version": "==1.80.0" }, + "backcall": { + "hashes": [ + "sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e", + "sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255" + ], + "version": "==0.2.0" + }, + "backports.zoneinfo": { + "hashes": [ + "sha256:17746bd546106fa389c51dbea67c8b7c8f0d14b5526a579ca6ccf5ed72c526cf", + "sha256:1b13e654a55cd45672cb54ed12148cd33628f672548f373963b0bff67b217328", + "sha256:1c5742112073a563c81f786e77514969acb58649bcdf6cdf0b4ed31a348d4546", + "sha256:4a0f800587060bf8880f954dbef70de6c11bbe59c673c3d818921f042f9954a6", + "sha256:5c144945a7752ca544b4b78c8c41544cdfaf9786f25fe5ffb10e838e19a27570", + "sha256:7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9", + "sha256:8439c030a11780786a2002261569bdf362264f605dfa4d65090b64b05c9f79a7", + "sha256:8961c0f32cd0336fb8e8ead11a1f8cd99ec07145ec2931122faaac1c8f7fd987", + "sha256:89a48c0d158a3cc3f654da4c2de1ceba85263fafb861b98b59040a5086259722", + "sha256:a76b38c52400b762e48131494ba26be363491ac4f9a04c1b7e92483d169f6582", + "sha256:da6013fd84a690242c310d77ddb8441a559e9cb3d3d59ebac9aca1a57b2e18bc", + "sha256:e55b384612d93be96506932a786bbcde5a2db7a9e6a4bb4bffe8b733f5b9036b", + "sha256:e81b76cace8eda1fca50e345242ba977f9be6ae3945af8d46326d776b4cf78d1", + "sha256:e8236383a20872c0cdf5a62b554b27538db7fa1bbec52429d8d106effbaeca08", + "sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac", + "sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2" + ], + "markers": "python_version < '3.9'", + "version": "==0.2.1" + }, "beautifulsoup4": { "hashes": [ "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051", @@ -547,11 +599,11 @@ }, "boto3": { "hashes": [ - "sha256:a33585ef0d811ee0dffd92a96108344997a3059262c57349be0761d7885f6ae7", - "sha256:cbfabd99c113bbb1708c2892e864b6dd739593b97a76fbb2e090a7d965b63b82" + "sha256:4d68e7c7c1339e251c661fd6e2a34e31d281177106326712417fed839907fa84", + "sha256:f45503333286c03fb692a3ce497b6fdb4e88c51c98a3b8ff05071d7f56571448" ], "markers": "python_version >= '3.8'", - "version": "==1.34.72" + "version": "==1.34.73" }, "boto3-stubs": { "extras": [ @@ -579,11 +631,11 @@ }, "botocore": { "hashes": [ - "sha256:342edb6f91d5839e790411822fc39f9c712c87cdaa7f3b1999f50b1ca16c4a14", - "sha256:a6b92735a73c19a7e540d77320420da3af3f32c91fa661c738c0b8c9f912d782" + "sha256:88d660b711cc5b5b049e15d547cb09526f86e48c15b78dacad78522109502b91", + "sha256:8df020b6682b9f1e9ee7b0554d5d0c14b7b23e3de070c85bcdf07fb20bfe4e2b" ], "markers": "python_version >= '3.8'", - "version": "==1.34.72" + "version": "==1.34.73" }, "botocore-stubs": { "hashes": [ @@ -1084,6 +1136,22 @@ "markers": "python_version >= '3.5'", "version": "==3.6" }, + "importlib-metadata": { + "hashes": [ + "sha256:30962b96c0c223483ed6cc7280e7f0199feb01a0e40cfae4d4450fc6fab1f570", + "sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2" + ], + "markers": "python_version < '3.10'", + "version": "==7.1.0" + }, + "importlib-resources": { + "hashes": [ + "sha256:50d10f043df931902d4194ea07ec57960f66a80449ff867bfe782b4c486ba78c", + "sha256:cdb2b453b8046ca4e3798eb1d84f3cce1446a0e8e7b5ef4efb600f19fc398145" + ], + "markers": "python_version < '3.9'", + "version": "==6.4.0" + }, "iniconfig": { "hashes": [ "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", @@ -1103,11 +1171,11 @@ }, "ipython": { "hashes": [ - "sha256:2dcaad9049f9056f1fef63514f176c7d41f930daa78d05b82a176202818f2c14", - "sha256:3c86f284c8f3d8f2b6c662f885c4889a91df7cd52056fd02b7d8d6195d7f56e9" + "sha256:3910c4b54543c2ad73d06579aa771041b7d5707b033bd488669b4cf544e3b363", + "sha256:b0340d46a933d27c657b211a329d0be23793c36595acf9e6ef4164bc01a1804c" ], "markers": "python_version < '3.11' and python_version >= '3.7'", - "version": "==8.22.2" + "version": "==8.12.3" }, "itsdangerous": { "hashes": [ @@ -1394,11 +1462,11 @@ }, "networkx": { "hashes": [ - "sha256:9f1bb5cf3409bf324e0a722c20bdb4c20ee39bf1c30ce8ae499c8502b0b5e0c6", - "sha256:f18c69adc97877c42332c170849c96cefa91881c99a7cb3e95b7c659ebdc1ec2" + "sha256:4f33f68cb2afcf86f28a45f43efc27a9386b535d567d2127f8f61d51dec58d36", + "sha256:de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61" ], - "markers": "python_version >= '3.9'", - "version": "==3.2.1" + "markers": "python_version >= '3.8'", + "version": "==3.1" }, "nodeenv": { "hashes": [ @@ -1437,9 +1505,24 @@ "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f" ], - "markers": "sys_platform != 'win32' and sys_platform != 'emscripten'", + "markers": "sys_platform != 'win32'", "version": "==4.9.0" }, + "pickleshare": { + "hashes": [ + "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca", + "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56" + ], + "version": "==0.7.5" + }, + "pkgutil-resolve-name": { + "hashes": [ + "sha256:357d6c9e6a755653cfd78893817c0853af365dd51ec97f3d358a819373bbd174", + "sha256:ca27cc078d25c5ad71a9de0a7a330146c4e014c2462d9af19c6b828280649c5e" + ], + "markers": "python_version < '3.9'", + "version": "==1.3.10" + }, "platformdirs": { "hashes": [ "sha256:0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068", @@ -1471,12 +1554,12 @@ }, "pre-commit": { "hashes": [ - "sha256:5eae9e10c2b5ac51577c3452ec0a490455c45a0533f7960f993a0d01e59decab", - "sha256:e209d61b8acdcf742404408531f0c37d49d2c734fd7cff2d6076083d191cb060" + "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32", + "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660" ], "index": "pypi", - "markers": "python_version >= '3.9'", - "version": "==3.7.0" + "markers": "python_version >= '3.8'", + "version": "==3.5.0" }, "prompt-toolkit": { "hashes": [ @@ -2252,6 +2335,7 @@ "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475", "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb" ], + "index": "pypi", "markers": "python_version >= '3.8'", "version": "==4.10.0" }, @@ -2352,6 +2436,14 @@ ], "markers": "python_version >= '3.8'", "version": "==0.43.0" + }, + "zipp": { + "hashes": [ + "sha256:206f5a15f2af3dbaee80769fb7dc6f249695e940acca08dfb2a4769fe61e538b", + "sha256:2884ed22e7d8961de1c9a05142eb69a247f120291bc0206a00a7642f09b5b715" + ], + "markers": "python_version >= '3.8'", + "version": "==3.18.1" } } }