From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2124.outbound.protection.outlook.com [40.107.92.124]) by sourceware.org (Postfix) with ESMTPS id 9C6413857C53 for ; Mon, 24 Aug 2020 12:58:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9C6413857C53 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n4GxsFhpI9gh+2cxzXWT6dG7lRXTqpX8VG7YG6d25wyTpE2dpmFmgpMdd4EFKzWEbn/o8FOCH4OjXFwCzxOdr7LF4eR+QHD4PHicbxfDnuabZxCngXxd23f+6WH5Itu8CbuKddWrxwXBeAbMT8/OzzUCPGOHFqtAQLm+dGuoE6Va5CcVs2nFeD/mP3lzDO2Y25xe9JpU3CrqRL+PXW5kvnvzwiv5BDr8a0AEqw7nBGbstPzwBx2KcjK9bkVbnu1JvIsxtefYkdcypsddmS0jTTxQA2kncitfvqC9qimz2dbxs9VQJsPTnRNfnyHVI0qDXU0w/LVVkOs5uhUZzThl6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FpkcSaYNZMMTKk9ZXytqW/9l6nZGWo7iTCBWhkB3WAE=; b=Il/jfqP/CQxdShOgsXp7ialX3InwgajahYRwAbOp4x0BDVQjC5SED7ZqLlx256OvdOPxz179S78Fs6RJN5ccUllfQ1ZxCKArJ8HERWn2X3HDKSoJibYSjy7YgaT0V4Xy9ahSk3uTvIfE8hQx/qU4d/UO1+Q9+QhqxuYulX2AA/y32+uzueqSDL/GaKrW9IL1vcTnk+ZXky9dVlsfSbwSLksTL5lJJRQ5ydkLufAJkcCoLpaUO1ZCpT7Cep5Yb6CW4WaVGJtBcj7Ozo191LGd92hvhCulOaa9FfD0l9B02RijAotJsDvtEZF3wcbCVlh7k1ysc2m0s4QfDxhuaDZhNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) by MN2PR04MB5757.namprd04.prod.outlook.com (2603:10b6:208:3f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25; Mon, 24 Aug 2020 12:58:31 +0000 Received: from MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::184d:a265:1d48:499a]) by MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::184d:a265:1d48:499a%7]) with mapi id 15.20.3305.026; Mon, 24 Aug 2020 12:58:31 +0000 Subject: Re: [PATCH] doc: Various fixes to makedocbook for python3.8 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> From: Ken Brown Message-ID: <2eb663d5-c26e-49fc-5f12-b23469d48e34@cornell.edu> Date: Mon, 24 Aug 2020 08:58:29 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 In-Reply-To: <4843284e-a77f-788d-8ccd-0b5a8e9ad408@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MN2PR18CA0028.namprd18.prod.outlook.com (2603:10b6:208:23c::33) To MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from 255.255.255.255 (255.255.255.255) by MN2PR18CA0028.namprd18.prod.outlook.com (2603:10b6:208:23c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25 via Frontend Transport; Mon, 24 Aug 2020 12:58:30 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: faad6776-c638-4c35-e542-08d8482d66d0 X-MS-TrafficTypeDiagnostic: MN2PR04MB5757: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zGSNdvuiBMyknj53quRu8GaJEbIHZ/9x4H5zrdBYrxX4miauhNF2Igk0JlpcA9QVMXc3N73pen+U42FUjzLSS+caOx2g+T/llUYUYkGWyvHceQP6n9AoXEwrDLEiwUlZ/lJr2tpZbCxkbHs6jjwNxp8cUnUrYS6fP7Yejz+NFoMokvP5JBIZhjndLsV+5LXR48J82Quxm4mkoD7Epb/5Nco0u+PVt+JPAjJwLjRTNyfYiJ89RUs0G3Aqsn63TKV5UGF+awEDOMId4g1sWjCRjMPSqXkmFIscKiXK7eKmzmviRElcwn6BhgWxsop+4OUpAjwISQrLu8XhZMMsiC5tL/y1vSzS7Rk4Aa2hbKRjwzuT2EZ/tzcIHDfeAL7/VlByBQj4QNERFdvh5Rv4Xid1sd+OVDWgVh+Isn2et9cQCzxvmVHUqW8NKL8Osj/l+WrQaw2SMMvdfH38O7m4lMIAT/bm682CI51Cm7LreRAAxQU= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(83380400001)(478600001)(2906002)(8936002)(66946007)(66556008)(66476007)(36756003)(86362001)(8676002)(75432002)(966005)(16576012)(786003)(316002)(31686004)(31696002)(53546011)(26005)(2616005)(186003)(6486002)(5660300002)(6916009)(956004)(52116002)(43740500002)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: TXwGTTbPNPpy7CUnxSwJdDgL7SArFigaLMbxze7ETSlDHfNgFSgZdwjh9gjsJOZNm6HOVf/X2k5iIPnjcQXOrNHrtZvtrxB3wXVVGYG+ev7XH5OJo6uvqJLqV5enSlKzd/4zNgGMgYIK+bGRGFGR/fjZRBlZJt0Cr1LKLCHXfFO+BUDWELHFvo8x4AMOyprmEPylc2K34GARxi+r7ZA3fMMDcT6vXCdikbKxlRIP1qvoSXm8iab6M7Q1jN0ft1va39lhDDio2DtNf9Xl3HpblyUVUbMHLku8AwyH+qbtN+EsT3rfv+De7pdn251i2/4B4df7vwY4DWfMdC7FJCyGpewLTsHbabaDcHpR5xta504C5CAeH5IAvsLyGwBfJTvXksKO22srhwma2XZ+uX4C2Pxpd0S4dGisxSHOsn6hSkY/CVCPsOwke8DtzZvjAFEHPKjb7xKStcZoM47GGB4d0kugCM256I0MHPMTlzZfC/Kk2swvMHzUOLrKDYP+LHz9E1qpGW9nKIFmTCRezcZEq0iTLgOEo+EeJ3JJ/Spkfa3dwP7kjTcy6sBL0ecPirEYjlwkb/EOPKycAp/m+hUkOXA7FM1MOIVHW6ZvjOEzQEmmiQy9hfLc5/kQNWZjnE7M1oHO1wnQ/mxWNE4A7583Sw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: faad6776-c638-4c35-e542-08d8482d66d0 X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2020 12:58:31.1068 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fl8Ummlz+/UA6KflytejSlJlAtTiFCvRxydKjws+rD5gP2mwZhEV3Hlp2x526s1ATgMxgVUAb488LtYza5q5dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5757 X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_ASCII_DIVIDERS, KAM_NUMSUBJECT, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_ILLEGAL_IP, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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 12:58:34 -0000 On 8/24/2020 6:31 AM, 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 I think it's time to make python point to python3. I suggest setting /usr/bin/python -> python3 and then using alternatives to make /usr/bin/python3 resolve to a python3.x.exe. Ken