Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2025

Bumps wrapt from 1.16.0 to 2.0.0.

Release notes

Sourced from wrapt's releases.

wrapt-2.0.0

See the project page on the Python Package Index at https://pypi.org/project/wrapt/2.0.0/ for more information.

wrapt-1.17.3

See the project page on the Python Package Index at https://pypi.org/project/wrapt/1.17.3/ for more information.

wrapt-1.17.2

See the project page on the Python Package Index at https://pypi.org/project/wrapt/1.17.2/ for more information.

wrapt-1.17.1

See the project page on the Python Package Index at https://pypi.org/project/wrapt/1.17.1/ for more information.

wrapt-1.17.0

See the project page on the Python Package Index at https://pypi.org/project/wrapt/1.17.0/ for more information.

Changelog

Sourced from wrapt's changelog.

Version 2.0.0

There have been subtle changes in various corner cases of the behaviour of the ObjectProxy class, which although not expected to cause problems, still has the potential for causing issues if code was for some reason dependent on prior behaviour. All existing code related to Python 2.X has also been removed. Finally it has also been a while since the last significant release. For all these reasons a major version bump is being made.

New Features

  • Added __all__ attribute to wrapt module to expose the public API.

  • The wrapt.PartialCallableObjectProxy class can now be accessed via the alias wrapt.partial, which is a convenience for users who are used to using functools.partial and want to use the wrapt version of it.

  • Type hints have been added to the wrapt module. The type hints are available when using Python 3.10 or later, and can be used with static type checkers such as pylance or mypy. Note that due to limitations in Python's type hinting system, type checking is not always able to be applied or details such as default values may not be available. See the documentation for more details on limitations and workarounds.

  • Added wrapt.BaseObjectProxy class which is the base class for all object proxy classes. This class is either the pure Python or C extension variant of the object proxy depending on whether the C extension is available. This used to be the ObjectProxy class, but has been renamed to BaseObjectProxy to better reflect its role as the foundational class for all object proxies. This variant does though no longer provide a proxy implementation for the __iter__() special method as it was originally a mistake to include it in the ObjectProxy class as its presence could cause issues when the wrapped object is not iterable. A wrapt.ObjectProxy class is still provided but this is now a pure Python subclass of BaseObjectProxy which adds a proxy implementation for the __iter__() special method. This is done for backwards compatibility reasons as ObjectProxy with the __iter__() special method has been part of the public API for a long time.

  • Added wrapt.AutoObjectProxy class which is a pure Python subclass of BaseObjectProxy which overrides the __new__() method to dynamically generate a custom subclass which includes methods for callable, descriptor and iterator protocols, as well as other select special methods. This is done using a dynamically generated subclass as the special methods for these protocols must be defined on the class itself and not on the instance. Because AutoObjectProxy dynamically generates a custom subclass for each instance, it has a notable memory overhead for every instance created, and thus should only be used where you know you will not be needing many instances of it. If you know what additional special methods you need, it is preferable to use BaseObjectProxy directly and add them to a subclass as needed. If you only

... (truncated)

Commits
  • d07059f Merge branch 'release/2.0.0'
  • bf2609e Update Python version in GitHub runner.
  • 0363b82 Update version to 2.0.0 for release.
  • 93ec4aa Update to 2.0.0rc6.
  • 8243dfe Support matrix being immutable.
  • 074d278 Add test for class get item.
  • 407d444 Add test for async context manager.
  • 6035572 Add tests for lazy object proxy.
  • 8005fd9 Must use separate initialized flag for C extension to work.
  • 4584e95 Add tests for auto object proxy.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [wrapt](https://github.com/GrahamDumpleton/wrapt) from 1.16.0 to 2.0.0.
- [Release notes](https://github.com/GrahamDumpleton/wrapt/releases)
- [Changelog](https://github.com/GrahamDumpleton/wrapt/blob/develop/docs/changes.rst)
- [Commits](GrahamDumpleton/wrapt@1.16.0...2.0.0)

---
updated-dependencies:
- dependency-name: wrapt
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 26, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 26, 2025 10:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 26, 2025
@dependabot dependabot bot requested review from kumekay and removed request for a team October 26, 2025 10:03
@dependabot dependabot bot added the python Pull requests that update Python code label Oct 26, 2025
@github-actions
Copy link

github-actions bot commented Oct 26, 2025

Warnings
⚠️

The source branch "dependabot/pip/wrapt-2.0.0" incorrect format:

  • contains more than one slash (/). This can cause troubles with git sync.
    Please rename your branch.

👋 Hello dependabot[bot], we appreciate your contribution to this project!


📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more.

Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫 dangerJS against 4ac99f5

@github-actions github-actions bot changed the title ci(dependabot-pip): bump wrapt from 1.16.0 to 2.0.0 ci(dependabot-pip): bump wrapt from 1.16.0 to 2.0.0 (RDT-1523) Oct 26, 2025
@github-actions
Copy link

This PR is stale because it has been open 30 days with no activity. Remove Status: Stale label or comment or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant