dependabot[bot] opened a new pull request, #17623: URL: https://github.com/apache/beam/pull/17623
Updates the requirements on [mock](https://github.com/testing-cabal/mock) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst">mock's changelog</a>.</em></p> <blockquote> <h2>4.0.3</h2> <ul> <li> <p>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/42532">#42532</a>: Remove unexpected call of <code>__bool__</code> when passing a <code>spec_arg</code> argument to a Mock.</p> </li> <li> <p>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/39966">#39966</a>: Revert bpo-25597. :class:<code>unittest.mock.MagicMock</code> with wraps' set uses default return values for magic methods.</p> </li> <li> <p>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/41877">#41877</a>: Mock objects which are not unsafe will now raise an AttributeError if an attribute with the prefix asert, aseert, or assrt is accessed, in addition to this already happening for the prefixes assert or assret.</p> </li> <li> <p>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/40126">#40126</a>: Fixed reverting multiple patches in unittest.mock. Patcher's <code>__exit__()</code> is now never called if its <code>__enter__()</code> is failed. Returning true from <code>__exit__()</code> silences now the exception.</p> </li> </ul> <h2>4.0.2</h2> <ul> <li>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/39915">#39915</a>: Ensure :attr:<code>unittest.mock.AsyncMock.await_args_list</code> has call objects in the order of awaited arguments instead of using :attr:<code>unittest.mock.Mock.call_args</code> which has the last value of the call. Patch by Karthikeyan Singaravelan.</li> </ul> <h2>4.0.1</h2> <ul> <li>Remove the universal marker from the wheel.</li> </ul> <h2>4.0.0</h2> <ul> <li>No Changes from 4.0.0b1.</li> </ul> <h2>4.0.0b1</h2> <ul> <li> <p>The release is a fresh cut of cpython's <code>4a686504</code>__. All changes to :mod:<code>mock</code> from that commit and before are included in this release along with the subsequent changes listed below.</p> <p>__ <a href="https://github.com/python/cpython/commit/4a686504eb2bbf69adf78077458508a7ba131667">https://github.com/python/cpython/commit/4a686504eb2bbf69adf78077458508a7ba131667</a></p> </li> <li> <p>Issue <a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/37972">#37972</a>: Subscripts to the <code>unittest.mock.call</code> objects now receive the same chaining mechanism as any other custom attributes, so that the following usage no longer raises a <code>TypeError</code>:</p> <p>call().foo().<strong>getitem</strong>('bar')</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testing-cabal/mock/commit/93cf533a95abc697ad36c8d1ddef82058b884425"><code>93cf533</code></a> Preparing for 4.0.3 release.</li> <li><a href="https://github.com/testing-cabal/mock/commit/841c3313956c23b8c4ebeb367fb7ca3558e8991e"><code>841c331</code></a> latest sync point</li> <li><a href="https://github.com/testing-cabal/mock/commit/f7e3ea85b4f99604e8e05f4659825f69f3f29bc6"><code>f7e3ea8</code></a> bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it...</li> <li><a href="https://github.com/testing-cabal/mock/commit/e5d7551a3f1247f7020fd2d78893893aea3aaac1"><code>e5d7551</code></a> bpo-41877 Check for asert, aseert, assrt in mocks (<a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/23165">GH-23165</a>)</li> <li><a href="https://github.com/testing-cabal/mock/commit/c627515e5b6405b4c712f997b2f1e80c2778d79d"><code>c627515</code></a> bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic me...</li> <li><a href="https://github.com/testing-cabal/mock/commit/902eea1b1d5c8652d9ac34dcce7a2cc08f3be76d"><code>902eea1</code></a> bpo-40126: Fix reverting multiple patches in unittest.mock. (<a href="https://github-redirect.dependabot.com/testing-cabal/mock/issues/19351">GH-19351</a>)</li> <li><a href="https://github.com/testing-cabal/mock/commit/a7002f30f9098b8767cc42247e1aefa19b9f35d7"><code>a7002f3</code></a> Update issue templates</li> <li><a href="https://github.com/testing-cabal/mock/commit/27d6349c033d188abfc2712ded6782d11f7d6104"><code>27d6349</code></a> <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/6924">pytest-dev/pytest#6924</a></li> <li><a href="https://github.com/testing-cabal/mock/commit/b5ce0a5c4d372b77deff46fec8edf974d7d1f875"><code>b5ce0a5</code></a> Add intersphinx.</li> <li><a href="https://github.com/testing-cabal/mock/commit/87546bf7b90531e70419e6343c0938dcab3fb36b"><code>87546bf</code></a> Preparing for 4.0.2 release.</li> <li>Additional commits viewable in <a href="https://github.com/testing-cabal/mock/compare/1.0.1...4.0.3">compare view</a></li> </ul> </details> <br /> 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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
