Skip to content

build(deps): bump urllib3 from 2.6.3 to 2.7.0 in /tools/gmail/oauth-draft#130

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/tools/gmail/oauth-draft/urllib3-2.7.0
Closed

build(deps): bump urllib3 from 2.6.3 to 2.7.0 in /tools/gmail/oauth-draft#130
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/tools/gmail/oauth-draft/urllib3-2.7.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps urllib3 from 2.6.3 to 2.7.0.

Release notes

Sourced from urllib3's releases.

2.7.0

🚀 urllib3 is fundraising for HTTP/2 support

urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.

Thank you for your support.

Security

Addressed high-severity security issues. Impact was limited to specific use cases detailed in the accompanying advisories; overall user exposure was estimated to be marginal.

  • Decompression-bomb safeguards of the streaming API were bypassed:

    1. When HTTPResponse.drain_conn() was called after the response had been read and decompressed partially. (Reported by @​Cycloctane)
    2. During the second HTTPResponse.read(amt=N) or HTTPResponse.stream(amt=N) call when the response was decompressed using the official Brotli library. (Reported by @​kimkou2024)

    See GHSA-mf9v-mfxr-j63j for details.

  • HTTP pools created using ProxyManager.connection_from_url did not strip sensitive headers specified in Retry.remove_headers_on_redirect when redirecting to a different host. (GHSA-qccp-gfcp-xxvc reported by @​christos-spearbit)

