- update to 8.3.0:
* Added a new stop function: `stop_before_delay`, which will
stop execution if the next sleep time would cause overall
delay to exceed the specified delay. Useful for use cases
where you have some upper bound on retry times that you must
not exceed, so returning before that timeout is preferable
than returning after that timeout.
* Preserve __defaults__ and __kwdefaults__ through retry
decorator
- use PEP517 build
OBS-URL: https://build.opensuse.org/request/show/1179634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=21
* Added a new stop function: `stop_before_delay`, which will
stop execution if the next sleep time would cause overall
delay to exceed the specified delay. Useful for use cases
where you have some upper bound on retry times that you must
not exceed, so returning before that timeout is preferable
than returning after that timeout.
* Preserve __defaults__ and __kwdefaults__ through retry
decorator
- use PEP517 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=49
* remove support for python 3.6
* Fix tests for typeguard 3.x
* Add support for async sleep functions in tenacity.retry
annotation
* fix: docstring for wait_exponential_jitter
* fix: remove __iter__ from AsyncRetring
* CI conversion to GitHub actions
- Update to version 8.0.1
- update to 3.3.0:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=47
- Update to version 8.1.0, 8.0.1, 8.0.0, 7.0.0
* feat: Add retry_if_exception_cause_type (#362)
* Support `datetime.timedelta` as a valid wait unit type (#342)
* Show All Exception Predicates in Docs (#332)
* Implement a wait.wait_exponential_jitter per Google's storage guide (#351)
* Define a ClientError to fix Sphinx build errors (#352)
* Merge pull request #340 from jd/fix-mergify
* ci: fix Mergify config
* Merge pull request #337 from william-silversmith/master
* docs: show how to use retry_if_not_exception_type
* Rickroll a function name in one of the examples (#331)
* Fix after_log logger format (#317)
* Drop `py2` tag from the wheel name (#320)
* Add a __repr__ method to RetryCallState objects (#302)
* Add type annotations to cover all code. (#315)
* Fix#307 : Drop deprecated APIs (#314)
* Fix DeprecationWarnings in tests (#313)
* Do not package tests with tenacity (#308)
* Fix issue #288 : __name__ and other attributes for async functions (#312)
* Use f-strings instead of `str.format` as faster and easier to read (#311)
* Replace abc.ABCMeta with abc.ABC (#310)
* Remove encoding declarations (#309)
* Merge pull request #306 from penguinolog/black_full_ci
* Use black instead of "flake8-black" on CI.
* Fix#291: drop python < 3.6 (#304)
* Merge pull request #293 from and-semakin/drop_deprecated_pythons
* Drop support for deprecated Python versions (2.7 and 3.5)
* Add retry_if_not_exception_type() (#300)
* Make logger more compatible (#294)
* ci: fix pep8 error (#297)
OBS-URL: https://build.opensuse.org/request/show/1034932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=37
- update to 5.0.4
* Try using unshallow clone
* Add support for Python 3.7
* Add test for attempt numbers in interleaved async coroutines
* Fix wait_chain to be runnable multiple times
* Fix six.wraps having a problem with __name__ attr on Py2
* Add retry_if_exception_message and complement
* RetryCallState: add retry_object & next_action fields
* Tweak wait funcs to accept call_state with backward compat
* Add RetryCallState class
* Documentation fixes
OBS-URL: https://build.opensuse.org/request/show/696988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=21
* add retry\_error\_callback param
* Fix Mergify conf
* Enable mergify
* Implement before\_sleep logging hook
* Rename tenacity.async to tenacity.\_asyncio
* Remove useless install of nose
* Switch to pytest
* Fix codeblock formatting
* Document how to use Trio/curio
* Catch BaseException rather than just Exception
* Fix pep8 errors
* Only install monotonic on Python 2
* Stop using pbr to build documentation
* Add \`license\` key to \`setup.cfg\`
* Avoid inspect.getargspec deprecation warning
* Don't fall over if an old version of tornado is installed
* Allow to specify RetryError
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=14
- update to 4.8.0
* Allow waiters to introspect last result
- update to 4.7.1
* Missed top level import of stop\_when\_event\_set
* Mention Tornado minimum version in README
* Fix unless\_exception test names and add no input test
- update to 4.7.0
* Add Tornado support
* Fix pep8
- update to 4.6.1
* Simplify wrapping code
- update to 4.6.0
* Implement \`retry\_with' on decorated functions
- Implement single-spec version
OBS-URL: https://build.opensuse.org/request/show/563434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=11