Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Andrey Rakhmatullin Newsgroups: linux.debian.maint.python Subject: Re: Policy Change Proposal: Running the upstream test suite Date: Wed, 31 Jul 2024 16:20:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Jul 31 14:12:15 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p2hQunnL5OBjaYsV" Content-Disposition: inline X-Mailing-List: archive/latest/22180 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ZqpGMSy10O-X3qvr@belkar.wrar.name Approved: robomod@news.nic.it Lines: 57 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 31 Jul 2024 19:12:01 +0500 X-Original-Message-ID: X-Original-References: <1867641997.115526135.1722243907166.JavaMail.zimbra@synchrotron-soleil.fr> <20240729134327.Horde._9QGgAmwIGxmlrG94HyAfLk@webmail.in-berlin.de> <1801597020.116294261.1722259839638.JavaMail.zimbra@synchrotron-soleil.fr> <722698976.116564164.1722266073218.JavaMail.zimbra@synchrotron-soleil.fr> <830393004.118058626.1722329279861.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:16142 --p2hQunnL5OBjaYsV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 d= eclared 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 modules imported by all parts of the shipped code into Depends, instead using Recommends, Suggests or nothing. > sometimes the upstream forgot about dependencies, or mark them as optiona= l, but they are not when running the tests... Similarly, all modules installed for tests shouldn't always go into Depends ("all modules installed for tests" is ideally the same as "all modules imported by all parts of the shipped code", plus test system deps, and minus deps for e.g. Windows code that we ship but don't run or test). > Is it possible to achieve this automatically ? lintian ? dh-python ? pyth= on3-stdeb ? Well our tools can look at the deps declared by the upstream, and normally do that as a part of the build process. But that won't help when those deps are not what we want. --=20 WBR, wRAR --p2hQunnL5OBjaYsV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmaqRjEtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh YUEQAJeRAO0wU0HmQLLxVfRG/XUmhJaET0qSZ8Qj5xmoYUkHnAv/6oNZsxdFiuUX 8vu086lyNeeZWQEOYzfsXzGd97HyDJJAzbUiGqnP/5uQjK/+LTIrwPIBzc1Oeqg8 X0SDw6qnY57dhhb17xU2AYQCddPi9WlRdkCAlfNprBfPzuv/JZH1RRIR45Aq/DOk A8qVDb0e3wrRnsl58s4rHii618wq07vYtHOyzUPORHuW0esoGsrcp7Z4X9GWByTO lDw73n3eIbxQ5xgv15nwl6EPN9BSvtWqIyKEQxkB0FBaY/5oZss8xpVEiYZyMi/O hlof8XxoRJB0A5iCSyofrAFVOQPQVAwee3UjJRFv6Nt5I7ATC+t+1yA2uAIsKQkp s0E9rYB59xIDlJRKzOEqcD7lky9/ysJIVeN789/+Xnat/i0WutkUDlNDJyRP8x0i npz1MIpnND3pHJXX5FNVqcs5DvwIPKn4bonFe655G90Om/ke9PhUpOOZioNgIhOC DNtzGZLKZkvMpR2ys0H6Q44Fy3dL746M4fsXH74U2iS1WTb2uQ9Af2MPfN8kAkSk 6Pt16ol44KWEuu43uycSYql4sS8O3QkxJQh/JWAH/YTJPLmNCtuEBjkKiAxI3pvt lgZvPWxTYgobucQ6lxcF1GvNjSzB9HsJCaNOO+BhXiXrWtyB =GybF -----END PGP SIGNATURE----- --p2hQunnL5OBjaYsV--