Re: python2 removal

2023-03-15 Thread marco atzeri via Cygwin-apps
On Wed, Mar 15, 2023 at 1:56 PM Brian Inglis via Cygwin-apps  wrote:
>
> On 2023-03-14 13:17, Jon Turney via Cygwin-apps wrote:
> > On 15/01/2023 12:52, Jon Turney via Cygwin-apps wrote:
> >>
> >> This has come up in discussion a few times, and is now well overdue, I 
> >> think.
> >>
> >> Python 2.7 is the last python2 version, which was sunsetted on January 1, 
> >> 2020.
> >>
> > [...]
> >>
> >> 3) There might also still be some other packages lurking which just 
> >> install a
> >> script with a shebang containing 'python', and assume that python is 
> >> python2.
> >> I don't know how we could identify those.
> >
> > The remaining cases of packages which have a dependency on python and/or 
> > python2
> > are either this (packages which contain a python script with a python 
> > shebang
> > line), or the other case which I hadn't previously considered - a package 
> > which
> > contain an executable or shared library linked with libpython2.7.dll.
> >
> > So, again I need inspect these to determine what should happen to them.
>
> Add:
>
> $ apt-cyg category Python | grep -iv python | xargs apt-cyg listall | awk 
> '...'

Is apt-cyg an "official" tool now
:-?

> scons   4.4.0-1 x86_64

scons is already built for 3.9


Re: python2 removal

2023-03-15 Thread Brian Inglis via Cygwin-apps

On 2023-03-14 13:17, Jon Turney via Cygwin-apps wrote:

On 15/01/2023 12:52, Jon Turney via Cygwin-apps wrote:


This has come up in discussion a few times, and is now well overdue, I think.

Python 2.7 is the last python2 version, which was sunsetted on January 1, 2020.


[...]


3) There might also still be some other packages lurking which just install a 
script with a shebang containing 'python', and assume that python is python2.  
I don't know how we could identify those.


The remaining cases of packages which have a dependency on python and/or python2 
are either this (packages which contain a python script with a python shebang 
line), or the other case which I hadn't previously considered - a package which 
contain an executable or shared library linked with libpython2.7.dll.


So, again I need inspect these to determine what should happen to them.


Add:

$ apt-cyg category Python | grep -iv python | xargs apt-cyg listall | awk '...'
cfv 1.18.3-1x86_64
emacs-mercurial 2.7.1-1 x86_64
git-filter-repo 2.38.0-1noarch
idle2   2.7.18-4x86_64
idle27  2.7.18-4x86_64
idle35  3.5.7-2 x86_64
idle36  3.6.15-1x86_64
idle37  3.7.12-1x86_64
idle38  3.8.16-1x86_64
idle39  3.9.16-1x86_64
mercurial   6.3.2-1 noarch
mercurial-convert   2.7.1-1 x86_64
mercurial-gui   2.7.1-1 x86_64
mercurial-highlight 2.7.1-1 x86_64
mutagen-utils   1.45.1-2noarch
offlineimap 6.5.5-1 x86_64
scons   4.4.0-1 x86_64
stgit   0.19-2  noarch
svn-load1.3-1   x86_64
urlgrabber  3.1.0-3 x86_64
xlsx2csv0.11+20120814+gitf54ab78-2  noarch

I'd like to adopt *xlsx2csv* - for an initial build see:

https://cygwin.com/cgi-bin2/jobs.cgi?id=5607
https://cygwin.com/cgit/cygwin-packages/playground/commit/?id=af279166a903b526274f8b10264e206fc5010a68
https://github.com/cygwin/scallywag/actions/runs/4419738199

The author remains the same but version numbering staggers around then jumps to 
0.5 and is now up to 0.8.1.
The manual was a POD file from Jaari run thru pod2man for 0.11 from 2010, but 
very outdated now, not to mention using Perl docs for Python modules, so I'm 
rewriting from help2man output to be current, comprehensive, and functional with 
`groff -man`.


[I use it to get data into portable form, make it threat free, and fake 
spreadsheets for my accountant, if I want to use gvim instead of Gnumeric or 
Libre Office calc! ;^> ]


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

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry