Hi Chris!

On Fri, Dec 09, 2022 at 11:59:07AM +0000, Chris Lamb wrote:
> Hi,
>
> Whilst working on the Reproducible Builds effort [0] we noticed that
> sphinx could not be built reproducibly.
>
> This is because a default argument for a method uses the path in
> which that method is implemented (ie. it uses Python's __file__)
> and then that (non-deterministic) default argument is included in
> Sphinx's documentation. 
>
> Patch attached that uses the typical; "fn(arg1=None) // if arg1 is
> None: arg1=defaultval" pattern to avoid this.

Can you please forward your patch upstream to [1]?

[1]: https://github.com/sphinx-doc/sphinx/pulls

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to