python 2 check & cleaning

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Mon Jan 18 07:21:52 GMT 2021


On 2021-01-17 22:33, Marco Atzeri via Cygwin-apps wrote:
> Could you please check your packages if they will work with
> preferred python3.8?

@ units
...
requires: cygwin findutils libreadline7 python3 python36 python36-requests
...
depends2: cygwin, findutils, libreadline7, python36, python36-requests
build-depends: autoconf, binutils, coreutils, cygport, cygwin-devel, gawk, 
gcc-core, grep, libncurses-devel, libreadline-devel, perl_base, python3, 
python3-devel, python3-requests, sed, texinfo

$ head -1 `which units_cur`
#!/usr/bin/python3.6m

How can I ensure units depends2 and requires, and the script hash-bang uses only 
the generic python3, python3-devel, python3-requests like build-depends, and 
avoids using the "current" specific version 36/3.6m?

And how can I ensure that units_cur is tested using only python38 modules?
Will the hash-bang override the command line run python38 `which units_cur`?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]


More information about the Cygwin-apps mailing list