Skip to content

Update dependency responses to v0.25.3 #7

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 27, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

getsentry/responses (responses)

v0.25.3

Compare Source

  • Fixed recorder not saving and loading response headers with yaml files. See #​715

v0.25.2

Compare Source

  • Mulligan on 0.25.1 to run release pipeline correctly.
  • Added matchers.body_matcher for matching string request bodies. See #​717

v0.25.0

Compare Source

  • Added support for Python 3.12
  • Fixed matchers.header_matcher not failing when a matched header is missing from the request. See #​702

v0.24.1

Compare Source

  • Reverted overloads removal
  • Added typing to Call attributes.
  • Fix socket issues (see #​693)

v0.24.0

Compare Source

  • Added BaseResponse.calls to access calls data of a separate mocked request. See #​664
  • Added real_adapter_send parameter to RequestsMock that will allow users to set
    through which function they would like to send real requests
  • Added support for re.Pattern based header matching.
  • Added support for gzipped response bodies to json_params_matcher.
  • Fix Content-Type headers issue when the header was duplicated. See #​644
  • Moved types-pyyaml dependency to tests_requires
  • Removed Python3.7 support

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/responses-0.x branch 3 times, most recently from 725073d to 5ea30d1 Compare August 27, 2024 20:32
@renovate renovate bot force-pushed the renovate/responses-0.x branch from 5ea30d1 to 4bc3776 Compare August 27, 2024 20:42
@avivl avivl closed this Aug 27, 2024
@avivl avivl deleted the renovate/responses-0.x branch August 27, 2024 23:02
Copy link
Contributor Author

renovate bot commented Aug 27, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==0.25.3). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant