Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Dmitry Shachnev Newsgroups: linux.debian.maint.python Subject: Re: Command to query =?utf-8?B?4oCcUHl0?= =?utf-8?Q?hon_versions_that_are_installed_*with*_standard_library?= =?utf-8?B?4oCd?= Date: Thu, 24 Jan 2019 13:30:01 +0100 Message-ID: References: X-Original-To: Ben Finney X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Jan 24 12:20:28 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-10.86 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lj1-f176.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 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=+9GCjc5LgYvunUJd0L9NsK+YoBV8txZhsZBEsLnctHk=; b=Bh01G8HbswUNxBoqtRuysR9oYDdb4pg0LmWN+bR4V7G1EoCoO9aHKq5dAfjKvhavl+ ue3Z6gUbcXjP2WL/LT7V4JF2EPj63eNt5E2QqTKFkzB722o56RCBavB23A65Rhi3aa5p QEVK/ZZLDtlTMxzCc2twe5v+ZjatjGZf19D4FK2Vt9CxG1hjGkZRKibHdCdqHAtGYpOu 6+VuG1TiEiDkjBuvGD6wDYOm14wM7T0sgrlSf8R0mY4XuCJ/m1k/qIM9qZvz8qze2Kw5 DRZzeYfumnBCBtpUhL7espmyouR0BkegwNvrwAsy+gFsJo9ilvB/CtO42wxvCQ/LFwPu 1KLA== X-Gm-Message-State: AJcUukfwHA3Cyr0PLfze1XtBS+ouJg1yVCDpi9txpqIkIi8IPSqjQVmB O9PwQDjpLm/DAE9CXC/dew4= X-Google-SMTP-Source: ALg8bN6hvDXcsWH0eEai4ZHtjG2B3wPOmxI9TiixbnlCiYeBt3y+KVMz37TodqYCjLmy4cXIBbBaNQ== X-Received: by 2002:a2e:5cc8:: with SMTP id q191-v6mr5383238ljb.192.1548332414269; Thu, 24 Jan 2019 04:20:14 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailing-List: archive/latest/16729 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20190124122011.GB24295@mitya57.me Approved: robomod@news.nic.it Lines: 58 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Thu, 24 Jan 2019 15:20:11 +0300 X-Original-Message-ID: <20190124122011.GB24295@mitya57.me> X-Original-References: <868szbdkwz.fsf@benfinney.id.au> Xref: csiph.com linux.debian.maint.python:11275 --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ben, On Thu, Jan 24, 2019 at 10:16:44AM +1100, Ben Finney wrote: > Howdy all, > > What is a =E2=80=98py3versions=E2=80=99 (or alternative) command that can= be run in > AutoPkgTest, to query the Python versions that are installed on this > machine *with* their standard library? > > The =E2=80=98pythonX.Y-minimal=E2=80=99 packages can be installed *withou= t* standard > library, but will still appear in the =E2=80=98py3versions --installed=E2= =80=99 output. > > This means it's possible to have an AutoPkgTest test that attempts to > run a module for all the =E2=80=98py3versions --installed=E2=80=99 versio= ns, then fail > because an import of a standard library module fails. > > What command, hopefully as simple as =E2=80=98py3versions --installed=E2= =80=99, can be > used in AutoPkgTest to interrogate *only* those Python versions on the > local machine that have their standard library installed? I usually use py3versions --supported and make the autopkgtest depend on python3-all. -- Dmitry Shachnev --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAlxJrXcACgkQYCaTbS8c iuBUDA/+Ls1fWkbDRohJYQFPKE59ooT9g3ZGUVFQMdg2CTQTJt8fK6hOEa7iO4bZ 0BUofRP2+HysUxfgWNLDQtia2wPL9A8JWl871e9SwBBUF56kFDpJ4T1NAKidGJC+ 14e8cj9v500dAq+p+U3fk4KU7s3tQlOOwIgF/rd4OyeK2ywDMqPVSJYzGlFHWyCk RzhBpWt25WhoeS+4cwGFEjU1aFUOLl3YbqDha5HzDkJTUn8EtAWaImd30EZHT7pk 6euehf3vcVR4bOIzUwRMmww/br94wjeLRXyZO57P2xOLbP8eWEr0LdML1fhT74QD 5vMdsN/E32/C3JaaWhpfcVJ0wG18dnkkdXxsk30QcH5O6DprE/CVP11T3M5agDjg R33q2xzu68yAnLPXS96qpAU/G9AlE8Nc4bCFT54CykHWhtH5RvaSUxzUUx719dsR PZ3IPxz99mrkj11hvDDzbICf3sMhgdt1szE8XEuJHMmBvZMR+P4dzAOXG3Pnn8xh Iyk6j0JbMT1wpuqVY5DrgzYkO9ffodDLVSpwVZ0O2a/sV5C93ZN8hlcxI5Qzmts5 7um35X6gu/diSrrIG6euLZIg+l9CX0TuhWB1DTNCEkbWsnhpSFuG683Q6ZjacD5d vqU+KFerTb/R3++sRL1BDaFpMQlpx0GmHFD3K3q6BE221acvI2I= =zMDm -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip--