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

Update mock requirement from <3.0,>=2.0.0 to >=2.0.0,<5.0 #181

Merged
merged 2 commits into from Sep 22, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2020

Updates the requirements on mock to permit the latest version.

Changelog

Sourced from mock's changelog.

4.0.2

  • Issue #39915: Ensure :attr:unittest.mock.AsyncMock.await_args_list has call objects in the order of awaited arguments instead of using :attr:unittest.mock.Mock.call_args which has the last value of the call. Patch by Karthikeyan Singaravelan.

4.0.1

  • Remove the universal marker from the wheel.

4.0.0

  • No Changes from 4.0.0b1.

4.0.0b1

  • The release is a fresh cut of cpython's 4a686504__. All changes to :mod:mock from that commit and before are included in this release along with the subsequent changes listed below.

    __ python/cpython@4a68650

  • Issue #37972: Subscripts to the unittest.mock.call objects now receive the same chaining mechanism as any other custom attributes, so that the following usage no longer raises a TypeError:

    call().foo().getitem('bar')

    Patch by blhsing

  • Issue #38839: Fix some unused functions in tests. Patch by Adam Johnson.

  • Issue #39485: Fix a bug in :func:unittest.mock.create_autospec that would complain about the wrong number of arguments for custom descriptors defined in an extension module returning functions.

  • Issue #39082: Allow AsyncMock to correctly patch static/class methods

  • Issue #38093: Fixes AsyncMock so it doesn't crash when used with AsyncContextManagers or AsyncIterators.

  • Issue #38859: AsyncMock now returns StopAsyncIteration on the exaustion of a side_effects iterable. Since PEP-479 its Impossible to raise a StopIteration exception from a coroutine.

... (truncated)

Commits
  • b5ce0a5 Add intersphinx.
  • 87546bf Preparing for 4.0.2 release.
  • d06f48d latest sync point
  • 742b7f0 bpo-39915: Ensure await_args_list is updated according to the order in which ...
  • bab8cea Remove universal wheel tag and prepare for a 4.0.1 release
  • ea9f715 Prepare for 4.0.0 release
  • 9e5e038 sigh
  • 87ca406 this skip is no longer needed
  • 8fb893c sigh
  • 7a4a7d2 another packaging test bugfix
  • Additional commits viewable in compare view

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)

Updates the requirements on [mock](https://github.com/testing-cabal/mock) to permit the latest version.
- [Release notes](https://github.com/testing-cabal/mock/releases)
- [Changelog](https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst)
- [Commits](testing-cabal/mock@2.0.0...4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 22, 2020
@connorworley connorworley merged commit 4f0c136 into master Sep 22, 2020
@connorworley connorworley deleted the dependabot/pip/mock-gte-2.0.0-and-lt-5.0 branch September 22, 2020 19:46
@connorworley connorworley mentioned this pull request Sep 22, 2020
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.

None yet

1 participant