---
title: "tenacity 9.2.1 Breaking Changes on PyPI | Since.dev"
description: "What each tenacity release removed, renamed or changed: 74 breaking changes in 6 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/tenacity
last_updated: 2026-12-04
---

# 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

Latest version `9.2.1`, released October 7, 2026. [Source repository](https://github.com/jd/tenacity)

Its 9.1.3 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [8.0.0](#v-8-0-0) to [9.2.1](#v-9-2-1): 36 breaking changes in 4 versions.
- From [7.0.0](#v-7-0-0) to [9.2.1](#v-9-2-1): 50 breaking changes in 5 versions.

## tenacity 9.2.1 breaking changes

tenacity 9.2.1, released October 7, 2026: 27 breaking changes.

- **Removed** `tenacity.wait_exponential_jitter.initial`  

tenacity.wait_exponential_jitter.initial was removed in tenacity 9.2.1 [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Removed** `tenacity.wait.wait_exponential_jitter.initial`  

tenacity.wait.wait_exponential_jitter.initial was removed in tenacity 9.2.1 [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://github.com/jd/tenacity/releases/tag/9.2.1)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.BaseAction.NAME`  

Was NAME: t.Optional\[str\]; now NAME: str | None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.BaseRetrying.statistics`  

Was statistics: t.Dict\[str, t.Any\]; now statistics: dict\[str, t.Any\]. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.retry_all.__init__`  

Was def \_\_init\_\_(self, \*retries: retry_base) -> None; now def \_\_init\_\_(self, \*retries: RetryBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.retry_any.__init__`  

Was def \_\_init\_\_(self, \*retries: retry_base) -> None; now def \_\_init\_\_(self, \*retries: RetryBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.retry.retry_all.__init__`  

Was def \_\_init\_\_(self, \*retries: retry_base) -> None; now def \_\_init\_\_(self, \*retries: RetryBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.retry.retry_any.__init__`  

Was def \_\_init\_\_(self, \*retries: retry_base) -> None; now def \_\_init\_\_(self, \*retries: RetryBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.RetryCallState.outcome`  

Was outcome: t.Optional\[Future\]; now outcome: Future | None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.RetryCallState.outcome_timestamp`  

Was outcome_timestamp: t.Optional\[float\]; now outcome_timestamp: float | None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.RetryCallState.seconds_since_start`  

Was seconds_since_start: t.Optional\[float\]; now seconds_since_start: float | None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.wait_combine.__init__`  

Was def \_\_init\_\_(self, \*strategies: wait_base) -> None; now def \_\_init\_\_(self, \*strategies: WaitBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)
- **Signature changed** `tenacity.wait.wait_combine.__init__`  

Was def \_\_init\_\_(self, \*strategies: wait_base) -> None; now def \_\_init\_\_(self, \*strategies: WaitBaseT) -> None. [pypi.org](https://pypi.org/project/tenacity/9.2.1/)
- **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](https://pypi.org/project/tenacity/9.2.1/)

## tenacity 9.2.0 breaking changes

tenacity 9.2.0, released October 7, 2026: 1 breaking change.

- **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](https://github.com/jd/tenacity/releases/tag/9.2.0)

## tenacity 9.1.3 breaking changes

tenacity 9.1.3, released February 5, 2026: 6 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](https://github.com/jd/tenacity/releases/tag/9.1.3)
- **Behavior changed**  

Retrying a sync function now supports async sleep, which changes how sleeping is handled for such functions. [github.com](https://github.com/jd/tenacity/releases/tag/9.1.3)
- **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](https://pypi.org/project/tenacity/9.1.3/)
- **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](https://pypi.org/project/tenacity/9.1.3/)
- **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](https://pypi.org/project/tenacity/9.1.3/)
- **Signature changed** `tenacity.Future`  

Was class Future(FutureGenericT); now class Future(futures.Future\[t.Any\]). [pypi.org](https://pypi.org/project/tenacity/9.1.3/)

## tenacity 9.0.0 breaking changes

tenacity 9.0.0, released July 29, 2024: 2 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](https://github.com/jd/tenacity/releases/tag/9.0.0)
- **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](https://github.com/jd/tenacity/releases/tag/9.0.0)

## tenacity 8.0.0 breaking changes

tenacity 8.0.0, released July 8, 2021: 14 breaking changes.

- **Removed** `tenacity.BaseRetrying.__metaclass__`  

BaseRetrying.\_\_metaclass\_\_ was removed in tenacity 8.0.0 [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **Removed** `tenacity.BaseRetrying.call`  

BaseRetrying.call was removed in tenacity 8.0.0 [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **Removed** `tenacity.BaseRetrying.fn`  

BaseRetrying.fn was removed in tenacity 8.0.0 [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **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](https://pypi.org/project/tenacity/8.0.0/)
- **Removed** `tenacity.compat`  

tenacity.compat was removed in tenacity 8.0.0 [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **Signature changed** `tenacity.BaseRetrying`  

Was class BaseRetrying(object); now class BaseRetrying(ABC). [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **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](https://pypi.org/project/tenacity/8.0.0/)
- **Signature changed** `tenacity.BaseRetrying.begin`  

Was def begin(self, fn); now def begin(self) -> None. [pypi.org](https://pypi.org/project/tenacity/8.0.0/)
- **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](https://pypi.org/project/tenacity/8.0.0/)
- **Signature changed** `tenacity.retry_base`  

Was class retry_base(object); now class retry_base(abc.ABC). [pypi.org](https://pypi.org/project/tenacity/8.0.0/)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tenacity 7.0.0 breaking changes

tenacity 7.0.0, released March 3, 2021: 24 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](https://pypi.org/project/tenacity/7.0.0/)
- **Removed** `tenacity.compat.before_func_accept_retry_state`  

tenacity.compat.before_func_accept_retry_state was removed in tenacity 7.0.0 [pypi.org](https://pypi.org/project/tenacity/7.0.0/)
- **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](https://pypi.org/project/tenacity/7.0.0/)
- **Removed** `tenacity.compat.func_takes_last_result`  

tenacity.compat.func_takes_last_result was removed in tenacity 7.0.0 [pypi.org](https://pypi.org/project/tenacity/7.0.0/)
- **Removed** `tenacity.compat.func_takes_retry_state`  

tenacity.compat.func_takes_retry_state was removed in tenacity 7.0.0 [pypi.org](https://pypi.org/project/tenacity/7.0.0/)
- **Removed** `tenacity.compat.make_retry_state`  

tenacity.compat.make_retry_state was removed in tenacity 7.0.0 [pypi.org](https://pypi.org/project/tenacity/7.0.0/)
- **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](https://pypi.org/project/tenacity/7.0.0/)
- **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](https://pypi.org/project/tenacity/7.0.0/)
- **Removed** `tenacity.compat.retry_func_accept_retry_state`  

tenacity.compat.retry_func_accept_retry_state was removed in tenacity 7.0.0 [pypi.org](https://pypi.org/project/tenacity/7.0.0/)
- **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](https://pypi.org/project/tenacity/7.0.0/)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
