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


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

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

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.maint.python
Subject Command to query “Python versions that are installed *with* standard library”
Date 2019-01-24 00:20 +0100
Message-ID <xjzYl-Qc-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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?

-- 
 \          “Friendship is born at that moment when one person says to |
  `\    another, ‘What! You too? I thought I was the only one!’” —C.S. |
_o__)                                                            Lewis |
Ben Finney

Back to linux.debian.maint.python | Previous | Next — 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