[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 24.01.19 00:16, 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?

we currently can't do that, until python3.6 gets removed. I assume it's still on
some images?


Reply to: