Skip to content

Dependabot widens blumkin's acknowledged microsoft-kiota-http cap (blumkin#425); dep-updater is correct, Dependabot needs an ignore #699

Closed

Description

@thehcma

Summary

Dependabot opened blumkin#425, which widens microsoft-kiota-http from >=1.12.3,<1.13.0 to >=1.12.3,<1.15.0. The question was whether that breaks blumkin, and if it does not, why dep-updater did not propose the bump itself.

Answer: yes, it would break blumkin for real installs, so dep-updater is behaving correctly by not proposing it. There is no dep-updater gap here, but there is a Dependabot gap in blumkin's config.

Q1: does merging #425 break blumkin?

Yes, for any install that re-resolves from PyPI (pipx install blumkin, uv tool install blumkin, blumkin upgrade). The dev venv and CI would not show it.

  • msgraph-core 1.5.1 is still the latest release (2026-07-13). AsyncGraphTransport.handle_async_request still gates the whole middleware pipeline, including the .me URL-rewrite handler, on hasattr(request, 'options'). I confirmed this in the installed source.
  • microsoft-kiota-http >= 1.13.0 moved per-request options to request.extensions[...]. In 1.14.2 (latest, released 2026-10-05) httpx_request_adapter still passes extensions={REQUEST_OPTIONS_KEY: ...}, so the hasattr check is still always false. Every client.me... call 404s with The requested user 'me-token-to-replace' is invalid.
  • The upstream bug (msgraph-sdk-python-core#1128) is still open. The patch PR (#1129) is open and unmerged, and no msgraph-core release contains it.
  • feat: harden pre-pr-checks for Python/TS/Rust #425 only touches the [project.dependencies] specifier. The [tool.uv] constraint-dependencies = ["microsoft-kiota-http<1.13.0"] backstop is unchanged, so uv.lock stays on 1.12.3. That is why every CI job on feat: harden pre-pr-checks for Python/TS/Rust #425 is green: CI never exercises the broken version. constraint-dependencies is not part of the published package metadata, so end users get the widened range and pick up 1.14.x. This is the same failure mode as blumkin#387.

Recommendation: do not merge #425. Dismiss it with @dependabot ignore this dependency, or better, add the ignore below.

Q2: why did dep-updater not propose it?

It did the right thing, and it did not need to propose anything:

  • py_uv_rewrite_version_floor / py_uv_compound_cap_crossing skip any floor bump that would cross an existing compound cap.
  • blumkin's .dep-updater-acked-caps lists microsoft-kiota-http<1.13.0 # review-by 2026-11-27 blumkin#387, so the skip logs INFO instead of an ecosystem failure (dep-updater: an already-reviewed, permanently-capped dependency floor-bump skip is counted as an ecosystem failure forever #685). The cap still applies, and the review-by date is not yet expired.
  • Dependabot does not know about the cap. It treats the upper bound as a constraint to be widened ("update requirement ... to permit the latest version"), and it does not read [tool.uv].constraint-dependencies or .dep-updater-acked-caps.

So the two tools disagree by design: dep-updater honours the acknowledged cap and Dependabot does not.

Proposed follow-ups

  1. blumkin (not this repo): add an ignore entry to the pip ecosystem in .github/dependabot.yml, for example ignore: [{dependency-name: "microsoft-kiota-http", versions: [">=1.13.0"]}], with a comment pointing at blumkin#387 and msgraph-sdk-python-core#1128. Close feat: harden pre-pr-checks for Python/TS/Rust #425.
  2. blumkin: when msgraph-core ships the #1129 patch, lift the cap in both [project.dependencies] and [tool.uv].constraint-dependencies, delete the ack entry, and drop the Dependabot ignore. The ack's review-by (2026-11-27) is the backstop.
  3. repository-helpers (optional): have github-repo-lint (or dep-updater) flag a consumer repo that lists a cap in .dep-updater-acked-caps with no matching Dependabot ignore entry for the same package. Right now the two tools can silently disagree and Dependabot will keep re-opening the widening PR weekly. This is a separate decision and needs maintainer sign-off before implementing.

Evidence

  • scripts/gh-api pr view 425 --repo the-hcma/blumkin (diff touches only pyproject.toml, one line).
  • msgraph-core==1.5.1 plus microsoft-kiota-http==1.14.2 installed in a scratch venv: hasattr(request, 'options') gate present, kiota adapter uses extensions=.
  • PyPI release dates for msgraph-core, microsoft-kiota-http and msgraph-sdk as of 2026-10-05.

Activity

  1. thehcma commented on Oct 5, 2026

    @thehcma
    MemberAuthor

    Outcome

    The blumkin side is done. PR 425 in blumkin was shut and PR 426 there is merged. It adds a Dependabot ignore for microsoft-kiota-http >=1.13.0, plus a weekly kiota-http-cap-watch.yml workflow that opens an issue when msgraph-core ships a release past 1.5.1 or the upstream bug report gets a final status.

    The cap, the [tool.uv] constraint, the ack entry, the ignore and the watch workflow are all marked temporary and listed for joint removal.

    Still open and optional: the github-repo-lint check for acked caps that have no matching Dependabot ignore (follow-up 3 above).

  2. thehcma commented on Oct 5, 2026

    @thehcma
    MemberAuthor

    Closing as done. The research is complete and the blumkin side is merged.

    The optional lint check for acked caps with no matching Dependabot ignore (follow-up 3) is not being pursued here. File a new issue if it becomes worth doing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions