tenacity breaking changes
tenacity 9.2.1 (October 7, 2026) is its newest release with breaking changes, 27 of them. The first: Removed tenacity.wait_exponential_jitter.initial. Every breaking API change we have recorded in tenacity on PyPI: 74 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.2.1, released October 7, 2026. Source repository
Its 9.1.3 release drops Python 3.9. Python end of life dates.
- From 8.0.0 to 9.2.1: 36 breaking changes in 4 versions.
- From 7.0.0 to 9.2.1: 50 breaking changes in 5 versions.
tenacity 9.2.1 breaking changes
- Removed
tenacity.wait_exponential_jitter.initial
tenacity.wait_exponential_jitter.initial was removed in tenacity 9.2.1 pypi.org - Removed
tenacity.wait.wait_exponential_jitter.initial
tenacity.wait.wait_exponential_jitter.initial was removed in tenacity 9.2.1 pypi.org - Behavior changed
Falsy wait values other than None and 0 are no longer treated as no wait. Check code that passes other falsy values as wait. github.com - Signature changed
tenacity.AttemptManager.__exit__
Was def __exit__(self, exc_type: t.Optional[t.Type[BaseException]], exc_value: t.Optional[BaseException], traceback: t.Optional[types.TracebackType]) -> t.Optional[bool]; now def __exit__(self, exc_type: type[BaseException] | None... pypi.org - Signature changed
tenacity.BaseAction.NAME
Was NAME: t.Optional[str]; now NAME: str | None. pypi.org - Signature changed
tenacity.BaseRetrying.__init__
Was def __init__(self, sleep: t.Callable[[t.Union[int, float]], None] = sleep, stop: StopBaseT = stop_never, wait: WaitBaseT = wait_none(), retry: RetryBaseT = retry_if_exception_type(), before: t.Callable[[RetryCallState], None] =... pypi.org - Signature changed
tenacity.BaseRetrying.copy
Was def copy(self, sleep: t.Union[t.Callable[[t.Union[int, float]], None], object] = _unset, stop: t.Union[StopBaseT, object] = _unset, wait: t.Union[WaitBaseT, object] = _unset, retry: t.Union[retry_base, object] = _unset, before... pypi.org - Signature changed
tenacity.BaseRetrying.statistics
Was statistics: t.Dict[str, t.Any]; now statistics: dict[str, t.Any]. pypi.org - Signature changed
tenacity.BaseRetrying.wraps
Was def wraps(self, f: WrappedFn) -> WrappedFn; now def wraps(self, f: t.Callable[P, R]) -> _RetryDecorated[P, R]. pypi.org - Signature changed
tenacity.retry_all.__init__
Was def __init__(self, *retries: retry_base) -> None; now def __init__(self, *retries: RetryBaseT) -> None. pypi.org - Signature changed
tenacity.retry_any.__init__
Was def __init__(self, *retries: retry_base) -> None; now def __init__(self, *retries: RetryBaseT) -> None. pypi.org - Signature changed
tenacity.retry_base.__and__
Was def __and__(self, other: retry_base) -> retry_all; now def __and__(self, other: RetryBaseT) -> retry_all. pypi.org - Signature changed
tenacity.retry_base.__or__
Was def __or__(self, other: retry_base) -> retry_any; now def __or__(self, other: RetryBaseT) -> retry_any. pypi.org - Signature changed
tenacity.retry_base.__rand__
Was def __rand__(self, other: retry_base) -> retry_all; now def __rand__(self, other: RetryBaseT) -> retry_all. pypi.org - Signature changed
tenacity.retry_base.__ror__
Was def __ror__(self, other: retry_base) -> retry_any; now def __ror__(self, other: RetryBaseT) -> retry_any. pypi.org - Signature changed
tenacity.retry.retry_all.__init__
Was def __init__(self, *retries: retry_base) -> None; now def __init__(self, *retries: RetryBaseT) -> None. pypi.org - Signature changed
tenacity.retry.retry_any.__init__
Was def __init__(self, *retries: retry_base) -> None; now def __init__(self, *retries: RetryBaseT) -> None. pypi.org - Signature changed
tenacity.RetryCallState.outcome
Was outcome: t.Optional[Future]; now outcome: Future | None. pypi.org - Signature changed
tenacity.RetryCallState.outcome_timestamp
Was outcome_timestamp: t.Optional[float]; now outcome_timestamp: float | None. pypi.org - Signature changed
tenacity.RetryCallState.seconds_since_start
Was seconds_since_start: t.Optional[float]; now seconds_since_start: float | None. pypi.org - Signature changed
tenacity.RetryCallState.set_exception
Was def set_exception(self, exc_info: t.Tuple[t.Type[BaseException], BaseException, types.TracebackType | None]) -> None; now def set_exception(self, exc_info: tuple[type[BaseException], BaseException, types.TracebackType | None]) -> None. pypi.org - Signature changed
tenacity.wait_combine.__init__
Was def __init__(self, *strategies: wait_base) -> None; now def __init__(self, *strategies: WaitBaseT) -> None. pypi.org - Signature changed
tenacity.wait_exponential_jitter.__init__
Was def __init__(self, initial: float = 1, max: float = _utils.MAX_WAIT, exp_base: float = 2, jitter: float = 1) -> None; now def __init__(self, initial: float = 1, max: _utils.time_unit_type = _utils.MAX_WAIT, exp_base: float = 2, jitter... pypi.org - Signature changed
tenacity.wait_exponential.__init__
Was def __init__(self, multiplier: typing.Union[int, float] = 1, max: _utils.time_unit_type = _utils.MAX_WAIT, exp_base: typing.Union[int, float] = 2, min: _utils.time_unit_type = 0) -> None; now def __init__(self, multiplier: float = 1... pypi.org - Signature changed
tenacity.wait.wait_base.__radd__
Was def __radd__(self, other: wait_base) -> typing.Union[wait_combine, wait_base]; now def __radd__(self, other: WaitBaseT | int) -> wait_combine | wait_base. pypi.org - Signature changed
tenacity.wait.wait_combine.__init__
Was def __init__(self, *strategies: wait_base) -> None; now def __init__(self, *strategies: WaitBaseT) -> None. pypi.org - Signature changed
tenacity.wait.wait_exponential_jitter.__init__
Was def __init__(self, initial: float = 1, max: float = _utils.MAX_WAIT, exp_base: float = 2, jitter: float = 1) -> None; now def __init__(self, initial: float = 1, max: _utils.time_unit_type = _utils.MAX_WAIT, exp_base: float = 2, jitter... pypi.org
tenacity 9.2.0 breaking changes
- Behavior changed
wait_chain
Passing an empty strategy list to wait_chain now raises ValueError rather than IndexError. Code catching IndexError must catch ValueError instead. github.com
tenacity 9.1.3 breaking changes
- Removed
Python 3.9 support ends in this release, so code running on Python 3.9 must upgrade Python or stay on the earlier tenacity version. github.com - Behavior changed
Retrying a sync function now supports async sleep, which changes how sleeping is handled for such functions. github.com - Signature changed
tenacity.after_log
Was def after_log(logger: logging.Logger, log_level: int, sec_format: str = '%0.3f') -> typing.Callable[[RetryCallState], None]; now def after_log(logger: _utils.LoggerProtocol, log_level: int, sec_format: str = '%.3g') ->... pypi.org - Signature changed
tenacity.before_log
Was def before_log(logger: logging.Logger, log_level: int) -> typing.Callable[[RetryCallState], None]; now def before_log(logger: _utils.LoggerProtocol, log_level: int) -> typing.Callable[[RetryCallState], None]. pypi.org - Signature changed
tenacity.before_sleep_log
Was def before_sleep_log(logger: logging.Logger, log_level: int, exc_info: bool = False) -> typing.Callable[[RetryCallState], None]; now def before_sleep_log(logger: _utils.LoggerProtocol, log_level: int, exc_info: bool = False... pypi.org - Signature changed
tenacity.Future
Was class Future(FutureGenericT); now class Future(futures.Future[t.Any]). pypi.org
tenacity 9.0.0 breaking changes
- Behavior changed
statistics
The release is a major version bump to signal API breakage in the statistics attribute. Code that reads retry statistics may need updating. github.com - Behavior changed
wait_random_exponential
The min argument of wait_random_exponential is now honored, so wait times can differ from earlier 8.x releases. Check any code that depends on the computed wait values. github.com
tenacity 8.0.0 breaking changes
- Removed
tenacity.BaseRetrying.__metaclass__
BaseRetrying.__metaclass__ was removed in tenacity 8.0.0 pypi.org - Removed
tenacity.BaseRetrying.call
BaseRetrying.call was removed in tenacity 8.0.0 pypi.org - Removed
tenacity.BaseRetrying.fn
BaseRetrying.fn was removed in tenacity 8.0.0 pypi.org - Removed
tenacity.before_sleep.get_exc_info_from_future
tenacity.before_sleep.get_exc_info_from_future was removed in tenacity 8.0.0 pypi.org - Removed
tenacity.compat
tenacity.compat was removed in tenacity 8.0.0 pypi.org - Signature changed
tenacity.BaseRetrying
Was class BaseRetrying(object); now class BaseRetrying(ABC). pypi.org - Signature changed
tenacity.BaseRetrying.__call__
Was def __call__(self, *args, **kwargs); now def __call__(self, fn: t.Callable[..., _RetValT], *args: t.Any, **kwargs: t.Any) -> _RetValT. pypi.org - Signature changed
tenacity.BaseRetrying.begin
Was def begin(self, fn); now def begin(self) -> None. pypi.org - Signature changed
tenacity.BaseRetrying.copy
Was def copy(self, sleep=_unset, stop=_unset, wait=_unset, retry=_unset, before=_unset, after=_unset, before_sleep=_unset, reraise=_unset, retry_error_cls=_unset, retry_error_callback=_unset); now def copy(self, sleep... pypi.org - Signature changed
tenacity.retry_base
Was class retry_base(object); now class retry_base(abc.ABC). pypi.org
And 4 more in this version. Sign up to see every change
tenacity 7.0.0 breaking changes
- Removed
tenacity.compat.after_func_accept_retry_state
tenacity.compat.after_func_accept_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.before_func_accept_retry_state
tenacity.compat.before_func_accept_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.before_sleep_func_accept_retry_state
tenacity.compat.before_sleep_func_accept_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.func_takes_last_result
tenacity.compat.func_takes_last_result was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.func_takes_retry_state
tenacity.compat.func_takes_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.make_retry_state
tenacity.compat.make_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.retry_dunder_call_accept_old_params
tenacity.compat.retry_dunder_call_accept_old_params was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.retry_error_callback_accept_retry_state
tenacity.compat.retry_error_callback_accept_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.retry_func_accept_retry_state
tenacity.compat.retry_func_accept_retry_state was removed in tenacity 7.0.0 pypi.org - Removed
tenacity.compat.stop_dunder_call_accept_old_params
tenacity.compat.stop_dunder_call_accept_old_params was removed in tenacity 7.0.0 pypi.org
And 14 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.