Stuart Prescott <[email protected]> writes:

> To answer your last question first, I think your mental model of what
> is going on here is likely back to front. (Using codesearch.d.n to
> spot that this is towncrier so that I can better understand your
> context..)

Thank you. In case anyone wants to see my fumbling, I'm attempting to
resolve Debian bug#1152592 <URL: https://bugs.debian.org/1152592>.

> However, we don't normally want to rebuild the documentation for each
> supported version of the interpreter - we'd only ship one version of
> the docs. We normally only build the documentation against the default
> interpreter (i.e. py3versions -d).

That's the key, thank you. I thought DebHelper magic was performing the
loop through the installed Python interpreters. That PyBuild magic does
that loop is something I had not gleaned from its documentation.

Probably by the time I need that again, I will have forgotten, and then
fail again to understand PyBuild's operation from its documentation. But
thank you for this time.

> But even easier, all of the pipeline can be replaced with
>
>     pybuild --print build_dir --interpreter python3
>
> The execution of sphinx is most often run as a
> `execute_after_dh_auto_build` step.

After implementing both of these suggestions, the package builds; thank
you for helping me resolve the bug. I've assigned you as the author in
Git for those commits.

-- 
 \        “The industrial system is profoundly dependent on commercial |
  `\   television and could not exist in its present form without it.” |
_o__)        —John Kenneth Galbraith, _The New Industrial State_, 1967 |
Ben Finney

Reply via email to