Deprecations and Removals

  • Used FutureWarning instead of DeprecationWarning for better visibility of existing deprecation notices. Rescheduled the removal of deprecated features to version 3.0. (urllib3/urllib3#3763)
  • Removed support for end-of-life Python 3.9. (urllib3/urllib3#3720)
  • Removed support for end-of-life PyPy3.10. (urllib3/urllib3#4979)
  • Bumped the minimum supported pyOpenSSL version to 19.0.0. (urllib3/urllib3#3777)

Bugfixes

  • Fixed a bug where HTTPResponse.read(amt=None) was ignoring decompressed data buffered from previous partial reads. (urllib3/urllib3#3636)
  • Fixed a bug where HTTPResponse.read() could cache only part of the response after a partial read when cache_content=True. (urllib3/urllib3#4967)
  • Fixed HTTPResponse.stream() and HTTPResponse.read_chunked() to handle amt=0. (urllib3/urllib3#3793)
  • Updated _TYPE_BODY type alias to include missing Iterable[str], matching the documented and runtime behavior of chunked request bodies. (urllib3/urllib3#3798)
  • Fixed LocationParseError when paths resembling schemeless URIs were passed to HTTPConnectionPool.urlopen(). (urllib3/urllib3#3352)
  • Fixed BaseHTTPResponse.readinto() type annotation to accept memoryview in addition to bytearray, matching the io.RawIOBase.readinto contract and enabling use with io.BufferedReader without type errors. (urllib3/urllib3#3764)
Changelog

Sourced from urllib3's changelog.

2.7.0 (2026-05-07)

Security

Addressed high-severity security issues. Impact was limited to specific use cases detailed in the accompanying advisories; overall user exposure was estimated to be marginal.

  • Decompression-bomb safeguards of the streaming API were bypassed:

    1. When HTTPResponse.drain_conn() was called after the response had been read and decompressed partially.
    2. During the second HTTPResponse.read(amt=N) or HTTPResponse.stream(amt=N) call when the response was decompressed using the official Brotli <https://pypi.org/project/brotli/>__ library.

    See GHSA-mf9v-mfxr-j63j <https://github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j>__ for details.

  • HTTP pools created using ProxyManager.connection_from_url did not strip sensitive headers specified in Retry.remove_headers_on_redirect when redirecting to a different host. (GHSA-qccp-gfcp-xxvc <https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc>__)

Deprecations and Removals

  • Used FutureWarning instead of DeprecationWarning for better visibility of existing deprecation notices. Rescheduled the removal of deprecated features to version 3.0. ([#3763](https://github.com/urllib3/urllib3/issues/3763) <https://github.com/urllib3/urllib3/issues/3763>__)
  • Removed support for end-of-life Python 3.9. ([#3720](https://github.com/urllib3/urllib3/issues/3720) <https://github.com/urllib3/urllib3/issues/3720>__)
  • Removed support for end-of-life PyPy3.10. ([#4979](https://github.com/urllib3/urllib3/issues/4979) <https://github.com/urllib3/urllib3/issues/4979>__)
  • Bumped the minimum supported pyOpenSSL version to 19.0.0. ([#3777](https://github.com/urllib3/urllib3/issues/3777) <https://github.com/urllib3/urllib3/issues/3777>__)

Bugfixes

  • Fixed a bug where HTTPResponse.read(amt=None) was ignoring decompressed data buffered from previous partial reads. ([#3636](https://github.com/urllib3/urllib3/issues/3636) <https://github.com/urllib3/urllib3/issues/3636>__)
  • Fixed a bug where HTTPResponse.read() could cache only part of the response after a partial read when cache_content=True.

... (truncated)

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

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

potiuk commented May 11, 2026

Copy link
Copy Markdown
Member

Closing this — urllib3 2.7.0 was released 2026-05-07 and the project's lockfile carries a 7-day cooldown (exclude-newer-span = "P7D" in tools/gmail/oauth-draft/uv.lock). The bump is eligible from 2026-05-14.

Dependabot's solver appears to have ignored the cooldown and forced 2.7.0, which triggered a broken resolution cascade: requests downgraded to 2.15.1 (2017), and urllib3 / certifi / charset-normalizer got dropped from the lock entirely. That's why both prek and pytest (oauth-draft) fail — the test venv ends up without urllib3 / requests at all.

Dependabot will reopen this once 2.7.0 ages past the cooldown window (or you can rebase the PR after 2026-05-14 and the resolver should produce a clean diff).

@potiuk potiuk closed this May 11, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 11, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/uv/tools/gmail/oauth-draft/urllib3-2.7.0 branch May 11, 2026 21:57
potiuk added a commit to potiuk/magpie that referenced this pull request May 24, 2026
The github-actions and pre-commit ecosystem blocks in
.github/dependabot.yml carried `semver-{major,minor,patch}-days`
cooldown keys, which those ecosystems do not accept. Dependabot
rejected both blocks outright with:

    The property '#/updates/0/cooldown/semver-major-days' is not
    supported for the package ecosystem 'github-actions'.
    The property '#/updates/1/cooldown/semver-major-days' is not
    supported for the package ecosystem 'pre-commit'.
    ...

which is why neither ecosystem produced a single PR in the four
weeks since adoption on 2026-04-29 (the uv blocks were unaffected
and ran normally — see apache#130, apache#233). Strip the unsupported keys and
keep `default-days: 7` for the 7-day settle window.

Apply the bumps that would have landed already had dependabot been
running, all past the 7-day cooldown:

  actions/cache                v4.2.2  -> v5.0.5
  github/codeql-action         v4.35.2 -> v4.35.5
  zizmorcore/zizmor-action     v0.5.2  -> v0.5.6
  astral-sh/setup-uv           v7.3.0  -> v8.1.0

actions/cache@v5 needs runner >= 2.327.1 (Node 24), which the
GitHub-hosted runners we target already satisfy. setup-uv@v8 is a
major bump; CI on this commit is the smoke test.

ASF allowlist: setup-uv@08807647 and zizmor-action@5f14fd08 are
already on approved_patterns.yml. actions/cache and
github/codeql-action are exempt — `actions` and `github` are in
TRUSTED_OWNERS in apache/infrastructure-actions/allowlist-check/
check_asf_allowlist.py.

Generated-by: Claude Code (Opus 4.7)
potiuk added a commit that referenced this pull request May 24, 2026
…mpl (#257)

* pr-management-stats: require full engagement schema + add reference impl

Fixes three correctness issues in pr-management-stats that cause severe
under-counting of engagement and over-counting of untriaged PRs:

1. `fetch.md` previously said "no statusCheckRollup / mergeable /
   reviewThreads" — claiming none were needed for stats. This is wrong
   for `reviewThreads`, `latestReviews`, and `timelineItems`: the
   `is_engaged` predicate in classify.md explicitly counts maintainer
   line-level review comments, submitted reviews, and label/draft
   timeline events as engagement. Omitting those fields means a
   maintainer who only left a line-level review comment is treated as
   "no engagement" and the PR is misclassified as untriaged. On a
   ~530-PR queue this inflates the untriaged count ~10× (observed:
   225 → 24, then 24 → 2 with full schema + reviewThreads added).

2. `SKILL.md` had no explicit no-skip rule for the 11 dashboard panels.
   Agents under context pressure were observed simplifying away the
   line charts, CODEOWNERS table, and triager-activity table. New
   Golden rule 8 requires all sections to render; missing-data
   stubs are allowed but silent omission is not.

3. New Golden rule 9 documents the FULL engagement schema explicitly
   so agents don't trim the query "to save complexity points".

Also adds:
- `tools/pr-management-stats/reference.py` — canonical reference
  implementation of the fetch + classify contract. Encodes the full
  engagement schema and serves as the single source of truth agents
  can read from.
- `tools/pr-management-stats/README.md` — describes how the agent
  invokes the reference + the anti-skip contract.
- Updated GraphQL template in fetch.md to include the engagement
  fields, with batch size dropped from 50 to 30 to absorb the
  ~11-point complexity increase per page.

* chore(ci): fix dependabot cooldown schema and bump pinned actions

The github-actions and pre-commit ecosystem blocks in
.github/dependabot.yml carried `semver-{major,minor,patch}-days`
cooldown keys, which those ecosystems do not accept. Dependabot
rejected both blocks outright with:

    The property '#/updates/0/cooldown/semver-major-days' is not
    supported for the package ecosystem 'github-actions'.
    The property '#/updates/1/cooldown/semver-major-days' is not
    supported for the package ecosystem 'pre-commit'.
    ...

which is why neither ecosystem produced a single PR in the four
weeks since adoption on 2026-04-29 (the uv blocks were unaffected
and ran normally — see #130, #233). Strip the unsupported keys and
keep `default-days: 7` for the 7-day settle window.

Apply the bumps that would have landed already had dependabot been
running, all past the 7-day cooldown:

  actions/cache                v4.2.2  -> v5.0.5
  github/codeql-action         v4.35.2 -> v4.35.5
  zizmorcore/zizmor-action     v0.5.2  -> v0.5.6
  astral-sh/setup-uv           v7.3.0  -> v8.1.0

actions/cache@v5 needs runner >= 2.327.1 (Node 24), which the
GitHub-hosted runners we target already satisfy. setup-uv@v8 is a
major bump; CI on this commit is the smoke test.

ASF allowlist: setup-uv@08807647 and zizmor-action@5f14fd08 are
already on approved_patterns.yml. actions/cache and
github/codeql-action are exempt — `actions` and `github` are in
TRUSTED_OWNERS in apache/infrastructure-actions/allowlist-check/
check_asf_allowlist.py.

Generated-by: Claude Code (Opus 4.7)

* fix(pr-management-stats): use placeholders in fetch.md + README example

`check-placeholders` pre-commit hook (and skill-validator pytest)
rejected hardcoded `apache/airflow` references in:

  .claude/skills/pr-management-stats/fetch.md:414
  tools/pr-management-stats/README.md:39

Replace with `<upstream>` (the skill's existing placeholder for the
project repo, used on fetch.md lines 171, 178, 185, 193, 203, 223,
238, 348). Also swap `potiuk` for `<maintainer-handle>` in the
README invocation so the example matches the placeholder convention
end-to-end. doctoc TOC added by pre-commit on first README edit.

Generated-by: Claude Code (Opus 4.7)

* fix(pr-management-stats): typos in reference.py flagged by `typos` hook

prek's `typos` hook caught:
- `invokable` -> `invocable` (docstring, line 23)
- `thr` -> `thread` (loop variable in the reviewThreads walk,
  lines 257-258)

Pure rename + spelling fix; no behaviour change.

Generated-by: Claude Code (Opus 4.7)
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant