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.0,>=1.0.1 to >=1.0.1,<5.0.0 in /sdks/python #2

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 22, 2022

Updates the requirements on mock to permit the latest version.

Changelog

Sourced from mock's changelog.

4.0.3

  • Issue #42532: Remove unexpected call of __bool__ when passing a spec_arg argument to a Mock.

  • Issue #39966: Revert bpo-25597. :class:unittest.mock.MagicMock with wraps' set uses default return values for magic methods.

  • Issue #41877: 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.

  • Issue #40126: Fixed reverting multiple patches in unittest.mock. Patcher's __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception.

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

... (truncated)

Commits

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@1.0.1...4.0.3)

---
updated-dependencies:
- dependency-name: mock
  dependency-type: direct:development
...

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 Jun 22, 2022
@github-actions
Copy link

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 22, 2022
@github-actions
Copy link

This pull request has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Aug 29, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 29, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/sdks/python/mock-gte-1.0.1-and-lt-5.0.0 branch August 29, 2022 12:48
alxmrs pushed a commit that referenced this pull request Oct 9, 2022
* [Tour of Beam][Frontend][apache#22600] TourScreen layout

* theme setup

* Replaced ThemeProvider with ThemeSwitchNotifier

* header with theme mode switcher and logo

* page container with header & footer

* theme mode tests

* renamed the directory to tour-of-beam

* compressed beam_logo.png

* added missing license comments

* rudimentary layout of the first screen

* review comments fixes #1

* moved notifyListeners inside then

* responsive todo

* split into 2 simple functions

* deleted redundant constants &
replaced 2018 text theme with 2021

* styling refinement

* home screen layout

* clickable sign in text

* font weights fix

* removed _getBaseFontTheme function

* fixed border and bg color

* color fixes

* difficulty component

* _LastModuleBody

* todo in test

* footer border

* fixed overflows

* replaced Project prefix with Tob

* replaced then with await

* inferred type

* started translation of the home screen

* sorted translations

* Complexity comments

* comment fixes

* home screen translations

* sign in overlay

* import fix

* integration test does not fail

* playground_components package with
dismissible_overlay

* missing license

* removed _dots from build

* widgets refinement

* renamed home screen to welcome screen

* deleted copyWith

* _SdkButton

* trailing comma & pubspec formatting

* license and lints

* license

* removed license from .metadata

* pubspec formatting

* total lints update

* changed from tour_of_beam to
tour-of-beam in build.gradle.kts

* license check

* _SdkButton mimics Radio button

* renamed MyApp to TourOfBeamApp

* onChanged mimics Radio button

Tour of Beam frontend blank project

[Tour of Beam][Frontend][apache#22600] TourScreen layout

TourScreen layout (apache#22600)

common theme, constants, split view

missing license

flutter_gen, summary layout details

content layout details

no functional widgets in split view

main screen todos & translation

main screen todos & translation

comment fixes #1

ExpansionTileWrapper

SplitViewController

lists in tour screen widgets

comment fixes #1 (31.08)

split view package in PGC

fixed button overflow

splitter theme color

comment fixes #2 (31.08)

gradlew check

welcome screen overflow test (apache#22600)

SDK dropdown (apache#22600)

flexible complete unit OutlinedButton (apache#22600)

renamed PageContainer to TobScaffold

dropdown style refinement

DropdownButton implicit type

sdk instead of e

licenses apache#22600

renamed _ShrinkedTour to _NarrowTour apache#22600

tour screen style refinement apache#22600

BeamDivider in PGC apache#22600

removed todo, added license apache#22600

built with text apache#22600

_WideWelcome with IntrinsicHeight (apache#22600)

Co-Authored-By: darkhan.nausharipov <darkhan.nausharipov@kzn.akvelon.com>

* addressing review comments apache#22600

replaced magic numbers apache#22600

comments (apache#22600)

comments apache#22600

comments apache#22600

comments apache#22600

comments apache#22600

comments, flutter 3.3.0 upgrade apache#22600

renamed ActionPadding to ActionVerticalPadding apache#22600

actions formatting apache#22600

* branded sign in buttons apache#22600

* _BrandedSignInButtons apache#22600

* _Divider color apache#22600

* profile apache#22600

* moved split_view from PGC into ToB apache#22600

* indentation fix apache#22600

* split ProfileContent into widgets apache#22600

* Extract playground components to a separate package (apache#22600)

* Minor fixes (apache#22600)

* Address review issues (apache#22600)

* Upgrade Flutter to v3.3.2 (apache#22600)

* Add precommit Gradle task for playground_components, add code generation to frontend Gradle task, remove generated mocks, fix linter issues (apache#22600)

* startTour button (apache#22600)

* lint fixes (apache#22600)

* Fix highlighting for Python and SCIO (apache#22600)

Co-authored-by: darkhan.nausharipov <darkhan.nausharipov@kzn.akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 28, 2022
* learning content for introduction module

* removing white spaces from md files

* delete whitespaces

* delete whitespaces in python

* delete whitespace #2

* divide pipeline concepts

* add pipeline example concepts

* adding category tag to python examples

* adding category to java examples

* adding category to go examples

* fixed go example

* fixed go example compilation

* fixing python duplicate example names

* add runner concepts

* fixing java examples

* add licence for runner unit

* some minor fixes for unit names

* fixed unit name

* resolving CR comments

* adding complexity to examples

* adding tags

* fixed go example compilation

* fixed python example with duplicate transform

* change indent python

* fixing missing pipeline options

* change arrow symbol

* delete example prefix

* minor formatting and readability fixes

* add example description

* minor fix

* minor code review comment

Co-authored-by: Abzal Tuganbay <abzal.tugan@gmail.com>
cisaacstern pushed a commit that referenced this pull request Oct 6, 2023
* remove fastjson library

* declare jackson databind artifact

* resolve style issue

* resolve style issue#2

* resolve unusedDeclaredArtifacts issue

* resolve unusedDeclaredArtifacts issue#2

* spotless apply

* 1. add ALLOW_UNQUOTED_FIELD_NAMES to object mapper
2. rollback changes of tests

* rollback changes of tests

* rollback changes of tests #2

* rollback package-lock.json

* add breaking change comment related to this PR

* rollback JAVA_DEPENDENCY_OWNERS.yaml since it's removed in master branch

* add ALLOW_TRAILING_COMMA to tolerant trailing comma

* Update sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/TableUtils.java

more configs to default behaviour

Co-authored-by: Yi Hu <huuyyi@gmail.com>

* fix syntax error

* make object mapper to be final

---------

Co-authored-by: Yi Hu <huuyyi@gmail.com>
cisaacstern pushed a commit that referenced this pull request Oct 6, 2023
…ub Actions (apache#28390)

* # This is a combination of 2 commits.
# This is the 1st commit message:

added beam_PostCommit_Java_ValidatesRunner jobs to GitHub Actions

# This is the commit message #2:

Don't improperly filter newly-added elements that overlap with a delete.

* merge master into beam_PostCommit_Java_ValidatesRunner branch

* updated README file
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 stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants