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.
request object is attached to any custom exception provided as Responsebody 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
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.
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 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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-requirements group with 4 updates in the / directory: upolygon, responses, ruff and validate-pyproject.
Updates
upolygon
from 0.1.10 to 0.1.11Release notes
Sourced from upolygon's releases.
Commits
2967d67
Now that it works, remove the publish preventce87a18
Updates to pipelined9272dd
Added some TODO comments for future use2ce7a93
Specify directory8379b09
Change to remove mv comand70f2493
Last attempt at a change to this18b090d
Restructure directory for deploymenta73e975
Go back to a single job for deploy5164681
Trying something else to see if it works18414c1
Need a different action to download assets from a different workflow.Updates
responses
from 0.22.0 to 0.25.0Release notes
Sourced from responses's releases.
Changelog
Sourced from responses's changelog.
... (truncated)
Commits
82d1e53
release: 0.25.0dae83c4
Update CHANGES for #7021f36f22
fix missing header detection for the non-strict case (#702)89d7f37
[README] Make "Validate Retry" code snippet complete (#701)6950c9e
fix: Relax types in matchers to use duck types (#699)7706191
added support for Python 3.12 (#697)4fa24b7
Merge branch 'release/0.24.1'fe0d807
release: 0.24.12d6d039
Fix socket issues (#693)939562f
Added typing in tests (#694)Updates
ruff
from 0.3.7 to 0.4.2Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
77c93fd
Bump version to 0.4.2 (#11151)1c9f5e3
Display the AST even with syntax errors (#11147)263a0d2
Usemacos-12
to build release wheels (#11146)4738e19
Remove unused lexical error types (#11145)f428bd5
Docs: mentionlint.typing-modules
inTCH001
,TCH002
,TCH003
(#11144)4690890
ruff server
: In 'publish diagnostics' mode, document diagnostics are cleare...19baabb
README: add Apache Superset to project list (#11136)cee38f3
[flake8-blind-expect
] Allow raise from inBLE001
(#11131)e3fde28
[flake8-pyi
] Allow overloaded__exit__
and__aexit__
definitions (`PYI0...1c8849f
Use Matchit to Resolve Per-File Settings (#11111)Updates
validate-pyproject
from 0.15 to 0.16Release notes
Sourced from validate-pyproject's releases.
Changelog
Sourced from validate-pyproject's changelog.
Commits
34b52d9
chore: update changelog1634322
[pre-commit.ci] pre-commit autoupdate (#142)c115182
ci: fix FreeBSD (#143)8da348c
chore: use ruff format instead of black (#141)74adf93
chore: use ruff format instead of blacke44343d
[pre-commit.ci] pre-commit autoupdate (#140)d9ffc1b
chore: more typing (#131)54b36c6
chore: move pretty/showerr to tox8596a65
chore(types): check for return Anyba4d368
chore(types): enable more type checksDependabot 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 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