Re: Policy Change Proposal: Running the upstream test suite

2024-07-31 Thread Simon McVittie
On Wed, 31 Jul 2024 at 19:01:05 +0500, Andrey Rakhmatullin wrote: > On Wed, Jul 31, 2024 at 09:46:27AM +0100, Simon McVittie wrote: > > If we want to run upstream test-suites as autopkgtests, then I think > > ideally we want the same test coverage as autopkgtest-pkg-python, > > *and* the same test

Re: Policy Change Proposal: Running the upstream test suite

2024-07-31 Thread Andrey Rakhmatullin
On Tue, Jul 30, 2024 at 10:47:59AM +0200, PICCA Frederic-Emmanuel wrote: > Yes, I want to be sure that all the runtime dependencies are rightfully > declared in the Depends of the python module package. Depending on what do you mean by "all" this is not always what we want. We often don't put all

Re: Policy Change Proposal: Running the upstream test suite

2024-07-31 Thread Andrey Rakhmatullin
On Tue, Jul 30, 2024 at 03:59:04PM +0100, Julian Gilbey wrote: > > > Maybe we should install only the python binaries and the dependencies > > > marked . > > > > In a typical simple case all B-Ds except sphinx stuff will be > > as you don't need anything beyond the build system to "build" a pur

Re: Policy Change Proposal: Running the upstream test suite

2024-07-31 Thread Andrey Rakhmatullin
On Wed, Jul 31, 2024 at 09:46:27AM +0100, Simon McVittie wrote: > > > My use case, is to check that all the Dependencies computer by dh_python3 > > > from the build tools are indeed listed in the Depends of the binary > > > package. > > > > Maybe we indeed want a "minimal" autopkgtest environmen

Re: Bug#1077645: autodep8: should make it possible to have the coverage of both -pkg-python and -pkg-pybuild

2024-07-31 Thread Simon McVittie
On Wed, 31 Jul 2024 at 10:00:34 +0100, Simon McVittie wrote: > Ideally we would have a way to do (1.) *and* (2.). It looks as though "Testsuite: autopkgtest-pkg-python, autopkgtest-pkg-pybuild" is meant to do that, but doesn't currently work (#1042717 and/or #1061620). smcv

Bug#1077645: autodep8: should make it possible to have the coverage of both -pkg-python and -pkg-pybuild

2024-07-31 Thread Simon McVittie
Package: autodep8 Version: 0.28+nmu1 Severity: wishlist X-Debbugs-Cc: debian-python@lists.debian.org Affects: pybuild-plugin-autopkgtest autodep8 has two modes for testing Python modules: 1. "Testsuite: autopkgtest-pkg-python" generates a simple smoke-test: install python3-foo and its mandator

Re: Policy Change Proposal: Running the upstream test suite

2024-07-31 Thread Simon McVittie
On Mon, 29 Jul 2024 at 18:55:26 +0500, Andrey Rakhmatullin wrote: > On Mon, Jul 29, 2024 at 03:30:39PM +0200, PICCA Frederic-Emmanuel wrote: > > My use case, is to check that all the Dependencies computer by dh_python3 > > from the build tools are indeed listed in the Depends of the binary package