From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id 052123851C0B for ; Mon, 24 Aug 2020 13:00:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 052123851C0B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com Received: from calimero.vinschen.de ([217.91.18.234]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MHGTI-1kNLFr2x9c-00DIeV for ; Mon, 24 Aug 2020 15:00:51 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 13883A80934; Mon, 24 Aug 2020 15:00:50 +0200 (CEST) Date: Mon, 24 Aug 2020 15:00:50 +0200 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [PATCH] doc: Various fixes to makedocbook for python3.8 Message-ID: <20200824130050.GF3272@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20200822184520.57006-1-jon.turney@dronecode.org.uk> <20200824100211.GD3272@calimero.vinschen.de> <4843284e-a77f-788d-8ccd-0b5a8e9ad408@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4843284e-a77f-788d-8ccd-0b5a8e9ad408@gmail.com> X-Provags-ID: V03:K1:L/8JS7Z/uS2Bh5o6or/yP+GK+NpIW0+BOmfuqPCHEGkW8JTXc4w 7HplGHW9igc4LYayiVHA9vZ9xEpfXx7r0xvt20R7CgiWW89FUlbHOgI6dNYnQC81REbS4/9 2HE3Ps18qUFIaRI34VLut+QFkTw1RHoLKCIlEHIBNmrM7IJWr2jnodExnjgJFwG5ULRkj7X GFcfCr54ZHrC3kAOmXUPQ== X-UI-Out-Filterresults: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, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2020 13:00:54 -0000 On Aug 24 12:31, Marco Atzeri via Cygwin-apps wrote: > On 24.08.2020 12:02, Corinna Vinschen via Newlib wrote: > > On Aug 23 16:49, Brian Inglis wrote: > > > On 2020-08-23 13:41, Jon Turney wrote: > > > > On 23/08/2020 16:23, Ken Brown wrote: > > > > > On 8/22/2020 2:45 PM, Jon Turney wrote: > > > > > > --- > > > > > >   newlib/doc/makedocbook.py | 8 +++++--- > > > > > >   1 file changed, 5 insertions(+), 3 deletions(-) > > > > > > > > > > > > diff --git a/newlib/doc/makedocbook.py b/newlib/doc/makedocbook.py > > > > > > index 92d0f279d..3fab26f1a 100755 > > > > > > --- a/newlib/doc/makedocbook.py > > > > > > +++ b/newlib/doc/makedocbook.py > > > > [...] > > > > > Would it make sense to also change the shebang line so that makedocbook.py > > > > > uses python3?  Currently the build of Cygwin on Fedora uses python3, but the > > > > > build of Cygwin on Cygwin uses python2.  This is of no great importance, but a > > > > > recent IRC discussion shows that it can be confusing. > > > > > > > > Yeah, I guess that would make some sense, given that python2 is now EOL. > > > > > > > > Otoh, making it gratuitously not work with python2 seems a bit harsh. > > > > > > > > On the gripping hand, reading PEP 0394, I see it doesn't actually require that > > > > 'python' exist at all, so I guess changing the shebang as you suggest is the > > > > right thing to do. > > > > > > Is it not perhaps time to switch python from EOL python2 to python3, as there > > > are only 183 python2, 125 python27 to 199 python3, 129 python37 packages. > > > > This discussion actually belongs on cygwin-apps, not on newlib ¯\_(ツ)_/¯ > > > > > > Thanks, > > Corinna > > > > follow up from newlib > > python2 will be dead end of 2020. > https://python3statement.org/ > > > most of python2 and python3 packages are obsolete placeholders, > currently python3 points to python3.6 or python3.8, but I am seriously > considering to use alternatives to cover also python37 as already > done for sphinx and to prepare for the next python3.9. > > python38 has already 85 packages and I am working on another dozen, > if you need some specific package, let me know. > > Following the > https://www.python.org/dev/peps/pep-0394/ > > ---------------------------------------------------------------------- > Distributors may choose to set the behavior of the python command as > follows: > > - python2, > - python3, > - not provide python command, > - allow python to be configurable by an end user > or a system administrator. > > ---------------------------------------------------------------------- > > we are currently setting python as python2=python2.7 > > Question before I update the three python3.x > > - should I leave python as it is, or change to one of the > other settings ? > > Any preference ? For the last option I will use alternatives It should default to python3. Fedora performs this via an extra package python-unversioned-command, containing just a symlink /usr/bin/python -> ./python3 as well as a man page symlink /usr/share/man/man1/python.1.gz -> ./python3.1.gz. We could just do the same, no? Corinna