Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Retry core library tenacity #206

Merged
merged 9 commits into from
May 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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