From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 164313858D39 for ; Wed, 15 Mar 2023 12:56:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 164313858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id cLxspF2t8uZMScQfipw0SU; Wed, 15 Mar 2023 12:56:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1678884962; bh=Q7+be2wWStdtfwrPAul3Wu1/Wr/DSj4mQ7tXWS1+Ro8=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=BBwAL+oEoJixCmeOQfdP7n6u0swk6Mkc5VkXjTJzvdBmOrZE4jMb+G8rlyvJ2OSit 5aQazGa/cUnU1D1z408uuf/KligWul6y2TUe/jsu7l3mVCwFIOoeN0+ynUcvBIHvx/ dlWgRqYKlEAjs4uymI+X3jp1TWz8/KxVst5RaiJQNXnrfDTmvttPzkuC4c1vA87SpH lN2iFH7jqrySnn5BHicrAvGiLWR3T7bklSQ8d5zzWYkcu7oP6tqbXCud5B62SHI/lm OsFLe5IuiqsJDBcOBoYCqQ6ruxY6Y0XGdoi0UCGCPBBeibNZ8711tStIcBUIiKWWWB 9nuSNFGG3SY9Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id cQfhpKxf3HFsOcQfhpS1Cj; Wed, 15 Mar 2023 12:56:02 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=6411c062 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=NEAV23lmAAAA:8 a=vH77u8rSRXpcXeAl00wA:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 Message-ID: Date: Wed, 15 Mar 2023 06:56:01 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: python2 removal Content-Language: en-CA To: cygwin-apps@cygwin.com References: <07106598-5bc3-055f-5875-abe5aa7baffc@dronecode.org.uk> From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfO/9mwQAzlTlY7Al2eaI8EbPuXvyRyIBzP0UNqsVW6KDE1yPw5p0E46EmtMfNB5GuZLJAD1mP2xv4O0jSsUZA5Boac51AkPYwWuUc4UPhX3w4FTY/nAT C2wFg6Vk0/qG5N6hc+M8fiveoRVQx/BvtwUU0wEwjJLjjJyULZff2imSmyx3PKu6uCglK1THK5WM7w== X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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-1 x86_64 emacs-mercurial 2.7.1-1 x86_64 git-filter-repo 2.38.0-1 noarch idle2 2.7.18-4 x86_64 idle27 2.7.18-4 x86_64 idle35 3.5.7-2 x86_64 idle36 3.6.15-1 x86_64 idle37 3.7.12-1 x86_64 idle38 3.8.16-1 x86_64 idle39 3.9.16-1 x86_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-2 noarch offlineimap 6.5.5-1 x86_64 scons 4.4.0-1 x86_64 stgit 0.19-2 noarch svn-load 1.3-1 x86_64 urlgrabber 3.1.0-3 x86_64 xlsx2csv 0.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