From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by sourceware.org (Postfix) with ESMTPS id 133F43857C64 for ; Mon, 24 Aug 2020 10:31:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 133F43857C64 Received: by mail-ej1-x641.google.com with SMTP id d11so11003053ejt.13 for ; Mon, 24 Aug 2020 03:31:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hOzc6ImD67/DO3sNg7spbsd7mom4126q/3Xs+yeQpgk=; b=JQK1HW0zs/PwrhyzGW3lKNVqe2WoIo2YObLKfTwiQJlUD8cMJnTTjlo1FMvlMvQfA+ FJhGU4iwJdomwSKPJJpp28fOt5BFLVckA24cMD2CM1qKJ7dGXkDXE/pTN4PkVq0a03aP AO/LeL8JMVfDv1RkFEI6z3FsCX93X+Up8HeZAKpfyJ4q6WKDe8imRpS0y7sJHTQGaBK2 7FyzkIu2zpIvgzDJ0iAVkFhe4gNdD5jttJFY1eGlHVUBtVohbHRF10P3SOe856rRYVzY FmueYB0bkd1z2xOdNbQ1kWnQE/rkLrbDDnC0KMVxodMxmXx9Lnn80e0cj47L1b6pjCmH 6D7Q== X-Gm-Message-State: AOAM531SO4k/oWPUyc9NuidwAEcTSdao4vx1z20XQdU8gDdmgrh75NnH F7fv6cQMe7KKhM1fvczcTtFganE724U= X-Google-Smtp-Source: ABdhPJw9GMLVzH6RXniLWdl0Wap/cQfenpMLyCaEp9EezbdM6/SGnvBE+It4LSbxI4g374uAbewu7w== X-Received: by 2002:a17:906:7d90:: with SMTP id v16mr4848278ejo.27.1598265116809; Mon, 24 Aug 2020 03:31:56 -0700 (PDT) Received: from [192.168.2.121] (pd9ed58c0.dip0.t-ipconnect.de. [217.237.88.192]) by smtp.gmail.com with ESMTPSA id j5sm6648986edy.29.2020.08.24.03.31.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Aug 2020 03:31:56 -0700 (PDT) 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> From: Marco Atzeri Message-ID: <4843284e-a77f-788d-8ccd-0b5a8e9ad408@gmail.com> Date: Mon, 24 Aug 2020 12:31:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824100211.GD3272@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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 10:31:59 -0000 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 Regards Marco