From ab183fa44faa1501774d2ebd3c5b7dca30ce2563 Mon Sep 17 00:00:00 2001 From: Vinicius Arcanjo Date: Thu, 14 Apr 2022 16:19:16 -0300 Subject: [PATCH 1/5] Added tenacity 8.0.1 as a dependency --- requirements/run.in | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/run.in b/requirements/run.in index bcd775bdc..7c4fc04a9 100644 --- a/requirements/run.in +++ b/requirements/run.in @@ -13,3 +13,4 @@ watchdog pyjwt pymongo==4.1.0 pydantic==1.9.0 +tenacity=8.0.1 From ba3d362557253dce61f8c6ea8ab9475e9d8076a8 Mon Sep 17 00:00:00 2001 From: Vinicius Arcanjo Date: Thu, 14 Apr 2022 16:19:54 -0300 Subject: [PATCH 2/5] Regenerated requirements --- requirements/dev.txt | 2 ++ requirements/run.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/requirements/dev.txt b/requirements/dev.txt index f65f510fc..df8fa540a 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -233,6 +233,8 @@ traitlets==4.3.3 # via # -r requirements/run.txt # ipython +tenacity==8.0.1 + # via -r requirements/run.txt typing-extensions==4.0.1 # via # -r requirements/run.txt diff --git a/requirements/run.txt b/requirements/run.txt index dd76cbb73..0c38c3f06 100644 --- a/requirements/run.txt +++ b/requirements/run.txt @@ -39,6 +39,7 @@ werkzeug==1.0.1 # via flask pydantic==1.9.0 # via -r requirements/run.in pymongo==4.1.0 # via -r requirements/run.in typing-extensions==4.0.1 # via pydantic +tenacity==8.0.1 # via -r requirements/run.in # The following packages are considered to be unsafe in a requirements file: # setuptools From 70326d92571b7defb1e9cb2ea138fb6ce7e55498 Mon Sep 17 00:00:00 2001 From: Vinicius Arcanjo Date: Thu, 14 Apr 2022 16:20:33 -0300 Subject: [PATCH 3/5] Updated changelog --- CHANGELOG.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c7f62e375..5b6fd99a9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,6 +24,8 @@ Added PATCH /api/kytos/core/dead_letter/ (requires request body) DELETE /api/kytos/core/dead_letter/ (requires request body) +- Added ``tenacity`` as a core dependency for retries. + Changed ======= - Kytos controller can shutdown if the database is configured but not reachable during startup time. From 8cfa8346659067416441535ffd5e00e0afc2fd5a Mon Sep 17 00:00:00 2001 From: Vinicius Arcanjo Date: Fri, 22 Apr 2022 11:35:44 -0300 Subject: [PATCH 4/5] Fixed requirements/run.in comparison --- requirements/run.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/run.in b/requirements/run.in index 7c4fc04a9..fa5a22be6 100644 --- a/requirements/run.in +++ b/requirements/run.in @@ -13,4 +13,4 @@ watchdog pyjwt pymongo==4.1.0 pydantic==1.9.0 -tenacity=8.0.1 +tenacity==8.0.1 From 896eca3eb36c6cc2e77589fd7bae1824c1368cc8 Mon Sep 17 00:00:00 2001 From: Vinicius Arcanjo Date: Mon, 16 May 2022 22:25:21 -0300 Subject: [PATCH 5/5] Removed py3.6 to py3.8 from gh tox.ini --- tox.ini | 3 --- 1 file changed, 3 deletions(-) diff --git a/tox.ini b/tox.ini index 0a96141bd..f40fc88ac 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,6 @@ envlist = py36,py37,py38,py39 [gh-actions] python = - 3.6: py36 - 3.7: py37 - 3.8: py38 3.9: py39 [testenv]