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

Bump responses from 0.19.0 to 0.23.3 in /tools/deps #4105

Merged
merged 4 commits into from
Sep 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2023

Bumps responses from 0.19.0 to 0.23.3.

Release notes

Sourced from responses's releases.

0.23.3

  • Allow urllib3>=1.25.10

0.23.2

This release is the last to support Python 3.7

  • Updated dependency to urllib3>=2 and requests>=2.30.0. See #635
  • Fixed issue when custom adapters were sending only positional args. See #642
  • Expose unbound_on_send method in RequestsMock class. This method returns new function that is called by RequestsMock instead of original send method defined by any adapter.

0.23.1

  • Remove tomli import. See #630

0.23.0

  • Add Python 3.11 support
  • Fix type annotations of CallList. See #593
  • request object is attached to any custom exception provided as Response body argument. See #588
  • Fixed mocked responses leaking between tests when assert_all_requests_are_fired and a request was not fired.
  • [BETA] Default recorder format was changed to YAML. Added responses.RequestsMock._parse_response_file and responses._recorder.Recorder.dump_to_file methods that allow users to override default parser to eg toml, json

0.22.0

  • Update requests dependency to the version of 2.22.0 or higher. See #584.
  • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
  • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
  • Fix type for the mock's patcher object. See #556
  • Fix type annotation for CallList
  • Add passthrough argument to BaseResponse object. See #557
  • Fix registries leak. See #563
  • OriginalResponseShim is removed. See #585
  • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
  • Add lists support as JSON objects in json_params_matcher. See #559
  • Added project links to pypi listing.
  • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
  • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
  • Adjust error message when Retry is exhausted. See #580.

0.21.0

  • Add threading.Lock() to allow responses working with threading module.
  • Add urllib3 Retry mechanism. See #135
  • Removed internal _cookies_from_headers function
  • Now add, upsert, replace methods return registered response. remove method returns list of removed responses.
  • Added null value support in urlencoded_params_matcher via allow_blank keyword argument
  • Added strict version of decorator. Now you can apply @responses.activate(assert_all_requests_are_fired=True) to your function to validate that all requests were executed in the wrapped function. See #183

0.20.0

... (truncated)

Changelog

Sourced from responses's changelog.

0.23.3

  • Allow urllib3>=1.25.10

0.23.2

This release is the last to support Python 3.7

  • Updated dependency to urllib3>=2 and requests>=2.30.0. See #635
  • Fixed issue when custom adapters were sending only positional args. See #642
  • Expose unbound_on_send method in RequestsMock class. This method returns new function that is called by RequestsMock instead of original send method defined by any adapter.

0.23.1

  • Remove tomli import. See #630

0.23.0

  • Add Python 3.11 support
  • Fix type annotations of CallList. See #593
  • request object is attached to any custom exception provided as Response body argument. See #588
  • Fixed mocked responses leaking between tests when assert_all_requests_are_fired and a request was not fired.
  • [BETA] Default recorder format was changed to YAML. Added responses.RequestsMock._parse_response_file and responses._recorder.Recorder.dump_to_file methods that allow users to override default parser to eg toml, json

0.22.0

  • Update requests dependency to the version of 2.22.0 or higher. See #584.
  • [BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
  • [BETA] Added possibility to replay responses (populate registry) from TOML files via responses._add_from_file(file_path="out.toml") method.
  • Fix type for the mock's patcher object. See #556
  • Fix type annotation for CallList
  • Add passthrough argument to BaseResponse object. See #557
  • Fix registries leak. See #563
  • OriginalResponseShim is removed. See #585
  • Add support for the loose version of json_params_matcher via named argument strict_match. See #551
  • Add lists support as JSON objects in json_params_matcher. See #559
  • Added project links to pypi listing.
  • delete, get, head, options, patch, post, put shortcuts are now implemented using functools.partialmethod.
  • Fix MaxRetryError exception. Replace exception by RetryError according to requests implementation. See #572.
  • Adjust error message when Retry is exhausted. See #580.

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@poojadaine
Copy link
Contributor

@dependabot rebase

Bumps [responses](https://github.com/getsentry/responses) from 0.19.0 to 0.23.3.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.19.0...0.23.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/tools/deps/responses-0.23.3 branch from cd0a44a to 176c64d Compare September 26, 2023 07:37
@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (38566f9) 47.43% compared to head (d250f07) 47.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4105   +/-   ##
=======================================
  Coverage   47.43%   47.43%           
=======================================
  Files          94       94           
  Lines       15657    15657           
=======================================
  Hits         7427     7427           
  Misses       8230     8230           
Flag Coverage Δ
functional 38.03% <ø> (ø)
integration 2.06% <ø> (ø)
unit 35.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@swetayadav1 swetayadav1 merged commit f62b038 into master Sep 27, 2023
17 checks passed
@swetayadav1 swetayadav1 deleted the dependabot/pip/tools/deps/responses-0.23.3 branch September 27, 2023 04:22
gitofanindya pushed a commit that referenced this pull request Mar 15, 2024
* Bump responses from 0.19.0 to 0.23.3 in /tools/deps

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pooja Ramkrishna Daine <Pooja.RamkrishnaDaine@hyland.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants