Skip to content

⬆️(deps): Update responses requirement from >=0.23.0 to >=0.26.3 - #659

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/responses-gte-0.26.3
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/responses-gte-0.26.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on responses to permit the latest version.

Release notes

Sourced from responses's releases.

0.26.3

  • Added a keep_headers argument to _recorder.record and Recorder.dump_to_file to preserve named headers (for example Date) that are otherwise stripped as verbose defaults, so a signed response can be recorded and later verified. Matching is case-insensitive. See #763
  • Fixed the element type exposed by CallList so static type checkers infer Call values when iterating, indexing, or filtering recorded calls. See #722
  • Fixed query_string_matcher (and the query matching auto-applied to a registered URL's own query string) discarding blank-valued query params (b=), which caused requests with an extra or missing blank param to match incorrectly. See #804
  • Fixed fragment_identifier_matcher treating opaque fragments (those without =, e.g. /users/5) as always equal, so a required fragment matched a different one or none at all. See #806
Changelog

Sourced from responses's changelog.

0.26.3

  • Added a keep_headers argument to _recorder.record and Recorder.dump_to_file to preserve named headers (for example Date) that are otherwise stripped as verbose defaults, so a signed response can be recorded and later verified. Matching is case-insensitive. See #763
  • Fixed the element type exposed by CallList so static type checkers infer Call values when iterating, indexing, or filtering recorded calls. See #722
  • Fixed query_string_matcher (and the query matching auto-applied to a registered URL's own query string) discarding blank-valued query params (b=), which caused requests with an extra or missing blank param to match incorrectly. See #804
  • Fixed fragment_identifier_matcher treating opaque fragments (those without =, e.g. /users/5) as always equal, so a required fragment matched a different one or none at all. See #806
  • Fixed non-strict json_params_matcher raising TypeError when an actual nested object is compared with an expected scalar value.

0.26.2

  • Default headers (such as Content-Type, Date and Server) are now stripped from recorded files regardless of header name case. Previously, responses recorded from servers that send lowercase header names (for example over HTTP/2) kept these redundant headers in the generated file.
  • Fixed query_param_matcher mutating the caller's params dict when numeric values are provided. See #801

0.26.1

  • Added Spanish translation of the README (README.es.rst)
  • When both content_type and headers['content-type'] are in a response mock file, content_type is now used.
  • Added strict_match to urlencoded_params_matcher, enabling partial request parameter matching.

0.26.0

  • When using assert_all_requests_are_fired=True, assertions about unfired requests are now raised even when an exception occurs in the context manager or decorated function. Previously, these assertions were suppressed when exceptions occurred. This new behavior provides valuable debugging context about which mocked requests were or weren't called.
  • Consider the Retry-After header when handling retries

0.25.8

... (truncated)

Commits
  • cb13954 release: 0.26.3
  • f30df24 Merge pull request #809 from golikovichev/fix/763-recorder-keep-headers
  • 5c074b9 Add keep_headers to the recorder to preserve named default headers
  • 2827d43 fix: type CallList as a sequence of calls (#807)
  • 2af69cb fix: compare opaque fragment identifiers verbatim (#806)
  • da2c5d1 fix: keep blank-valued query params significant in query_string_matcher (#804)
  • 983a497 Merge branch 'release/0.26.2'
  • 31d28eb release: 0.26.2
  • 6fb610d Fix CHANGES (#802)
  • aae1d47 Set license format to SPDX identifier in setup.py (#803)
  • Additional commits viewable in compare view

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

0.x minor bump (responses >=0.23.0 -> >=0.26.3). Not merging. CI is also failing (Unit Tests, CI Summary, Datadog jobs).

Upstream changes 0.23 -> 0.26: Python 3.7 dropped (0.24.0); header_matcher now fails when a matched header is missing (0.25.0); file-like data is read as bytes (0.25.4); with assert_all_requests_are_fired=True, unfired-request assertions now raise even when the block raises (0.26.0); content_type wins over a content-type header (0.26.1); query_param_matcher no longer mutates the params dict (0.26.2); matcher fixes for blank query params and non-strict json_params_matcher (0.26.3). No API removals are listed.

Call sites: the requirement responses>=0.23.0 in requirements-test.txt is the only reference; no file under src/ or tests/ imports responses, so no concrete code changes are needed.


Generated by Claude Code

@ramseymcgrath

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Updates the requirements on [responses](https://github.com/getsentry/responses) to permit the latest version.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.23.0...0.26.3)

---
updated-dependencies:
- dependency-name: responses
  dependency-version: 0.26.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title ⬆️(deps): update responses requirement from >=0.23.0 to >=0.26.3 ⬆️(deps): Update responses requirement from >=0.23.0 to >=0.26.3 Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/responses-gte-0.26.3 branch from b7959ed to 637a3f5 Compare November 23, 2026 20:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build dependencies Pull requests that update a dependency file python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant