From e10c463a01ecda8309c9b46017ca3650de61d355 Mon Sep 17 00:00:00 2001 From: "James E. King III" Date: Sun, 9 Jan 2022 11:15:12 -0500 Subject: [PATCH] update dependencies, fix typos --- .coveragerc | 2 +- README.md | 5 +++- poetry.lock | 79 ++++++++++++++++++++++++++--------------------------- 3 files changed, 44 insertions(+), 42 deletions(-) diff --git a/.coveragerc b/.coveragerc index b1102dd..1284034 100644 --- a/.coveragerc +++ b/.coveragerc @@ -12,7 +12,7 @@ exclude_lines = # https://github.com/nedbat/coveragepy/issues/831#issuecomment-517778185 if TYPE_CHECKING: - # Unexpected conditions that are exceeding difficult to cover + # Unexpected conditions that are exceedingly difficult to cover NotImplementedError # Future, if needed: diff --git a/README.md b/README.md index a60269a..7cceb49 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,10 @@ There is one module for each service. Each API call for a service that has post has an identically named function with a decorator. This package also extends the event data carried through such that the original call parameters and client are available. -Each post-condition method should guarantee visibility of the API that was calledr. For +Never call the original API from the post-condition function (unless you like infinite +recursion)! + +Each post-condition method should guarantee visibility of the API that was called. For example when something is deleted, the function should attempt to get that resource and raise a `PostConditionNotSatisfiedError` if it is still there. The framework will then enter a retry loop, calling the function again after an increasing delay. diff --git a/poetry.lock b/poetry.lock index c5414b6..6688795 100644 --- a/poetry.lock +++ b/poetry.lock @@ -19,14 +19,14 @@ reference = "pypi-public" [[package]] name = "boto3" -version = "1.20.30" +version = "1.20.31" description = "The AWS SDK for Python" category = "main" optional = false python-versions = ">= 3.6" [package.dependencies] -botocore = ">=1.23.30,<1.24.0" +botocore = ">=1.23.31,<1.24.0" jmespath = ">=0.7.1,<1.0.0" s3transfer = ">=0.5.0,<0.6.0" @@ -40,8 +40,8 @@ reference = "pypi-public" [[package]] name = "boto3-stubs" -version = "1.20.30" -description = "Type annotations for boto3 1.20.30, generated by mypy-boto3-builder 6.3.0" +version = "1.20.31" +description = "Type annotations for boto3 1.20.31, generated by mypy-boto3-builder 6.3.0" category = "dev" optional = false python-versions = ">=3.6" @@ -360,7 +360,7 @@ reference = "pypi-public" [[package]] name = "botocore" -version = "1.23.30" +version = "1.23.31" description = "Low-level, data-driven core of boto 3." category = "main" optional = false @@ -381,8 +381,8 @@ reference = "pypi-public" [[package]] name = "botocore-stubs" -version = "1.23.26" -description = "Type annotations for botocore 1.23.26, generated by mypy-boto3-builder 6.3.0" +version = "1.23.31" +description = "Type annotations for botocore 1.23.31, generated by mypy-boto3-builder 6.3.0" category = "dev" optional = false python-versions = ">=3.6" @@ -439,7 +439,7 @@ reference = "pypi-public" [[package]] name = "charset-normalizer" -version = "2.0.9" +version = "2.0.10" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." category = "dev" optional = false @@ -508,7 +508,7 @@ reference = "pypi-public" [[package]] name = "decorator" -version = "5.1.0" +version = "5.1.1" description = "Decorators for Humans" category = "main" optional = false @@ -601,7 +601,7 @@ reference = "pypi-public" [[package]] name = "gitpython" -version = "3.1.24" +version = "3.1.25" description = "GitPython is a python library used to interact with Git repositories" category = "dev" optional = false @@ -609,7 +609,6 @@ python-versions = ">=3.7" [package.dependencies] gitdb = ">=4.0.1,<5" -typing-extensions = {version = ">=3.7.4.3", markers = "python_version < \"3.10\""} [package.source] type = "legacy" @@ -618,7 +617,7 @@ reference = "pypi-public" [[package]] name = "identify" -version = "2.4.1" +version = "2.4.2" description = "File identification library for Python" category = "dev" optional = false @@ -705,7 +704,7 @@ reference = "pypi-public" [[package]] name = "moto" -version = "2.3.0" +version = "2.3.1" description = "A library that allows your python tests to easily mock out the boto library" category = "dev" optional = false @@ -988,7 +987,7 @@ reference = "pypi-public" [[package]] name = "requests" -version = "2.26.0" +version = "2.27.1" description = "Python HTTP for Humans." category = "dev" optional = false @@ -1162,7 +1161,7 @@ reference = "pypi-public" [[package]] name = "urllib3" -version = "1.26.7" +version = "1.26.8" description = "HTTP library with thread-safe connection pooling, file post, and more." category = "main" optional = false @@ -1199,7 +1198,7 @@ reference = "pypi-public" [[package]] name = "virtualenv" -version = "20.11.2" +version = "20.13.0" description = "Virtual Python Environment builder" category = "dev" optional = false @@ -1290,20 +1289,20 @@ bandit = [ {file = "bandit-1.7.1.tar.gz", hash = "sha256:a81b00b5436e6880fa8ad6799bc830e02032047713cbb143a12939ac67eb756c"}, ] boto3 = [ - {file = "boto3-1.20.30-py3-none-any.whl", hash = "sha256:e50827ccb217cadf61744fad3c0e4c7455bbbd6ed447868d04914cc5c8e6a978"}, - {file = "boto3-1.20.30.tar.gz", hash = "sha256:7fbdf85db66e8f3ee38958994bb3957e9dc9b79b6ee064180278442cc87694eb"}, + {file = "boto3-1.20.31-py3-none-any.whl", hash = "sha256:948e81af347085e6bc5ff08368d7901afec9e7628adf180c9cc856c7b0ae3395"}, + {file = "boto3-1.20.31.tar.gz", hash = "sha256:3003d64ebef678b89a9909d2df3836160c7cbad5cbfe6c995a61de0875b36237"}, ] boto3-stubs = [ - {file = "boto3-stubs-1.20.30.tar.gz", hash = "sha256:228f3f4b29520f1b80bfbb11b725a8431df950004eae52d3ab3abc4cb78dd2fb"}, - {file = "boto3_stubs-1.20.30-py3-none-any.whl", hash = "sha256:03bb7852aceb1fa8bca0f04b4ea1ed6138c782f87f021a627bc9ec624532a3cc"}, + {file = "boto3-stubs-1.20.31.tar.gz", hash = "sha256:1320664753029bd15e98c39cd70914d7906aac9dc91213cdfcabd7726a876600"}, + {file = "boto3_stubs-1.20.31-py3-none-any.whl", hash = "sha256:07e621479717e7053b16dafbc8b758daa9bf6ccf8bc0aaa9b28298cb3b03ccfd"}, ] botocore = [ - {file = "botocore-1.23.30-py3-none-any.whl", hash = "sha256:30c6566e68e680116a1949dd3a490a1f50ddaf9c195b1c85bada9d8af4163ad0"}, - {file = "botocore-1.23.30.tar.gz", hash = "sha256:c6a60cffe095296b78ff03adae0fdf2875210a74531a0d1f68206091203573fe"}, + {file = "botocore-1.23.31-py3-none-any.whl", hash = "sha256:187c736ce242bbea3d1440c580d270e0fd839276c5cc3938a85b8c59366c1803"}, + {file = "botocore-1.23.31.tar.gz", hash = "sha256:bb34fa60ab894f9a4a1f7de36e32a68ce17f302108f83732c3ca99c7da2bf68c"}, ] botocore-stubs = [ - {file = "botocore-stubs-1.23.26.tar.gz", hash = "sha256:3659f93885b3b484739b6241628a7fd8a1ffd75ab58f7a93138f16a6399dd491"}, - {file = "botocore_stubs-1.23.26-py3-none-any.whl", hash = "sha256:0c9a9c0719787f247ad886b941fe53a30f909fdfe36d6b9b2f27dce8f5efffe7"}, + {file = "botocore-stubs-1.23.31.tar.gz", hash = "sha256:d0ec9f6897d887cd9cdf0782ba4d675de74415c5839279152ddf000a273412f2"}, + {file = "botocore_stubs-1.23.31-py3-none-any.whl", hash = "sha256:471b3b21d6fded230961947185c8b5cfcded8be2cddd06f47356b6dfb72c2989"}, ] certifi = [ {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"}, @@ -1366,8 +1365,8 @@ cfgv = [ {file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"}, ] charset-normalizer = [ - {file = "charset-normalizer-2.0.9.tar.gz", hash = "sha256:b0b883e8e874edfdece9c28f314e3dd5badf067342e42fb162203335ae61aa2c"}, - {file = "charset_normalizer-2.0.9-py3-none-any.whl", hash = "sha256:1eecaa09422db5be9e29d7fc65664e6c33bd06f9ced7838578ba40d58bdf3721"}, + {file = "charset-normalizer-2.0.10.tar.gz", hash = "sha256:876d180e9d7432c5d1dfd4c5d26b72f099d503e8fcc0feb7532c9289be60fcbd"}, + {file = "charset_normalizer-2.0.10-py3-none-any.whl", hash = "sha256:cb957888737fc0bbcd78e3df769addb41fd1ff8cf950dc9e7ad7793f1bf44455"}, ] colorama = [ {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, @@ -1445,8 +1444,8 @@ cryptography = [ {file = "cryptography-36.0.1.tar.gz", hash = "sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"}, ] decorator = [ - {file = "decorator-5.1.0-py3-none-any.whl", hash = "sha256:7b12e7c3c6ab203a29e157335e9122cb03de9ab7264b137594103fd4a683b374"}, - {file = "decorator-5.1.0.tar.gz", hash = "sha256:e59913af105b9860aa2c8d3272d9de5a56a4e608db9a2f167a8480b323d529a7"}, + {file = "decorator-5.1.1-py3-none-any.whl", hash = "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186"}, + {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"}, ] distlib = [ {file = "distlib-0.3.4-py2.py3-none-any.whl", hash = "sha256:6564fe0a8f51e734df6333d08b8b94d4ea8ee6b99b5ed50613f731fd4089f34b"}, @@ -1468,12 +1467,12 @@ gitdb = [ {file = "gitdb-4.0.9.tar.gz", hash = "sha256:bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa"}, ] gitpython = [ - {file = "GitPython-3.1.24-py3-none-any.whl", hash = "sha256:dc0a7f2f697657acc8d7f89033e8b1ea94dd90356b2983bca89dc8d2ab3cc647"}, - {file = "GitPython-3.1.24.tar.gz", hash = "sha256:df83fdf5e684fef7c6ee2c02fc68a5ceb7e7e759d08b694088d0cacb4eba59e5"}, + {file = "GitPython-3.1.25-py3-none-any.whl", hash = "sha256:4f8b0e51713642b83f1eb10136d36a7f2c5278d188c5ae82b144cb1f4e848f0c"}, + {file = "GitPython-3.1.25.tar.gz", hash = "sha256:b923e8952c2fe0d70b129fddd8511acc90b3070c8dddb20d86ca9911a5d0c248"}, ] identify = [ - {file = "identify-2.4.1-py2.py3-none-any.whl", hash = "sha256:0192893ff68b03d37fed553e261d4a22f94ea974093aefb33b29df2ff35fed3c"}, - {file = "identify-2.4.1.tar.gz", hash = "sha256:64d4885e539f505dd8ffb5e93c142a1db45480452b1594cacd3e91dca9a984e9"}, + {file = "identify-2.4.2-py2.py3-none-any.whl", hash = "sha256:67c1e66225870dce721228176637a8ef965e8dd58450bcc7592249d0dfc4da6c"}, + {file = "identify-2.4.2.tar.gz", hash = "sha256:93e8ec965e888f2212aa5c24b2b662f4832c39acb1d7196a70ea45acb626a05e"}, ] idna = [ {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, @@ -1563,8 +1562,8 @@ mccabe = [ {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, ] moto = [ - {file = "moto-2.3.0-py2.py3-none-any.whl", hash = "sha256:0a1913f8cfe1ea8a14bf7807de1e34df9731818dca70c91f3f42015c2d7a102c"}, - {file = "moto-2.3.0.tar.gz", hash = "sha256:0d6a179622bb9d0cd8141bb33d78882039ce7400aca3a8c07ad6d00076b60c62"}, + {file = "moto-2.3.1-py2.py3-none-any.whl", hash = "sha256:6c48e41aecc9ca390b655ee12d327c71dac837ffb33cad9571d9deb989ddfad4"}, + {file = "moto-2.3.1.tar.gz", hash = "sha256:477e6a94c5e940c649c1276276afe6e041a068943a6969009dcca69aa1e7463a"}, ] multidict = [ {file = "multidict-5.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3822c5894c72e3b35aae9909bef66ec83e44522faf767c0ad39e0e2de11d3b55"}, @@ -1750,8 +1749,8 @@ pyyaml = [ {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, ] requests = [ - {file = "requests-2.26.0-py2.py3-none-any.whl", hash = "sha256:6c1246513ecd5ecd4528a0906f910e8f0f9c6b8ec72030dc9fd154dc1a6efd24"}, - {file = "requests-2.26.0.tar.gz", hash = "sha256:b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7"}, + {file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"}, + {file = "requests-2.27.1.tar.gz", hash = "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"}, ] responses = [ {file = "responses-0.16.0-py2.py3-none-any.whl", hash = "sha256:f358ef75e8bf431b0aa203cc62625c3a1c80a600dbe9de91b944bf4e9c600b92"}, @@ -1794,16 +1793,16 @@ typing-extensions = [ {file = "typing_extensions-4.0.1.tar.gz", hash = "sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e"}, ] urllib3 = [ - {file = "urllib3-1.26.7-py2.py3-none-any.whl", hash = "sha256:c4fdf4019605b6e5423637e01bc9fe4daef873709a7973e195ceba0a62bbc844"}, - {file = "urllib3-1.26.7.tar.gz", hash = "sha256:4987c65554f7a2dbf30c18fd48778ef124af6fab771a377103da0585e2336ece"}, + {file = "urllib3-1.26.8-py2.py3-none-any.whl", hash = "sha256:000ca7f471a233c2251c6c7023ee85305721bfdf18621ebff4fd17a8653427ed"}, + {file = "urllib3-1.26.8.tar.gz", hash = "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"}, ] vcrpy = [ {file = "vcrpy-4.1.1-py2.py3-none-any.whl", hash = "sha256:12c3fcdae7b88ecf11fc0d3e6d77586549d4575a2ceee18e82eee75c1f626162"}, {file = "vcrpy-4.1.1.tar.gz", hash = "sha256:57095bf22fc0a2d99ee9674cdafebed0f3ba763018582450706f7d3a74fff599"}, ] virtualenv = [ - {file = "virtualenv-20.11.2-py2.py3-none-any.whl", hash = "sha256:efd556cec612fd826dc7ef8ce26a6e4ba2395f494244919acd135fb5ceffa809"}, - {file = "virtualenv-20.11.2.tar.gz", hash = "sha256:7f9e9c2e878d92a434e760058780b8d67a7c5ec016a66784fe4b0d5e50a4eb5c"}, + {file = "virtualenv-20.13.0-py2.py3-none-any.whl", hash = "sha256:339f16c4a86b44240ba7223d0f93a7887c3ca04b5f9c8129da7958447d079b09"}, + {file = "virtualenv-20.13.0.tar.gz", hash = "sha256:d8458cf8d59d0ea495ad9b34c2599487f8a7772d796f9910858376d1600dd2dd"}, ] werkzeug = [ {file = "Werkzeug-2.0.2-py3-none-any.whl", hash = "sha256:63d3dc1cf60e7b7e35e97fa9861f7397283b75d765afcaefd993d6046899de8f"},