Source: python-inline-snapshot Version: 0.13.1-1 Severity: wishlist User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that python-inline-snapshot could not be built reproducibly. This is because the documentation embeds a number of error messages that in turn include nondeterminstic contents: [1;34m> pytest test_something.py --inline-snapshot=create,report [0m[31mERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: --inline-snapshot=create,report inifile: None rootdir: /tmp/tmp.0ENzKZTyyS [0m There are also other errors that don't include nondeterminstic content, hence this more general bug: [1;34m> pytest test_something.py --inline-snapshot=short-report [0menvironment: line 10: python: command not found It appears that the documentation cannot find the pytest plugin within its own build directory, which may be because the setuptools entry point isn't available [1] as it isn't installed... but I don't know how to fix that. [0] https://reproducible-builds.org/ [1] https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#setuptools-entry-points Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-