⬆️ Update dependency pytest-httpx to v0.36.2 - #14
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14 +/- ##
=======================================
Coverage 59.62% 59.62%
=======================================
Files 5 5
Lines 161 161
Branches 24 24
=======================================
Hits 96 96
Misses 57 57
Partials 8 8 ☔ View full report in Codecov by Sentry. |
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
December 21, 2023 11:05
8340757 to
be76a15
Compare
|
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
January 29, 2024 21:26
be76a15 to
6d28135
Compare
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
February 21, 2024 18:41
6d28135 to
ba3c8c1
Compare
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
February 26, 2024 04:38
ba3c8c1 to
041d042
Compare
|
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
September 20, 2024 12:18
041d042 to
d61cd34
Compare
|
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
October 28, 2024 17:22
d61cd34 to
0fe06f8
Compare
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
November 18, 2024 19:49
0fe06f8 to
fa3518c
Compare
|
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
August 10, 2025 13:43
fa3518c to
8789aad
Compare
renovate
Bot
force-pushed
the
renovate/pytest-httpx-0.x-lockfile
branch
from
September 8, 2025 13:11
8789aad to
2eda67f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This PR contains the following updates:
0.26.0→0.36.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Colin-b/pytest_httpx (pytest-httpx)
v0.36.2Compare Source
Fixed
v0.36.0Compare Source
Changed
pytestrequired version is now9.Added
3.14.match_paramsparameter is now available on responses and callbacks registration, as well as request(s) retrieval. Allowing to provide query parameters as a dict instead of being part of the matched URL.Fixed
httpx_mock.add_exceptionis now properly documented (acceptsBaseExceptioninstead ofException).Removed
pytest8is not supported anymore.3.9is not supported anymore.v0.35.0Compare Source
Changed
httpx==0.28.*v0.34.0Compare Source
Added
is_optionalparameter is now available on responses and callbacks registration. Allowing to add optional responses while keeping other responses as mandatory. Refer to documentation for more details.is_reusableparameter is now available on responses and callbacks registration. Allowing to add multi-match responses while keeping other responses as single-match. Refer to documentation for more details.Fixed
httpx_mock.get_requestwill now also propose to refine filters if more than one request is found instead of only proposing to switch tohttpx_mock.get_requests.v0.33.0Compare Source
Added
3.13.should_mockoption (callable returning a boolean) is now available, defaulting to always returningTrue. Refer to documentation for more details.match_filesandmatch_dataparameters. Refer to documentation for more details.match_extensionsparameter. Refer to documentation for more details.Removed
non_mocked_hostsoption is not available anymore. Useshould_mockinstead as in the following sample:www.depending on your usage.v0.32.0Compare Source
Added
can_send_already_matched_responses(boolean), defaulting toFalse.httpx.TimeoutExceptionmessage issued in case of unmatched request is now linking documentation on how to reuse responses (in case some responses are already matched).Fixed
-to highlight the fact that this is a list, preventing misapprehension in case only one element exists.-to highlight the fact that this is a list, preventing misapprehension in case only one element exists.httpx.TimeoutExceptionmessage issued in case of unmatched request is now prefixing available responses with-to highlight the fact that this is a list, preventing misapprehension in case only one element exists.httpx.TimeoutExceptionmessage issued in case of unmatched request is now listing unmatched responses (in registration order) before already matched one (still in registration order).httpx.TimeoutExceptionmessage issued in case of unmatched request or assertion failure message in case of unmatched responses at teardown) is now displaying if the response was already matched or not and less misleading in it's phrasing about what it can match (a single request by default).Changed
pytest.mark.httpx_mock(can_send_already_matched_responses=True)option.HTTPXMockclass was only exposed for type hinting purpose. This is now explained in the class docstring.__init__signature will be documented and considered a breaking change.__init__now expects one parameter, the newly introduced (since [0.31.0]) options.HTTPXMockOptionsclass was never intended to be exposed and is now marked as private.v0.31.2Compare Source
Fixed
httpx_mockmarker can now be defined at different levels for a single test.v0.31.1Compare Source
Fixed
v0.31.0Compare Source
Changed
pytest.mark.httpx_mock(assert_all_requests_were_expected=False)option.httpx.TimeoutException.httpx_mockfixture is now configured using a marker (many thanks toFrazer McLean).assert_all_responses_were_requested(boolean), defaulting toTrue.assert_all_requests_were_expected(boolean), defaulting toTrue.non_mocked_hosts(iterable), defaulting to an empty list, meaning all hosts are mocked.httpx_mock.resetdo not expect any parameter anymore and will only reset the mock state (no assertions will be performed).Removed
pytest7is not supported anymore (pytest8has been out for 9 months already).assert_all_responses_were_requestedfixture is not available anymore, usepytest.mark.httpx_mock(assert_all_responses_were_requested=False)instead.non_mocked_hostsfixture is not available anymore, usepytest.mark.httpx_mock(non_mocked_hosts=[])instead.v0.30.0Compare Source
Changed
httpx==0.27.*Fixed
setup.pytopyproject.toml(many thanks toFelix Scherz).v0.29.0Compare Source
Added
pytest==8.* (pytest==7.* is still supported for now) (many thanks toYossi Rozantsev).v0.28.0Compare Source
Changed
httpx==0.26.*v0.27.0Compare Source
Added
3.12.Fixed
handle_async_requestorhandle_request).Changed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.