Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11275

Re: Command to query “Python versions that are installed *with* standard library”

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Command to query “Python versions that are installed *with* standard library”
Date Thu, 24 Jan 2019 13:30:01 +0100
Message-ID <xjMiR-8pn-1@gated-at.bofh.it> (permalink)
References <xjzYl-Qc-7@gated-at.bofh.it>
X-Original-To Ben Finney <bignose@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 24 12:20:28 2019
Old-Return-Path <mitya57@gmail.com>
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 <debian-python@lists.debian.org> archive/latest/16729
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Ben,

On Thu, Jan 24, 2019 at 10:16:44AM +1100, Ben Finney wrote:
> Howdy all,
>
> What is a ‘py3versions’ (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 ‘pythonX.Y-minimal’ packages can be installed *without* standard
> library, but will still appear in the ‘py3versions --installed’ output.
>
> This means it's possible to have an AutoPkgTest test that attempts to
> run a module for all the ‘py3versions --installed’ versions, then fail
> because an import of a standard library module fails.
>
> What command, hopefully as simple as ‘py3versions --installed’, 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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Command to query “Python versions that are  installed *with* standard library” Ben Finney <bignose@debian.org> - 2019-01-24 00:20 +0100
  Re: Command to query “Python versions that are installed *with* standard library” Matthias Klose <doko@debian.org> - 2019-01-24 09:30 +0100
    Re: Command to query “Python versions that are  installed *with* standard library” Ben Finney <bignose@debian.org> - 2019-01-25 06:30 +0100
  Re: Command to query “Python versions that are installed *with* standard library” Dmitry Shachnev <mitya57@debian.org> - 2019-01-24 13:30 +0100
    Re: Command to query “Python versions that are  installed *with* standard library” Ben Finney <bignose@debian.org> - 2019-01-25 06:30 +0100

csiph-web