Skip to content

deps: update requests requirement from >=2.31 to >=2.34.2 - #637

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

deps: update requests requirement from >=2.31 to >=2.34.2#637
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/requests-gte-2.34.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on requests to permit the latest version.

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

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)

2.34.0 (2026-05-11)

Announcements

  • Requests 2.34.0 introduces inline types, replacing those provided by typeshed. Public API types should be fully compatible with mypy, pyright, and ty. We believe types are comprehensive but if you find issues, please report them to the pinned tracking issue.

    Special thanks to @​bastimeyer, @​cthoyt, @​edgarrmondragon, and @​srittau for helping review and test the types ahead of the release. (#7272)

Improvements

  • Digest Auth hashing algorithms have added usedforsecurity=False to clarify security considerations. (#7310)
  • Requests added support for Python 3.15 based on beta1. Downstream projects should be able to start testing prior to its release in October. (#7422)
  • Requests added support for Python 3.14t. (#7419)

Bugfixes

  • Response.history no longer contains a reference to itself, preventing accidental looping when traversing the history list. (#7328)
  • Requests no longer performs greedy matching on no_proxy domains. The proxy_bypass implementation has been updated with CPython's fix from bpo-39057. (#7427)
  • Requests no longer incorrectly strips duplicate leading slashes in URI paths. This should address user issues with specific presigned URLs. Note the full fix requires urllib3 2.7.0+. (#7315)

... (truncated)

Commits

@dependabot dependabot Bot added area/infra Docker, CI/CD, deployment scripts, dependabot. dependencies Dependency updates (auto-applied by Dependabot). kind/chore Tooling, CI, dependencies, or other maintenance with no user-visible behavior change. labels Jul 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Claude Code Review — skipped: PR author 'dependabot[bot]' is not a public member of the 'caura-ai' org

@Eldad-Caura

Copy link
Copy Markdown
Member

@dependabot recreate

Updates the requirements on [requests](https://github.com/psf/requests) to permit the latest version.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.31.0...v2.34.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/requests-gte-2.34.2 branch from 7751014 to bf76c58 Compare July 27, 2026 08:44
@github-actions

Copy link
Copy Markdown
Contributor

Claude Code Review — skipped: PR author 'dependabot[bot]' is not a public member of the 'caura-ai' org

Eldad-Caura added a commit that referenced this pull request Aug 10, 2026
… to (#740)

Sets `versioning-strategy: increase-if-necessary` on the **uv entry
only**, so a requirement in `pyproject.toml` is touched only when the
new version actually falls outside it.

## Eight open PRs were doing nothing else

The default (`increase`) raises the floor on every release even when the
range already permits the new version:

```
uvicorn[standard]  >=0.51.0,<1  →  >=0.52.0,<1     for a version >=0.51.0,<1 already allowed
```

…once per service directory (#692, #693, #694, #695), plus #645, #646,
#650, #691. **The `uv.lock` in all four directories was already being
updated correctly** — the manifest edit on top was pure churn.

Grouping can't absorb them: `update-types` classifies the semver bump of
a *resolved version*, and a floor-raise on an already-satisfied range
has no such classification. That's precisely why `uv-minor-patch`
collapses the lock updates into one PR (#703, *"across 4 directories"*)
while these arrive one at a time.

## Why this setting is right here and wrong elsewhere

This is the same option I **rejected** for `caura-ops` two days ago, and
the distinction is the whole point:

| | this repo's `uv` entry | `caura-ops` |
|---|---|---|
| requirement shape | **capped** — 22 of 30 in `core-api` have an upper
bound | open-ended `>=X`, no cap |
| is "outside the range" reachable? | **yes** — uvicorn 1.0 vs `<1`
still files a PR | never |
| effect of this setting | de-duplicates churn | would have **silenced
Python updates entirely** |
| correct fix | this | commit a lock + switch ecosystem (done
2026-08-09) |

## Deliberately scoped

The **`pip` entry in this same file is untouched.** It has mixed
open-ended and capped requirements and no committed root lock, so it
needs the `caura-ops` treatment and would be actively harmed by this
setting. The file comment says exactly that, placed where someone would
be tempted to copy the line.

Verified the value is valid against the schema and that it landed on the
`uv` entry alone — `pip`, both `npm` entries, `github-actions` and
`docker` all remain on the default.

## Honest limit, and a cheap test

**I could not confirm `increase-if-necessary`'s precise semantics from
the docs** — that section of the options reference truncated on three
separate fetches. This rests on the option name plus the observed
capped-vs-open behaviour across these eight PRs.

It's falsifiable next Monday: the scheduled run should produce
**lock-only PRs with no `update X requirement from >=A to >=B` titles**.
If widenings still appear, my reading is wrong and this is a one-line
revert. I'd rather ship it with the test stated than assert it works.

## What to expect

The eight open widening PRs become obsolete. Dependabot may supersede
them on the next run; if not, they can be closed. The remaining five
`caura-memclaw` widenings (#633#637) come from the `pip` entry and need
the separate lockfile change.

@claude

Signed-off-by: eldad-caura <eldad@caura.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infra Docker, CI/CD, deployment scripts, dependabot. dependencies Dependency updates (auto-applied by Dependabot). kind/chore Tooling, CI, dependencies, or other maintenance with no user-visible behavior change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant