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 dependency responses to ^0.25.0 #17

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
responses (changelog) ^0.22.0 -> ^0.25.0 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

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 is behind base branch, 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 from 09d2933 to a002ec8 Compare December 2, 2024 20:43
@jsenecal jsenecal merged commit 7ce6295 into main Dec 2, 2024
4 checks passed
@jsenecal jsenecal deleted the renovate/responses-0.x branch December 2, 2024 20:45
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