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.

Is that what you mean? If not, what do you mean?

Please answer with a single sentence.

Reply via email to