14
0
Commit Graph

31 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b1a157d903 - update to 3.6.0:
* Retry on coroutines
 * Run flake8 only with latest python
 * Deduplicate retry decorator logic
 * Extract controller IOs in subclass
 * Allow to combine stop conditions
 * Add SayThanks
 * retry: implement bitwise operators on retry strategies
 * retry: add retry_all

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=4
2016-12-18 14:14:17 +00:00
b467e2cf94 - update to 3.4.0:
* Deprecate wait_jitter for wait_random
  * Align tox and travis settings
  * Fix README typo
  * Bump hacking to 0.12
  * Fix README.rst wrong description
  * This is using floating point seconds (not milliseconds)
  * Some small docstring updates
  * Use py3.x compat print in README.rst
  * Fix typo in retry_if_exception example

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=3
2016-12-02 17:41:00 +00:00
dfadd0367c - update to 3.3.0:
* Implement '+' operator for wait strategies
  * Rename `_retrying` attribute to `retry` and document it
  * Store retrying object as an attribute of retried function
  *  Make sure statistics are thread locals

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=2
2016-11-09 14:17:27 +00:00
88e9cc76d1 Accepting request 430546 from home:tbechtold:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/430546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=1
2016-09-27 12:21:18 +00:00