Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15399

Re: sphinx-build module not found in sbuild

Path csiph.com!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Julian Gilbey <julian@d-and-j.net>
Newsgroups linux.debian.maint.python
Subject Re: sphinx-build module not found in sbuild
Date Mon, 08 Jan 2024 13:50:01 +0100
Message-ID <HTXeN-1FLn-9@gated-at.bofh.it> (permalink)
References <HTWVr-1FFc-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 8 12:47:19 2024
Old-Return-Path <julian@d-and-j.net>
X-Amavis-Spam-Status No, score=-7.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21349
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZZvuvWgHM2xNIbzl@d-and-j.net
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Mon, 8 Jan 2024 12:46:53 +0000
X-Original-Message-ID <ZZvuvWgHM2xNIbzl@d-and-j.net>
X-Original-References <CAJxTCxzjz1o58Ee4tZz1a7agdNY5xPX5KUShSPLGwGRvUYpP4g@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:15399

Show key headers only | View raw


On Mon, Jan 08, 2024 at 01:22:54PM +0100, Jérémy Lal wrote:
> Hi,
> I'm stuck at this odd behavior:
> when I build a package in my current environment (debian/testing),
> sphinx-build ... works correctly.
> when building in sbuild, sphinx-build doesn't find current module:
> ModuleNotFoundError: No module named 'xxx'
> in docs/conf.py at
> from xxx import __version__
> I don't understand which other debian package is modifying that outcome.
> Any idea ?

Perhaps your local build is importing from a globally-installed
version of the package?  (For example, you're building version 1.3 of
python3-foo, but you already have version 1.2 of python3-foo
installed.)

Best wishes,

   Julian

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sphinx-build module not found in sbuild Jérémy Lal <kapouer@melix.org> - 2024-01-08 13:30 +0100
  Re: sphinx-build module not found in sbuild Julian Gilbey <julian@d-and-j.net> - 2024-01-08 13:50 +0100
    Re: sphinx-build module not found in sbuild Jérémy Lal <kapouer@melix.org> - 2024-01-08 14:00 +0100

csiph-web