Skip to content

Bump requests from 2.34.0 to 2.34.2#747

Merged
waltsims merged 1 commit into
masterfrom
dependabot/pip/requests-2.34.2
May 21, 2026
Merged

Bump requests from 2.34.0 to 2.34.2#747
waltsims merged 1 commit into
masterfrom
dependabot/pip/requests-2.34.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps requests from 2.34.0 to 2.34.2.

Release notes

Sourced from requests's releases.

v2.34.2

2.34.2 (2026-05-14)

  • Moved headers input type back to Mapping to avoid invariance issues with MutableMapping and inferred dict types. Users calling Request.headers.update() may need to narrow typing in their code. (#7441)

Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2342-2026-05-14

v2.34.1

2.34.1 (2026-05-13)

Bugfixes

  • Widened json input type from dict and list to Mapping and Sequence. (#7436)
  • Changed headers input type to MutableMapping and removed None from Request.headers typing to improve handling for users. (#7431)
  • Response.reason moved from str | None to str to improve handling for users. (#7437)
  • Fixed a bug where some bodies with custom __getattr__ implementations weren't being properly detected as Iterables. (#7433)

New Contributors

Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2341-2026-05-13

Changelog

Sourced from requests's changelog.

2.34.2 (2026-05-14)

  • Moved headers input type back to Mapping to avoid invariance issues with MutableMapping and inferred dict types. Users calling Request.headers.update() may need to narrow typing in their code. (#7441)

2.34.1 (2026-05-13)

Bugfixes

  • Widened json input type from dict and list to Mapping and Sequence. (#7436)
  • Changed headers input type to MutableMapping and removed None from Request.headers typing to improve handling for users. (#7431)
  • Response.reason moved from str | None to str to improve handling for users. (#7437)
  • Fixed a bug where some bodies with custom __getattr__ implementations weren't being properly detected as Iterables. (#7433)
Commits

Dependabot compatibility score

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 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)

Greptile Summary

This PR bumps the requests library from 2.34.0 to 2.34.2 in the test optional dependencies. The two patch releases are purely bugfix/typing improvements with no breaking changes.

  • Versions 2.34.1 and 2.34.2 address typing fixes (json, headers, Response.reason) and a runtime bug where bodies with custom __getattr__ implementations weren't correctly detected as iterables — none of these affect k-wave-python's test usage of requests.
  • requests is pinned only under [project.optional-dependencies].test, so end-users and production installs are unaffected.

Confidence Score: 5/5

Safe to merge — single-line patch version bump in test-only dependencies with no runtime or API impact.

The change touches only the test extras group and both patch releases contain bug fixes and typing improvements with no breaking changes. The library is not part of the published package's runtime dependencies, so no downstream users are affected.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Bumps requests from 2.34.0 to 2.34.2 in the test optional-dependencies group; no other changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pyproject.toml] --> B[test optional-dependencies]
    B --> C["requests 2.34.0 → 2.34.2"]
    C --> D[2.34.1: typing fixes\njson/headers/Response.reason\n+ __getattr__ body bug fix]
    C --> E[2.34.2: headers type reverted\nMapping instead of MutableMapping]
    F[core dependencies] --> G[requests NOT present\nno end-user impact]
Loading

Reviews (1): Last reviewed commit: "Bump requests from 2.34.0 to 2.34.2" | Re-trigger Greptile

Bumps [requests](https://github.com/psf/requests) from 2.34.0 to 2.34.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.34.0...v2.34.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.57%. Comparing base (d500015) to head (c623cdb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #747   +/-   ##
=======================================
  Coverage   75.57%   75.57%           
=======================================
  Files          57       57           
  Lines        8195     8195           
  Branches     1600     1600           
=======================================
  Hits         6193     6193           
  Misses       1381     1381           
  Partials      621      621           
Flag Coverage Δ
3.10 75.53% <ø> (ø)
3.11 75.53% <ø> (ø)
3.12 75.53% <ø> (ø)
3.13 75.53% <ø> (ø)
macos-latest 75.47% <ø> (ø)
ubuntu-latest 75.47% <ø> (ø)
windows-latest 75.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waltsims waltsims merged commit 996c88d into master May 21, 2026
153 checks passed
@waltsims waltsims deleted the dependabot/pip/requests-2.34.2 branch May 21, 2026 14:37
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant