Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Update dependency responses to ~=0.23.3 #67

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
responses (changelog) ~=0.21.0 -> ~=0.23.3 age adoption passing confidence

Release Notes

getsentry/responses (responses)

v0.23.3

Compare Source

  • Allow urllib3>=1.25.10

v0.23.2

Compare Source

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.

v0.23.1

Compare Source

v0.23.0

Compare Source

  • 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

v0.22.0

Compare Source

  • 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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/responses-0.x branch from 5a826b7 to c45738f Compare September 15, 2023 14:11
@M8is M8is merged commit 9af14ac into master Oct 4, 2023
4 checks passed
@renovate renovate bot deleted the renovate/responses-0.x branch October 4, 2023 10:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant