From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 10BAB3858D35 for ; Thu, 16 Mar 2023 21:12:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 10BAB3858D35 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-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id coMipNPOojvm1cutqpnM0q; Thu, 16 Mar 2023 21:12:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1679001158; bh=xpjd5SgEEnN4sKP+vCC+kdWfu9HvrR3MY05IiNMLOSg=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=uI6KsJ/8HCu8LWxon3ijWDkO8amM26WdGBLJ9k4UQqalnwjA82IYbUywv9AW4Y4tS tCT4egw1mAKz9XQoA1B1lFJtuslseB80AI9J1JYxe+gsOTVz0y/Y3h59a6d9Jf6kto JGTkmQpVNfpG7rWQ4W67SFowD/rek1aN3DufeeAA67aqzcG1nI348DCLW7nodP23ZX KTYCunH26Y8PmO0zwkXRFJjZ96rSFwnV45Mz6pDw6MEAUVMYFFejbM+52X0LG0uCMC Zdjw5J+k7L4Kx7qhsC/1UumfREI3I9zOSxPUsglXBNpcWY4kgQ7lF+niJhf9LiNv7b WYmeQE6d3AW4g== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id cutppBmwHcyvucutqp7BcY; Thu, 16 Mar 2023 21:12:38 +0000 X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64138646 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=8ygl9qgKAd6-rDP19JQA:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Thu, 16 Mar 2023 15:12:37 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Reply-To: cygwin-apps@cygwin.com Subject: Re: ITA xlsx2csv (was Re: python2 removal) Content-Language: en-CA To: cygwin-apps@cygwin.com References: <07106598-5bc3-055f-5875-abe5aa7baffc@dronecode.org.uk> <2f49719c-aff9-8053-bb6d-cea25b150fd3@dronecode.org.uk> <2de90be0-8871-7390-950c-f65c2514e65e@dronecode.org.uk> From: Brian Inglis Organization: Inglis In-Reply-To: <2de90be0-8871-7390-950c-f65c2514e65e@dronecode.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfCDBqmVHXw+wyiJ1hHYH98NjhrOvrP0mMHsPhVw/0xfRyJ7xlGLFYEobdQr4Wc75wrs0HcxKA6BCriljZsIzQFwb8+Ds3PMHUHlFrZmffARPrpmmRNer Xyf7e5mi5gbW5mLn0Y8RNaZub7JqPqRgvXMcUxmvW+EiHdrGVFCRQzJPNPRQkkbBtlaCNNmURrsqsg== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,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-16 12:57, Jon Turney wrote: > On 16/03/2023 15:53, Brian Inglis via Cygwin-apps wrote: >> On 2023-03-16 07:29, Jon Turney wrote: >> >>> The critical piece of data I'm missing here is which of these is true: >>> a) This package contains a script with a python shebang. The current version >>> doesn't work when python is python3, so an upgrade is needed to continue >>> working when python2 is removed, or >>> b) This package contains a script with a python shebang. The current version >>> will continue to work when python is python3. >> Unfortunately only a generic cygbuild sh script is supplied with the package - >> does nothing but complain without some other "magic" script or data! ;^> >> Jari's Debian 8/9 xlsx2csv releases have been updated to 0.20+20161027 from >> 0.11+20120814. >> $ sed 1q xlsx2csv.py >> #!/usr/bin/env python >> Does not work with python3, nor after running 2to3 fixes - see attached logs - >> IANAPythonista >> Anyway pylint was not useful compared to 2to3 - see attached pylint before and >> after 2to3 logs compared to 2to3 log. > This is not an unequivocal answer to my question. > It sounds like you are saying "even the most recent version of xlsx2cvs doesn't > work with python3", in which case the only sane option is to remove this package > when python2 is removed. Sorry if I was not sufficiently clear but that is not the case at all. > Is that what you mean? If not, what do you mean? > Please answer with a single sentence. Current Cygwin package is python2 only from 2010 when python3 first came out. You asked about the current Cygwin source package - that is all those answers refer to - and the logs relate to - nothing about the latest upstream package. The Cygwin source package as distributed does not work with python3, it can not be easily upgraded to work with python3 using 2to3, and there is no way for us to rebuild it anyway, as it depends on some cygbuild "magic" not provided in the source package. The latest version of the upstream package builds, installs, checks, and runs fine using minimal cygport and python3 cygclasses, as referred to in the scallywag links provided. I am replacing the upstream man page provided, as it was written in POD, applies to the outdated 2010 release, and the latest upstream version's help has many more options, is more comprehensive, and was started with help2man. -- 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