🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #833

Bug#1151142: fastapi: FTBFS: E ModuleNotFoundError: No module named 'opentelemetry.exporter.otlp.common'

#833
From: Sandro Tosi
Date: Sat, 17 Oct 2026 21:10
29 lines
3819 bytes
Control: reassign -1 python3-opentelemetry-exporter-otlp-proto-http 1.45.1-1
Control: retitle -1 python3-opentelemetry-exporter-otlp-proto-http: No module named 'opentelemetry.exporter.otlp.common'
Control: affects -1 + src:fastapi

Hi,

I'm reassigning this bug to python3-opentelemetry-exporter-otlp-proto-http: the
ModuleNotFoundError comes from the exporter itself, so it can't be imported
at all in sid, not only by the fastapi tests:

  $ python3 -c 'import opentelemetry.exporter.otlp.proto.http.trace_exporter'
  [...]
  ModuleNotFoundError: No module named 'opentelemetry.exporter.otlp.common'

Upstream 1.45.1 added two dependencies to opentelemetry-exporter-otlp-proto-http
(exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml):

    "opentelemetry-exporter-otlp-common == 0.66b1",
    "opentelemetry-exporter-http-transport[requests] == 0.66b1",

Both are in the same upstream tree (exporter/opentelemetry-exporter-otlp-common
and exporter/opentelemetry-exporter-http-transport, providing
opentelemetry.exporter.otlp.common and opentelemetry.exporter.http.transport),
but debian/rules doesn't build them, so no 1.45.1-1 binary ships those modules.

fastapi 0.143.3-1 will skip the affected tests until this is fixed.

Regards,
Sandro
Technical Details
Message-ID: <NPjPb-6cQ7-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NPcNI-68V2-35@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sandro Tosi <morph@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151142: fastapi: FTBFS: E   ModuleNotFoundError: No module named 'opentelemetry.exporter.otlp.common'
Date: Sat, 17 Oct 2026 23:10:01 +0200
Message-ID: <NPjPb-6cQ7-5@gated-at.bofh.it>
References: <NPcNI-68V2-35@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 17 21:09:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sandro Tosi <morph@debian.org>, 1151142@bugs.debian.org
Original-Sender: Sandro Tosi <sandro.tosi@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: morph@debian.org
X-Debian-Pr-Message: followup 1151142
X-Debian-Pr-Package: src:fastapi
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: fastapi
X-Gm-Message-State: AFq9FYJkN83gUITcOLC0QZIThjXiEWd4DL5Tevit7SM8VYzeC401Qtaz
	2fSoXCqoEjMMig0/605GZkQX0CnjegjlV7GYyDTxWGDp2jkppOT+iyzaBl3of3ZP
X-Gm-Gg: AYBFou152NoO0xZjZkQMEiphaNu8Wt75Q4Lykq+Ze1Q+vaCuo5o5eYS1LY/OY9xPWdV
	S04/EHytYpo+s3F1eeXKTkSJxdfGiATC6yfoYJvd9Mu6sSlxzYjhvNYMmdGlGl11i2Wf5glAop8
	wk3cKwPMEzB7Y3lSZX/2asppMX6cdcADmd769x9ATKNdDY8LaNDACgFoW6l85XJrwAtfpxtRPic
	yxQR9UQk3WJMr9mdjZ6tbAmr3yyZkK98cR6a/vuYtvAWIcQjV2tj5tyl7NvkDllOTUB6ol58c+2
	qYNvUanTB78rQf77WNFnpGf0TNPvyPLqkOxuTpOnW3Qx84dY+zn0sgdjX6Q8/UCh3euWR5wCPBP
	AM27xZX2R9gupk42OoxNlC6+Ai+wKGy8n+RFzG2DbL6R40SKusZgZTDZDbNlrY00e3pVpchSom8
	EVrjpVzkspTH/50zjWWZ5n+H3SgAh+4ftJ62v4EFgmkhaeRWah4VfonDUgkdS+uOn0wOxCnCzwo
	Z+hZe39qrzk
X-Received: by 2002:a05:6214:3c9a:b0:91b:8fc9:417d with SMTP id 6a1803df08f44-91bdf09cebamr65947456d6.35.1792271292788;
        Sat, 17 Oct 2026 14:08:12 -0700 (PDT)
Sender: robomod@news.nic.it
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834844
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 29
Organization: linux.* mail to news gateway
X-Original-Cc: 1151142-submitter@bugs.debian.org
X-Original-Date: Sat, 17 Oct 2026 17:08:11 -0400
X-Original-Message-ID: <E1xIBdT-00000008SEf-1TPG@zion>
X-Original-References: <E1xI4br-008Jq4-2X@paradis.debian.org>
X-Original-Sender: Sandro Tosi <sandro.tosi@gmail.com>