14
0
Commit Graph

54 Commits

Author SHA256 Message Date
c1be256eba Accepting request 1183916 from devel:languages:python
- update to 8.4.2:
  * fix: Avoid overwriting local contexts with retry decorator

OBS-URL: https://build.opensuse.org/request/show/1183916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=23
2024-06-29 13:17:11 +00:00
eed3804d06 - update to 8.4.2:
* fix: Avoid overwriting local contexts with retry decorator

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=53
2024-06-29 05:34:00 +00:00
92fb20de2b Accepting request 1181787 from devel:languages:python
- update to 8.4.1:
  * Include `tenacity.asyncio` subpackage in release dist
- update to 8.4.0:
  * Add async strategies
  * Support Trio out-of-the-box

OBS-URL: https://build.opensuse.org/request/show/1181787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=22
2024-06-20 14:47:37 +00:00
85b1cadb57 - update to 8.4.1:
* Include `tenacity.asyncio` subpackage in release dist
- update to 8.4.0:
  * Add async strategies
  * Support Trio out-of-the-box

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=51
2024-06-19 17:01:57 +00:00
783e220bfd Accepting request 1179634 from devel:languages:python
- 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
2024-06-10 15:37:51 +00:00
6a41dc338f - 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/package/show/devel:languages:python/python-tenacity?expand=0&rev=49
2024-06-10 07:51:05 +00:00
74fd5aeded Accepting request 1129194 from devel:languages:python
- update to 3.2.3:
  * 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/request/show/1129194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=20
2023-11-27 21:44:44 +00:00
76e32f455e - update to 3.2.3:
* 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
2023-11-27 16:10:27 +00:00
fd4f3e4107 Accepting request 1090091 from devel:languages:python
- update to 8.2.2:
  * feat: accept datetime.timedelta instances as argument to `stop_after..
  * fix: docstring for wait_exponential_jitter 
  * fix: remove __iter__ from AsyncRetring 
  * Add retry_if_exception_cause_type and wait_exponential_jitter
  * better wait.WaitBaseT annotation
  * CI conversion to GitHub actions

OBS-URL: https://build.opensuse.org/request/show/1090091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=19
2023-06-01 15:19:29 +00:00
f7e2a7a15a - update to 8.2.2:
* feat: accept datetime.timedelta instances as argument to `stop_after..
  * fix: docstring for wait_exponential_jitter 
  * fix: remove __iter__ from AsyncRetring 
  * Add retry_if_exception_cause_type and wait_exponential_jitter
  * better wait.WaitBaseT annotation
  * CI conversion to GitHub actions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=45
2023-05-31 19:56:58 +00:00
e76d8350d9 Accepting request 1087255 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1087255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=18
2023-05-16 12:16:16 +00:00
6ad8761724 Accepting request 1087252 from home:ojkastl_buildservice:Branch_devel_languages_python
- disable check 'test_retry_type_annotations' that fails due to
  `TypeError: check_type() takes 2 positional arguments but 3 were
  given`

OBS-URL: https://build.opensuse.org/request/show/1087252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=43
2023-05-15 14:50:39 +00:00
6ba6ec24b2 Accepting request 1085821 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=17
2023-05-10 14:18:42 +00:00
edadf0886c Accepting request 1085539 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=41
2023-05-09 20:50:08 +00:00
285d57106a Accepting request 1035302 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=16
2022-11-12 16:41:15 +00:00
3b1cde545b Accepting request 1035286 from home:pgajdos:python
- silent rpmlint

- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1035286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=39
2022-11-11 16:21:09 +00:00
826c0faa91 clarify changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=38
2022-11-11 13:40:48 +00:00
cf6f83ab73 Accepting request 1034932 from home:yarunachalam:branches:devel:languages:python
- 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
2022-11-11 13:38:39 +00:00
f305e19190 Accepting request 1032576 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=15
2022-11-01 12:43:08 +00:00
eb98e09731 Accepting request 1032527 from home:yarunachalam:branches:devel:languages:python
- Update to version 8.1.0 
 * no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/1032527
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=35
2022-10-31 20:22:59 +00:00
e5cc1ff7b1 Accepting request 887893 from devel:languages:python
- update to 6.3.1:
  * Make AsyncRetrying callable
  * Replace nap.sleep with a method to allow mocking after import
  * Always return booleans from all retry_* methods
  * Fix asyncio.iscoroutinefunction(f) check for decorated function
  * Add call method to AsyncRetying

