Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump wrapt from 1.12.1 to 1.13.1 #399

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 5, 2021

Bumps wrapt from 1.12.1 to 1.13.1.

Changelog

Sourced from wrapt's changelog.

Version 1.13.1

Bugs Fixed

  • Fix Python version constraint so PyPi classifier for pip requires Python 2.7 or Python 3.5+.

Version 1.13.0

Bugs Fixed

  • When a reference to a class method was taken out of a class, and then wrapped in a function wrapper, and called, the class type was not being passed as the instance argument, but as the first argument in args, with the instance being None. The class type should have been passed as the instance argument.

  • If supplying an adapter function for a signature changing decorator using input in the form of a function argument specification, name lookup exceptions would occur where the adaptor function had annotations which referenced non builtin Python types. Although the issues have been addressed where using input data in the format usually returned by inspect.getfullargspec() to pass the function argument specification, you can still have problems when supplying a function signature as string. In the latter case only Python builtin types can be referenced in annotations.

  • When a decorator was applied on top of a data/non-data descriptor in a class definition, the call to the special method __set_name__() to notify the descriptor of the variable name was not being propogated. Note that this issue has been addressed in the FunctionWrapper used by @wrapt.decorator but has not been applied to the generic ObjectProxy class. If using ObjectProxy directly to construct a custom wrapper which is applied to a descriptor, you will need to propogate the __set_name__() call yourself if required.

  • The issubclass() builtin method would give incorrect results when used with a class which had a decorator applied to it. Note that this has only been able to be fixed for Python 3.7+. Also, due to what is arguably a bug (https://bugs.python.org/issue44847) in the Python standard library, you will still have problems when the class heirarchy uses a base class which has the abc.ABCMeta metaclass. In this later case an exception will be raised of TypeError: issubclass() arg 1 must be a class.

Commits
  • 463f54d Fix Python version constraint for pip installs via PyPi.
  • c6b8062 Increment version to 1.13.1.
  • 013632b Increment version to 1.13.0.
  • 690cc2c Revert to relative path for sources.
  • 354f233 Increment to 1.13.0rc3.
  • 7cb212b Update custom function wrapper example.
  • 8e5e025 Document abc.ABCMeta meta class issues.
  • 23d66da Give better explanation in comments.
  • cd6e176 Add variant of tests using pure Python abc implementation.
  • 26fbd20 Add tests for issubclass() with abc base class.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 5, 2021
@codeclimate
Copy link

codeclimate bot commented Oct 5, 2021

Code Climate has analyzed commit 89a5105 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 99.3% (0.0% change).

View more on Code Climate.

@ChrisRBe
Copy link
Owner

ChrisRBe commented Oct 6, 2021

bors merge

bors bot added a commit that referenced this pull request Oct 6, 2021
397: build(deps): bump identify from 2.2.15 to 2.3.0 r=ChrisRBe a=dependabot[bot]

Bumps [identify](https://github.com/pre-commit/identify) from 2.2.15 to 2.3.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pre-commit/identify/commit/20662c34d80909757206ea7841efafc9dafc9a06"><code>20662c3</code></a> v2.3.0</li>
<li><a href="https://github.com/pre-commit/identify/commit/cc8d0c75817aebaae3c3fbeb67d8df22b41537af"><code>cc8d0c7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/identify/issues/235">#235</a> from errsyn/shebang-multiarg</li>
<li><a href="https://github.com/pre-commit/identify/commit/2518f763fb50c23e194e860452e322d05df0f8b8"><code>2518f76</code></a> Use if statements instead of the ternary operator</li>
<li><a href="https://github.com/pre-commit/identify/commit/f1471c14893597bb5c57ac266dba44eb3a59976b"><code>f1471c1</code></a> Handle shebangs with multiple arguments via env -S</li>
<li><a href="https://github.com/pre-commit/identify/commit/9116a2f515bf65d42ef84dfc002a3a5359e4569b"><code>9116a2f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pre-commit/identify/issues/233">#233</a> from pre-commit/pre-commit-ci-update-config</li>
<li><a href="https://github.com/pre-commit/identify/commit/b5c2395aa8ab05f8e20c08529a043b3b9a49a99f"><code>b5c2395</code></a> [pre-commit.ci] pre-commit autoupdate</li>
<li>See full diff in <a href="https://github.com/pre-commit/identify/compare/v2.2.15...v2.3.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=identify&package-manager=pip&previous-version=2.2.15&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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` 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)


</details>

398: build(deps-dev): bump coverage from 5.5 to 6.0 r=ChrisRBe a=dependabot[bot]

Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.5 to 6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/releases">coverage's releases</a>.</em></p>
<blockquote>
<h2>coverage-5.6b1</h2>
<ul>
<li>Third-party packages are now ignored in coverage reporting. This solves a few problems:
<ul>
<li>Coverage will no longer report about other people’s code (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/876">issue 876</a>). This is true even when using <code>--source=.</code> with a venv in the current directory.</li>
<li>Coverage will no longer generate “Already imported a file that will be measured” warnings about coverage itself (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/905">issue 905</a>).</li>
</ul>
</li>
<li>The HTML report uses j/k to move up and down among the highlighted chunks of code. They used to highlight the current chunk, but 5.0 broke that behavior. Now the highlighting is working again.</li>
<li>The JSON report now includes <code>percent_covered_display</code>, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst">coverage's changelog</a>.</em></p>
<blockquote>
<h2>Version 6.0 --- 2021-10-03</h2>
<ul>
<li>
<p>The <code>coverage html</code> command now prints a message indicating where the HTML
report was written.  Fixes <code>issue 1195</code>_.</p>
</li>
<li>
<p>The <code>coverage combine</code> command now prints messages indicating each data
file being combined.  Fixes <code>issue 1105</code>_.</p>
</li>
<li>
<p>The HTML report now includes a sentence about skipped files due to
<code>skip_covered</code> or <code>skip_empty</code> settings.  Fixes <code>issue 1163</code>_.</p>
</li>
<li>
<p>Unrecognized options in the configuration file are no longer errors. They are
now warnings, to ease the use of coverage across versions.  Fixes <code>issue 1035</code>_.</p>
</li>
<li>
<p>Fix handling of exceptions through context managers in Python 3.10. A missing
exception is no longer considered a missing branch from the with statement.
Fixes <code>issue 1205</code>_.</p>
</li>
<li>
<p>Fix another rarer instance of &quot;Error binding parameter 0 - probably
unsupported type.&quot; (<code>issue 1010</code>_).</p>
</li>
<li>
<p>Creating a directory for the coverage data file now is safer against
conflicts when two coverage runs happen simultaneously (<code>pull 1220</code>_).
Thanks, Clément Pit-Claudel.</p>
</li>
</ul>
<p>.. _issue 1035: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1035">nedbat/coveragepy#1035</a>
.. _issue 1105: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1105">nedbat/coveragepy#1105</a>
.. _issue 1163: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1163">nedbat/coveragepy#1163</a>
.. _issue 1195: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1195">nedbat/coveragepy#1195</a>
.. _issue 1205: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1205">nedbat/coveragepy#1205</a>
.. _pull 1220: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/pull/1220">nedbat/coveragepy#1220</a></p>
<p>.. _changes_60b1:</p>
<h2>Version 6.0b1 --- 2021-07-18</h2>
<ul>
<li>
<p>Dropped support for Python 2.7, PyPy 2, and Python 3.5.</p>
</li>
<li>
<p>Added support for the Python 3.10 <code>match/case</code> syntax.</p>
</li>
<li>
<p>Data collection is now thread-safe.  There may have been rare instances of
exceptions raised in multi-threaded programs.</p>
</li>
<li>
<p>Plugins (like the <code>Django coverage plugin</code><em>) were generating &quot;Already
imported a file that will be measured&quot; warnings about Django itself.  These
have been fixed, closing <code>issue 1150</code></em>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/nedbat/coveragepy/commit/9515c4da0749bcc8003f28a3759a418a0194db4b"><code>9515c4d</code></a> docs: 6.0 sample HTML report</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/e179cf6d4abffe56ef04b07202865363f53bb814"><code>e179cf6</code></a> build: prep for 6.0 release</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/5a995166b2215ebb14273715e189fbfb8d4b75c0"><code>5a99516</code></a> docs: update the link to shining panda</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/4d61fff19caa797947d8818d711227ad85a8aed5"><code>4d61fff</code></a> test: fix flaky multiprocessing tests</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/0ded3df77d1bea48f98c33608f2c251a2da0744b"><code>0ded3df</code></a> chore: update requirements</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/5bcfc263c54cb0229b6a39840ab961005536818e"><code>5bcfc26</code></a> test: update pylint</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/1677bbb3d8ca809d5c5e25248f08e065af85cde7"><code>1677bbb</code></a> Python 3.10.0rc2</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/626875fece634c7c68bc680a46d4434fb953d1fd"><code>626875f</code></a> docs: thanks, Clément Pit-Claudel</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/f531212a2c26700737282f0b409381adf9e30dd9"><code>f531212</code></a> fix: Avoid a race condition in misc.ensure_dir (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1220">#1220</a>)</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/c0a981148c05c0332e2fd51d426d880055959ca6"><code>c0a9811</code></a> test: another test suggested by Mark Shannon</li>
<li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/coverage-5.5...6.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverage&package-manager=pip&previous-version=5.5&new-version=6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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` 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)


</details>

399: build(deps): bump wrapt from 1.12.1 to 1.13.1 r=ChrisRBe a=dependabot[bot]

Bumps [wrapt](https://github.com/GrahamDumpleton/wrapt) from 1.12.1 to 1.13.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/GrahamDumpleton/wrapt/blob/develop/docs/changes.rst">wrapt's changelog</a>.</em></p>
<blockquote>
<h2>Version 1.13.1</h2>
<p><strong>Bugs Fixed</strong></p>
<ul>
<li>Fix Python version constraint so PyPi classifier for <code>pip</code> requires
Python 2.7 or Python 3.5+.</li>
</ul>
<h2>Version 1.13.0</h2>
<p><strong>Bugs Fixed</strong></p>
<ul>
<li>
<p>When a reference to a class method was taken out of a class, and then
wrapped in a function wrapper, and called, the class type was not being
passed as the instance argument, but as the first argument in args,
with the instance being <code>None</code>. The class type should have been passed
as the instance argument.</p>
</li>
<li>
<p>If supplying an adapter function for a signature changing decorator
using input in the form of a function argument specification, name lookup
exceptions would occur where the adaptor function had annotations which
referenced non builtin Python types. Although the issues have been
addressed where using input data in the format usually returned by
<code>inspect.getfullargspec()</code> to pass the function argument specification,
you can still have problems when supplying a function signature as
string. In the latter case only Python builtin types can be referenced
in annotations.</p>
</li>
<li>
<p>When a decorator was applied on top of a data/non-data descriptor in a
class definition, the call to the special method <code>__set_name__()</code> to
notify the descriptor of the variable name was not being propogated. Note
that this issue has been addressed in the <code>FunctionWrapper</code> used by
<code>`@wrapt.decorator</code>` but has not been applied to the generic
<code>ObjectProxy</code> class. If using <code>ObjectProxy</code> directly to construct a
custom wrapper which is applied to a descriptor, you will need to
propogate the <code>__set_name__()</code> call yourself if required.</p>
</li>
<li>
<p>The <code>issubclass()</code> builtin method would give incorrect results when used
with a class which had a decorator applied to it. Note that this has only
been able to be fixed for Python 3.7+. Also, due to what is arguably a
bug (<a href="https://bugs.python.org/issue44847">https://bugs.python.org/issue44847</a>) in the Python standard library,
you will still have problems when the class heirarchy uses a base class
which has the <code>abc.ABCMeta</code> metaclass. In this later case an exception
will be raised of <code>TypeError: issubclass() arg 1 must be a class</code>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/463f54d26cb5a486ca8cb995a07d039f297bcd0d"><code>463f54d</code></a> Fix Python version constraint for pip installs via PyPi.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/c6b8062f74c249ce81c871cc80a3e50bfe07c4cd"><code>c6b8062</code></a> Increment version to 1.13.1.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/013632b7a1763f75d8ebc60238568f9a47715ad9"><code>013632b</code></a> Increment version to 1.13.0.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/690cc2cb654a5772d73ecc83932358b4a6091921"><code>690cc2c</code></a> Revert to relative path for sources.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/354f23341d26948092bfedf145a9b8620e5b9af9"><code>354f233</code></a> Increment to 1.13.0rc3.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/7cb212b7021ec026fcbc928491819166ed18eecc"><code>7cb212b</code></a> Update custom function wrapper example.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/8e5e025b05c5f8ea3c9306e6cd24dafd3e2c5d49"><code>8e5e025</code></a> Document abc.ABCMeta meta class issues.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/23d66da1183ef2f86234e336c28036e725c73143"><code>23d66da</code></a> Give better explanation in comments.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/cd6e17621c163585dd82c21526fb7c626e389f61"><code>cd6e176</code></a> Add variant of tests using pure Python abc implementation.</li>
<li><a href="https://github.com/GrahamDumpleton/wrapt/commit/26fbd208efb41aa5927c04cf30c3a5a957f55273"><code>26fbd20</code></a> Add tests for issubclass() with abc base class.</li>
<li>Additional commits viewable in <a href="https://github.com/GrahamDumpleton/wrapt/compare/1.12.1...1.13.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wrapt&package-manager=pip&previous-version=1.12.1&new-version=1.13.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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` 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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Oct 6, 2021

This PR was included in a batch that was canceled, it will be automatically retried

@bors
Copy link
Contributor

bors bot commented Oct 6, 2021

Build succeeded:

@bors bors bot merged commit 80aa443 into master Oct 6, 2021
@bors bors bot deleted the dependabot/pip/wrapt-1.13.1 branch October 6, 2021 16:34
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant