pygrocy
pygrocy copied to clipboard
Update responses requirement from ~=0.21.0 to ~=0.23.3
Updates the requirements on responses to permit the latest version.
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_sendmethod inRequestsMockclass. This method returns new function that is called byRequestsMockinstead of originalsendmethod defined by any adapter.0.23.1
- Remove
tomliimport. See #6300.23.0
- Add Python 3.11 support
- Fix type annotations of
CallList. See #593requestobject is attached to any custom exception provided asResponsebodyargument. See #588- Fixed mocked responses leaking between tests when
assert_all_requests_are_firedand a request was not fired.- [BETA] Default recorder format was changed to YAML. Added
responses.RequestsMock._parse_response_fileandresponses._recorder.Recorder.dump_to_filemethods that allow users to override default parser to eg toml, json0.22.0
- Update
requestsdependency 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
passthroughargument toBaseResponseobject. See #557- Fix
registriesleak. See #563OriginalResponseShimis removed. See #585- Add support for the
looseversion ofjson_params_matchervia named argumentstrict_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,putshortcuts are now implemented usingfunctools.partialmethod.- Fix
MaxRetryErrorexception. Replace exception byRetryErroraccording torequestsimplementation. See #572.- Adjust error message when
Retryis exhausted. See #580.
... (truncated)
Commits
bb84990release: 0.23.3c226971chore: allow urllib3>=1.25.10 (#659)78854abFix pytest warnings (#653)c0b0dacMerge branch 'release/0.23.2'c23ac70release: 0.23.2d85f343move unbound_send outside of the function (#648)b437935python 3.7 notice (#649)4fa21e6bumpblackin precommit and run on the lib (#647)a23f22dmove all passthru functions into one class (#646)c25a1c8Fix issue with custom adapters (#643)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)