Make the documentation build reproducibly

Whilst working on the Reproducible Builds effort [0] we noticed that
flask could not be built reproducibly.

This is because it includes an absolute build directory in the
documentation as the "json_module" attribute points to a Python class/
module which has a string representation including its path.

This commit skips this (inherited) member from the documentation.

(This was originally filed in Debian as #943674 [1].)

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/943674
This commit is contained in:
Chris Lamb 2019-10-28 09:13:37 +00:00
parent 8f422d2b5e
commit 3ddf7fd2c2

View file

@ -31,6 +31,7 @@ Incoming Request Data
.. autoclass:: Request
:members:
:inherited-members:
:exclude-members: json_module
.. attribute:: environ