🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.python
Article #63

Standardise Sphinx build invocation (was: Interrogate PyBuild for build directory of *only* the current Python interpreter versi...

#63
From: Ben Finney
Date: Fri, 06 Nov 2026 04:30
24 lines
3172 bytes
Stuart Prescott <stuart@debian.org> writes:

> I've wondered if the invocation of sphinx is slowly becoming
> standardised enough that we could start configuring and running it
> through some set of PYBUILD_SPHINX_* environment variables.

On numerous occasions, and I believe ‘towncrier’ was one, I have found
the flexibility allowed by an executable configuration (‘conf.py’ in the
documentation source directory) leads to breakage using unmodified build
invocations.

I can't recall the details now. But I suspect that too many Sphinx build
systems have customised ‘conf.py’ such that they still require special
handling.

The motivation is good, though. Probably a lot of Sphinx build systems
in source packages are standard enough that we could get away with some
good defaults.

-- 
 \          “One time a cop pulled me over for running a stop sign. He |
  `\        said, ‘Didn't you see the stop sign?’ I said, ‘Yeah, but I |
_o__)                don't believe everything I read.’” —Steven Wright |
Ben Finney
Technical Details
Message-ID: <NWjKp-a7n0-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NWg09-a5eH-3@gated-at.bofh.it> <NWibD-a6mp-1@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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Ben Finney <bignose@debian.org>
Newsgroups: linux.debian.maint.python
Subject: Standardise Sphinx build invocation (was: Interrogate PyBuild for build directory of *only* the current Python interpreter version)
Date: Fri, 06 Nov 2026 05:30:01 +0100
Message-ID: <NWjKp-a7n0-5@gated-at.bofh.it>
References: <NWg09-a5eH-3@gated-at.bofh.it> <NWibD-a6mp-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-python-request@lists.debian.org  Fri Nov  6 04:28:25 2026
Old-Return-Path: <debian-python@m.gmane-mx.org>
X-Amavis-Spam-Status: No, score=-1.75 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25] autolearn=no autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
X-Injected-Via-Gmane: http://gmane.org/
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:ugP/QyL+xvGRESkDZ3eY4nrAYeE=
X-Public-Key-ID: 0xAC128405
X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35  4855 B8B2 4C06 AC12 8405
X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From: Ben Finney <bignose+hates-spam@benfinney.id.au>
X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24183
List-ID: <debian-python.lists.debian.org>
List-URL: <https://lists.debian.org/debian-python/>
List-Archive: https://lists.debian.org/msgid-search/878q36pors.fsf_-_@benfinney.id.au
Approved: robomod@news.nic.it
Lines: 24
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 06 Nov 2026 15:28:07 +1100
X-Original-Message-ID: <878q36pors.fsf_-_@benfinney.id.au>
X-Original-References: <87se1eq0hm.fsf@benfinney.id.au>
	<75e9d39b-a45b-46f0-a33b-c3ac9c9f910f@debian.org>