---
title: "wrapt 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each wrapt release removed, renamed or changed: 42 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/wrapt
last_updated: 2026-12-04
---

# wrapt breaking changes

wrapt 2.0.0 (October 19, 2025) is its newest release with breaking changes, 42 of them. The first: Removed wrapt.\_\_version\_\_. Every breaking API change we have recorded in wrapt on PyPI: 42 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.5.2`, released October 29, 2026. [Source repository](https://github.com/GrahamDumpleton/wrapt)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## wrapt 2.0.0 breaking changes

wrapt 2.0.0, released October 19, 2025: 42 breaking changes.

- **Removed** `wrapt.__version__`  

wrapt.\_\_version\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.__version_info__`  

wrapt.\_\_version_info\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.__wrapt__`  

wrapt.\_\_wrapt\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.AdapterWrapper.func_code`  

AdapterWrapper.func_code was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.AdapterWrapper.func_defaults`  

AdapterWrapper.func_defaults was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.exec_`  

wrapt.decorators.exec\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.ObjectProxy`  

wrapt.decorators.ObjectProxy was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.PY2`  

wrapt.decorators.PY2 was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.decorators.string_types`  

wrapt.decorators.string_types was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.formatargspec`  

wrapt.formatargspec was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.importer.ObjectProxy`  

wrapt.importer.ObjectProxy was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.importer.PY2`  

wrapt.importer.PY2 was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.importer.string_types`  

wrapt.importer.string_types was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.patches.PY2`  

wrapt.patches.PY2 was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.patches.string_types`  

wrapt.patches.string_types was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.weakrefs.ObjectProxy`  

wrapt.weakrefs.ObjectProxy was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.BoundFunctionWrapper.__div__`  

BoundFunctionWrapper.\_\_div\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.BoundFunctionWrapper.__idiv__`  

BoundFunctionWrapper.\_\_idiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.BoundFunctionWrapper.__iter__`  

BoundFunctionWrapper.\_\_iter\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.BoundFunctionWrapper.__long__`  

BoundFunctionWrapper.\_\_long\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.BoundFunctionWrapper.__rdiv__`  

BoundFunctionWrapper.\_\_rdiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.FunctionWrapper.__div__`  

FunctionWrapper.\_\_div\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.FunctionWrapper.__idiv__`  

FunctionWrapper.\_\_idiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.FunctionWrapper.__iter__`  

FunctionWrapper.\_\_iter\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.FunctionWrapper.__long__`  

FunctionWrapper.\_\_long\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.FunctionWrapper.__rdiv__`  

FunctionWrapper.\_\_rdiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.ObjectProxy.__div__`  

ObjectProxy.\_\_div\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.ObjectProxy.__idiv__`  

ObjectProxy.\_\_idiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.ObjectProxy.__iter__`  

ObjectProxy.\_\_iter\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.ObjectProxy.__long__`  

ObjectProxy.\_\_long\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.ObjectProxy.__rdiv__`  

ObjectProxy.\_\_rdiv\_\_ was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.PY2`  

wrapt.wrappers.PY2 was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Removed** `wrapt.wrappers.string_types`  

wrapt.wrappers.string_types was removed in wrapt 2.0.0 [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.decorator`  

Was def decorator(wrapper=None, enabled=None, adapter=None, proxy=FunctionWrapper); now def decorator(wrapper=None, /, \*, enabled=None, adapter=None, proxy=FunctionWrapper). [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.decorators.formatargspec`  

Was def formatargspec(args, varargs=None, varkw=None, defaults=None, kwonlyargs=(), kwonlydefaults={}, annotations={}); now def formatargspec(args, varargs=None, varkw=None, defaults=None, kwonlyargs=None, kwonlydefaults=None... [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.ObjectProxy`  

Was from wrapt.\_\_wrapt\_\_ import ObjectProxy; now class ObjectProxy(BaseObjectProxy). [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.patch_function_wrapper`  

Was def patch_function_wrapper(module, name, enabled=None); now def patch_function_wrapper(target: ModuleType | type\[Any\] | Any | str, name: str, enabled: bool | Boolean | Callable\[\[\], bool\] | None = None) -> WrapperDecorator. [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.resolve_path`  

Was def resolve_path(module, name); now def resolve_path(target: ModuleType | type\[Any\] | Any | str, name: str) -> tuple\[ModuleType | type\[Any\] | Any, str, Callable\[..., Any\]\]. [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.transient_function_wrapper`  

Was def transient_function_wrapper(module, name); now def transient_function_wrapper(target: ModuleType | type\[Any\] | Any | str, name: str) -> TransientDecorator. [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.WeakFunctionProxy`  

Was class WeakFunctionProxy(ObjectProxy); now class WeakFunctionProxy(BaseObjectProxy). [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.wrap_function_wrapper`  

Was def wrap_function_wrapper(module, name, wrapper); now def wrap_function_wrapper(target: ModuleType | type\[Any\] | Any | str, name: str, wrapper: WrapperFunction\[P, R\]) -> FunctionWrapper\[P, R\]. [pypi.org](https://pypi.org/project/wrapt/2.0.0/)
- **Signature changed** `wrapt.wrap_object`  

Was def wrap_object(module, name, factory, args=(), kwargs={}); now def wrap_object(target: ModuleType | type\[Any\] | Any | str, name: str, factory: WrapperFactory | type\[ObjectProxy\[Any\]\], args: tuple\[Any, ...\] = (), kwargs: dict\[str, Any\]... [pypi.org](https://pypi.org/project/wrapt/2.0.0/)

## 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.
