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.21.0 to 0.25.0 #217

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 22, 2024

Bumps responses from 0.21.0 to 0.25.0.

Release notes

Sourced from responses's releases.

0.25.0

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

0.24.1

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

0.24.0

  • 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

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

... (truncated)

Changelog

Sourced from responses's changelog.

0.25.0

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

0.24.1

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

0.24.0

  • 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

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

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 22, 2024
Bumps [responses](https://github.com/getsentry/responses) from 0.21.0 to 0.25.0.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.21.0...0.25.0)

---
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/responses-0.25.0 branch from 5febbdb to 259c357 Compare February 22, 2024 23:00
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 7, 2024

A newer version of responses exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant