Skip to content

LZ4 deep scanner, Bump wrapt from 2.5.1 to 2.5.2 - #1001

Merged
babenek merged 2 commits into
mainfrom
dependabot/pip/wrapt-2.5.2
Nov 3, 2026
Merged

babenek merged 2 commits into
mainfrom
dependabot/pip/wrapt-2.5.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Add LZ4 deep scanner

Bumps wrapt from 2.5.1 to 2.5.2.

Release notes

Sourced from wrapt's releases.

wrapt 2.5.2

Full release notes: https://wrapt.readthedocs.io/en/latest/changes.html#version-2-5-2

Install from PyPi (recommended):

pip install wrapt==2.5.2

PyPi uploads follow each GitHub release; if pip reports the version is unavailable, the matching PyPi upload may not have happened yet.

Pre-built wheels are provided for a range of Python versions and platforms (Linux x86_64/aarch64/riscv64, macOS x86_64 and arm64, Windows x86_64 and arm64, plus PyPy and free-threaded builds). The source distribution is also attached together with SHA256SUMS for verification.

wrapt 2.5.2rc1

Release candidate. Release notes for the upcoming 2.5.2 final (work in progress): https://wrapt.readthedocs.io/en/latest/changes.html#version-2-5-2

May be installable from PyPi:

pip install wrapt==2.5.2rc1

If pip reports the version is unavailable, this candidate either has not been uploaded yet or is not being published to PyPi. Use the attached wheels or build from the source distribution instead:

tar xf wrapt-2.5.2rc1.tar.gz
cd wrapt-2.5.2rc1
pip install .

SHA256SUMS is attached for verification of the archives.

Changelog

Sourced from wrapt's changelog.

Version 2.5.2

Bugs Fixed

  • The special methods added to the class generated for an wrapt.AutoObjectProxy, and adjusted when __wrapped__ was reassigned, were determined by inspecting the wrapped object itself, rather than the type of the wrapped object. As special methods are only ever looked up on the type of an object, this gave the wrong result in several cases. When the wrapped object was a class, the special methods it defined for its instances were added to the proxy class, so a proxy for a class defining __set_name__() raised TypeError when assigned to an attribute in a class body, a proxy for a class defining __get__() was bound as a descriptor on attribute access, and a proxy for a class defining __await__() or __iter__() was reported as awaitable or iterable by inspect.isawaitable() and collections.abc checks, even though the class itself was not. Special methods provided by the metaclass of a wrapped class, such as __iter__(), were not added to the proxy class. When the wrapped object was an instance, instance attributes shadowing the dunder names were treated as special methods of the wrapped object, and special methods which a __dir__() method of the wrapped object did not report were missed. The special methods are now always determined from the type of the wrapped object, so a proxy behaves the same as the object it wraps. This also covers a wrapt.LazyObjectProxy whose factory returns an object, as resolving the wrapped object reassigns __wrapped__. With thanks to ybai08 for pull request [#361](https://github.com/GrahamDumpleton/wrapt/issues/361) <https://github.com/GrahamDumpleton/wrapt/pull/361>_ which identified the issue.
Commits
  • c82d75d Merge branch 'hotfix/2.5.2'
  • 522e8cc Pin the remaining CI jobs to ubuntu-24.04 so the whole pipeline uses the same...
  • bdce62f Merge branch 'hotfix/2.5.2'
  • 13218c6 Pin Linux CI test jobs to ubuntu-24.04 as ubuntu-latest moved to 26.04.
  • c452d19 Merge branch 'release/2.5.2'
  • c4b9a10 Drop the release candidate suffix for the 2.5.2 release.
  • 6b4e844 Drop end of life PyPy 3.9 from the CI test matrix.
  • 8dcd47a Determine auto proxy special methods from the type of the wrapped object.
  • f72bbde Update to 2.5.2rc1.
  • b521fe6 Merge tag '2.5.1' into develop
  • See full diff in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 2, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 2, 2026 09:20
@dependabot dependabot Bot added the python Pull requests that update python code label Nov 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/wrapt-2.5.2 branch from e08e9f1 to d51ebac Compare November 2, 2026 16:56
* lz4-deep-scanner

* tests

* docs
@babenek babenek changed the title Bump wrapt from 2.5.1 to 2.5.2 LZ4 deep scanner, Bump wrapt from 2.5.1 to 2.5.2 Nov 3, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.60%. Comparing base (0f81dfe) to head (ac356bc).

Files with missing lines Patch % Lines
credsweeper/deep_scanner/lz4_scanner.py 73.33% 8 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1001      +/-   ##
==========================================
- Coverage   90.68%   90.60%   -0.09%     
==========================================
  Files         170      171       +1     
  Lines        7336     7384      +48     
  Branches     1200     1207       +7     
==========================================
+ Hits         6653     6690      +37     
- Misses        462      469       +7     
- Partials      221      225       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@babenek babenek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@babenek
babenek merged commit f89bc6c into main Nov 3, 2026
@babenek
babenek deleted the dependabot/pip/wrapt-2.5.2 branch November 3, 2026 07:46
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.

2 participants