Skip to content

Commit

Permalink
Merge pull request #206 from kytos-ng/feature/tenacity
Browse files Browse the repository at this point in the history
[Feature] Retry core library `tenacity`
  • Loading branch information
viniarck authored May 17, 2022
2 parents 0c77cca + 896eca3 commit 2bf7b41
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements/run.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ watchdog
pyjwt
pymongo==4.1.0
pydantic==1.9.0
tenacity==8.0.1
1 change: 1 addition & 0 deletions requirements/run.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 2bf7b41

Please sign in to comment.