Path: csiph.com!goblin3!goblin.stu.neva.ru!news.mb-net.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod From: Dmitry Shachnev Newsgroups: linux.debian.maint.python Subject: Re: RFS: mwic 0.7.4-1 Date: Tue, 20 Mar 2018 18:30:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Mar 20 17:21:54 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.271 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf0-f42.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iz3hIDjMCWB5SOJOEyoL/IyzUHLjpPI7qE1+NtXdY9M=; b=aAnrQNYT22Ub1LypPYqcoKwQ3cPbZMdafihJWKlgm77P87ZKmgZu0DmDgvGlYJ8zJ9 yBEpeUnaJndiLuSYgx9hCXZr0M571paDPQg+hmKIvRE3dMUtvIBxersRZE/t6oGrQphm RVgjrK/174D341i6oVHL++k+zHg0khnwUrL+ZMt2bXiwBiD7ewKPIcKEoxsc9CZcV6Ss tLmagnxl3dDcNqmB72FZ2+5KS7fk7nBLZKyUEd5FgK0bPAvD0v+TxgQl9IB+YkyuvQlo THPxmJmUpbXjrq1iB1cvBb8EsEPuvyBTURk5L52zTLEoxYHKEBrZmm/g0p0KWWd9jA7D umIg== X-Gm-Message-State: AElRT7FdPAIQk1gNFofi4MP0156BDnZibK1U+ZzvEmp9tNptJXW3eBRT eLiWRh7ALRVyS1HcfILaXIs8HqRS X-Google-SMTP-Source: AG47ELv/GseoJm8liAdaSF6W5FzU2otbGALynsnqQ5GXUDAdk1Gq3o/Nh4HmwB1zqp2cbLFRb/BJjA== X-Received: by 10.46.154.71 with SMTP id k7mr6782140ljj.42.1521566484594; Tue, 20 Mar 2018 10:21:24 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Mailing-List: archive/latest/15680 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20180320172120.GA18856@mitya57.me Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Tue, 20 Mar 2018 20:21:20 +0300 X-Original-Message-ID: <20180320172120.GA18856@mitya57.me> X-Original-References: <20180316212934.GB28151@debian> <20180317094926.GP28151@debian> <20180319214616.GA11473@mitya57.me> <20180319223107.GB8754@debian> Xref: csiph.com linux.debian.maint.python:10282 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 19, 2018 at 11:31:07PM +0100, Georg Faerber wrote: > On 18-03-20 00:46:16, Dmitry Shachnev wrote: > > On Sat, Mar 17, 2018 at 10:49:26AM +0100, Georg Faerber wrote: > > > Also, AFAIK, debian/tests/control is obsolete nowadays if > > > debian/control contains Testsuite:. > > > > This is not true. With autodep8 you can test only whether a package > > can be imported. If you want to run some actual unit tests, you still > > need debian/tests/control. > > In case you're referring to unit tests shipped upstream, that's not > true. See this [1] and that [2] for an example. The tests are executed, > but there is no debian/tests/control file. >=20 > [1] https://ci.debian.net/data/autopkgtest/unstable/amd64/r/ruby-gettext-= setup/20180313_122311/log.gz > [2] https://salsa.debian.org/puppet-team/ruby-gettext-setup This is a Ruby package. AFAIK autodep8 can run the unit tests for Ruby packages and maybe for some other languages, but for Python it can only test importability. I believe this is due to Python having (too) many different test frameworks and ways to run them. See https://salsa.debian.org/ci-team/autodep8/blob/master/examples.md which shows how the generated tests look like for different languages. -- Dmitry Shachnev --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlqxQwwACgkQ1v5xA2P4 XdNxYg//Ze5JsP22z0nEPo/HsiLlNhY06C0xAECfgipDitq8OnK9plLQLgDAsQEy uxzZMqit8A6BJiy4wTKZdkIJhEkzZrxPfvrKaKyEbZ+GqOh6ekZ+CDdVu0Q51uJD SZNq1CWranbJq9eTGjucd4jB+A7wEDd/9imJqUL/JdLOMBmfsORJGbzLqrIyJb0S sr76TLpK5U1tI1H1w4HMd6DgNwZ4LrsLg8DwqCbXiZpqu5GKKJtQzCGhTFMT5ZTJ q4Cs6IN5Hmyq72AoGE48q4TwBLAb7CMw1auVFYZNoJNRUn0xZTTxaYb7ZFTl4xSp 21dSU/IqIa/yBztmatZ8KUmtmlbinzhn23BCrSSDKzX8TgQId0Nwu8umw1/SQYj5 Jyok00lbxWESoZPYG+sYP40QpDrGSh20NNp6MvOMr15t5hnUPsm3LJZbJn3L6YLR S585Emm7+5dfvPhMea59kbpjlhdpxFtpYPt8Zf75gSYM4feOzLIGIbp8VGzWJf1J 5zr/K8FmCxXZKMf88rL/hcB1K/eahs60nBhafH3RSLJ8SYbPZJbF/cIm6cBZmE+I owVXmb0/T0M3W2IMt0PvizSZEi28r2DAkf5U6cj9ly1K0Cu3rRxaF/esJ9J1Rg45 f8Kixf20k87GFOW5R4rK3OYyrizuuuqF1juZsDGTwjLKf9LlGP0= =Dks4 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--