[PATCH] lyxpreview_tools.py: fix a regular expression

Stephan Witt st.witt at gmx.net
Sun Feb 16 12:34:30 UTC 2020

Am 16.02.2020 um 04:26 schrieb Richard Kimberly Heck <rikiheck at lyx.org>:
> On 2/15/20 10:07 PM, Scott Kostyshak wrote:
>>> I'm curious, why is it necessary to support Python 2?
>> I forget what the discussion is regarding why we chose those versions.
>> From what I understand, requiring 2.7 (as opposed to some earlier 2.x)
>> makes things easier. Probably we will not allow 2.7 after some time or
>> whenever it would be a pain to maintain 2.7 compatibility for a
>> particular issue.
> It's only quite recently that we've managed to make all of our scripts
> compatible with Python 3. Like, in the 2.3.x series? The reason why we
> did not just switch to Python 3 had originally to do with two things, I
> think. First, the Windows installer has used Python 2 for a while, and
> we are reluctant to change that lest we break things. Second, there have
> long been issues about detecting the right version of Python, especially
> (again) on Windows.

On Mac python 2.7 comes with the OS until Catalina.

At least I cannot switch to it as some of my bought software (32-bit) 
cannot be executed any more. So I have to find a solution for it before.

If we require python3 we’re forcing people to upgrade to Catalina -
not possible on old hardware (before ~ 2011) or to install additional
python software packages.


More information about the lyx-devel mailing list