OBS-URL: https://build.opensuse.org/request/show/887893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=14
2021-04-23 15:50:40 +00:00
b64e1759cd - update to 6.3.1:
* Make AsyncRetrying callable
  * Replace nap.sleep with a method to allow mocking after import
  * Always return booleans from all retry_* methods
  * Fix asyncio.iscoroutinefunction(f) check for decorated function
  * Add call method to AsyncRetying

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=33
2021-04-22 20:47:48 +00:00
aaacc69afb Accepting request 817787 from devel:languages:python
- Update to 6.2.0:
  * before_sleep_log: Add an exc_info option to include exception tracebacks
  * docs: fix duplicate function names (#226)
  * AsyncRetrying can use an async iterator (#222)
  * Add minimal type definitions for @retry decorator (#221)
- Add typguard to BuildRequires

OBS-URL: https://build.opensuse.org/request/show/817787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=13
2020-06-30 19:58:06 +00:00
7fe4afa4ef - Update to 6.2.0:
* before_sleep_log: Add an exc_info option to include exception tracebacks
  * docs: fix duplicate function names (#226)
  * AsyncRetrying can use an async iterator (#222)
  * Add minimal type definitions for @retry decorator (#221)
- Add typguard to BuildRequires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=31
2020-06-30 00:37:42 +00:00
2eb0ae2048 Accepting request 795716 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=12
2020-04-21 11:07:12 +00:00
Tomáš Chvátal
9f3a5116f9 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=29
2020-04-20 09:04:37 +00:00
de77936f11 Accepting request 780390 from devel:languages:python
- update to 6.1.0:
  * further Python 3.8 fixes

OBS-URL: https://build.opensuse.org/request/show/780390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=11
2020-03-03 09:15:17 +00:00
c9c927a90d - update to 6.1.0:
* further Python 3.8 fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=27
2020-02-28 21:46:08 +00:00
746d7a5386 Accepting request 758620 from devel:languages:python
- update to 6.0.0
  * Python 3.8 enablement

OBS-URL: https://build.opensuse.org/request/show/758620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=10
2019-12-21 11:34:32 +00:00
31c25e14e6 - update to 6.0.0
* Python 3.8 enablement

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=25
2019-12-20 18:42:37 +00:00
a82d0baa27 Accepting request 726743 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/726743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=9
2019-08-28 16:38:24 +00:00
Tomáš Chvátal
57ac2c6a2c Accepting request 726742 from home:mcalabkova:branches:devel:languages:python
- update to 5.1.1
  * upstream switched to reno, so no upstream changelog
  * Use setuptools_scm for packaging
  * Drop Python 3.4
  * Reduce wait_exponential power by 1 so first wait is equal to multiplier

OBS-URL: https://build.opensuse.org/request/show/726742
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=23
2019-08-28 11:59:18 +00:00
8002c96194 Accepting request 697030 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/697030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=8
2019-04-23 12:39:15 +00:00
Tomáš Chvátal
2c313ed3c6 Accepting request 696988 from home:mcalabkova:branches:devel:languages:python
- 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
2019-04-23 09:18:20 +00:00
c21afff8b5 Accepting request 664987 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/664987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=7
2019-01-15 08:17:13 +00:00
df4b60844a Accepting request 664953 from home:jbrownell:branches:devel:languages:python
- Use "Requires:" instead of "Recommends:" on older build platforms

OBS-URL: https://build.opensuse.org/request/show/664953
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=19
2019-01-12 15:41:36 +00:00
47297d02e9 Accepting request 659708 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=6
2018-12-24 10:45:01 +00:00
11660ab693 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=17
2018-12-04 14:08:36 +00:00
528865e27e Accepting request 643129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/643129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=5
2018-10-22 09:23:51 +00:00
Tomáš Chvátal
e57b287154 Accepting request 643040 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/643040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=15
2018-10-19 07:15:04 +00:00
a11c0c2e4b - update to 4.12.0:
* 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
2018-10-11 12:05:34 +00:00
f4b7f9dc11 Accepting request 563549 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/563549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=4
2018-01-13 20:47:36 +00:00
Tomáš Chvátal
e050e0b536 Accepting request 563451 from home:jengelh:branches:devel:languages:python
- Remove repetition of license terms in description.
Already present in the RPM header.

OBS-URL: https://build.opensuse.org/request/show/563451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=12
2018-01-11 09:11:24 +00:00
Todd R
3aaa4f1b27 Accepting request 563434 from home:TheBlackCat:branches:devel:languages:python
- 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
2018-01-10 20:54:07 +00:00
94c521dd34 Accepting request 540371 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/540371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=3
2017-11-11 13:20:45 +00:00
f07ae153dc - update to 4.5.0:
* Replace hacking with flake8 extensions
  * Fix import order
  * Put a default sleep attribute on BaseRetrying
  * async: allow to specify a different sleep method
  * Issue-8: Make sure doc examples run (#89)
  * Remove Python 3.4 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=9
2017-11-02 23:21:23 +00:00
09dff4398a Accepting request 518053 from devel:languages:python
- update to 4.4.0:
  * Document wait\_random\_exponential strategy
  * Rename wait\_full\_jitter to wait\_random\_exponential
  * Add retry\_unless\_exception\_type
  * Add missing ')' to README.rst
  * Do not duplicate statistics fields in instance
  * Do not start trial\_start\_time as an attribute
  * Add an example on how to combine stop conditions
  * Put a link to the GitHub issue of retrying about the fork
  * feat: added wait\_full\_jitter
  * Add new event based sleep and stop
  * Add \`wraps' method directly on Retrying object
  * wait: handle OverflowError
  * doc: raise Exception in example so they actually work
  * Remove weird example with retry\_if\_io\_error
  * Bump version for new feature
  * Add Python 3.6 support
  * Add retry\_if\_not\_result class to compliment the existing retry\_if\_result class
  * Fix six minimum version
  * doc: rewrite the before explanation
  * Add \_\_call\_\_ on BaseRetrying class
  * Document before and after keywords
  * Remove useless MANIFEST
  * Remove non-working PyPI download image
  * Bump hacking to 0.13
  * Use Python 3 for pep8 tox target
  * Remove deprecated wait\_jitter (forwarded request 518052 from tbechtold)

OBS-URL: https://build.opensuse.org/request/show/518053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=2
2017-08-22 09:11:26 +00:00
Thomas Bechtold
4ae7a3e923 Accepting request 518052 from home:tbechtold:branches:devel:languages:python
- update to 4.4.0:
  * Document wait\_random\_exponential strategy
  * Rename wait\_full\_jitter to wait\_random\_exponential
  * Add retry\_unless\_exception\_type
  * Add missing ')' to README.rst
  * Do not duplicate statistics fields in instance
  * Do not start trial\_start\_time as an attribute
  * Add an example on how to combine stop conditions
  * Put a link to the GitHub issue of retrying about the fork
  * feat: added wait\_full\_jitter
  * Add new event based sleep and stop
  * Add \`wraps' method directly on Retrying object
  * wait: handle OverflowError
  * doc: raise Exception in example so they actually work
  * Remove weird example with retry\_if\_io\_error
  * Bump version for new feature
  * Add Python 3.6 support
  * Add retry\_if\_not\_result class to compliment the existing retry\_if\_result class
  * Fix six minimum version
  * doc: rewrite the before explanation
  * Add \_\_call\_\_ on BaseRetrying class
  * Document before and after keywords
  * Remove useless MANIFEST
  * Remove non-working PyPI download image
  * Bump hacking to 0.13
  * Use Python 3 for pep8 tox target
  * Remove deprecated wait\_jitter

OBS-URL: https://build.opensuse.org/request/show/518052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=7
2017-08-22 06:37:48 +00:00
d6b9cfe9e1 Accepting request 456069 from devel:languages:python
New package needed for OpenStack components

OBS-URL: https://build.opensuse.org/request/show/456069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=1
2017-02-21 12:40:23 +00:00
Thomas Bechtold
f4b7d85e84 - update to 3.7.1:
* Fix pep8 errors
  * Correctly set the exception if we TryAgain for ever

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=5
2017-02-10 16:07:43 +00:00