Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-05 Thread Enrico Forestieri
On Wed, Jan 05, 2022 at 12:27:25PM +, José Abílio Matos wrote: > > On Tuesday, 4 January 2022 08.53.46 WET Enrico Forestieri wrote: > > I disagree. It should return the first usable version found first in > > PATH. The user has to be in control of what version has to be run, not > > the

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-05 Thread José Abílio Matos
On Tuesday, 4 January 2022 08.53.46 WET Enrico Forestieri wrote: > I disagree. It should return the first usable version found first in > PATH. The user has to be in control of what version has to be run, not > the software. I understand what you say, and I agree, but that is precisely what we

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-04 Thread Enrico Forestieri
On Tue, Jan 04, 2022 at 08:27:10AM +, José Abílio Matos wrote: > > The code can be made more complete. > E.g. previously we searched for python3* and python2* eventually I think that > we can go back to something related. Instead of returning the first python > that satisfies the

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-04 Thread José Abílio Matos
On Tuesday, 4 January 2022 07.16.52 WET Stephan Witt wrote: > Interestingly on my system the python3 is detected only if I install the > Python package from python.org. The python3 in /usr/bin is not tried? > Sorry, I didn’t read the code yet. It should according to the code in support/os.cpp.

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-03 Thread Stephan Witt
Am 04.01.2022 um 01:37 schrieb José Abílio Matos : > > On Friday, 31 December 2021 13.03.57 WET Stephan Witt wrote: > > I’m curious how difficult it would be to ignore python2 and present a > > message box for users to tell them how to get a python3 interpreter. > > > > BR, Stephan > > For now

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-03 Thread José Abílio Matos
On Friday, 31 December 2021 13.03.57 WET Stephan Witt wrote: > I’m curious how difficult it would be to ignore python2 and present a > message box for users to tell them how to get a python3 interpreter. > > BR, Stephan For now we always search for Python 3 before Python 2. We know what is the

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2022-01-03 Thread José Abílio Matos
On Wednesday, 29 December 2021 10.38.38 WET Stephan Witt wrote: > In any case we should ensure the detected usable python is used > consequently. > > Stephan This should be done now. All the heuristics regarding Python detection is now placed in src/support/ os.cpp. In particular we can try use

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2021-12-31 Thread Stephan Witt
Am 29.12.2021 um 11:38 schrieb Stephan Witt : > > Am 28.12.2021 um 13:55 schrieb José Abílio Matos : >> >> On Tuesday, 28 December 2021 12.33.57 WET Stephan Witt wrote: >>> The LyX tasks here are IMO: >>> 1. Assure the detected python3 is used consequently. This is not the case >>> ATM. >>> 2.

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2021-12-29 Thread Stephan Witt
Am 28.12.2021 um 13:55 schrieb José Abílio Matos : > > On Tuesday, 28 December 2021 12.33.57 WET Stephan Witt wrote: > > The LyX tasks here are IMO: > > 1. Assure the detected python3 is used consequently. This is not the case > > ATM. > > 2. Document the meaning of the prompts the LyX user is

Re: [RFC] Python related system prompt "Lyx must be updated" on macOS

2021-12-28 Thread José Abílio Matos
On Tuesday, 28 December 2021 12.33.57 WET Stephan Witt wrote: > The LyX tasks here are IMO: > 1. Assure the detected python3 is used consequently. This is not the case > ATM. > 2. Document the meaning of the prompts the LyX user is seeing on > Monterey. > 3. Provide a working python3 or give

Re: "Lyx must be updated"

2021-12-27 Thread Dr Eberhard Lisse
As per our personal conversation, I have seen this too, over the weekend. The window offers two choices one (something like) "Learn more...", the other "ok". If you click on "Learn more..." it takes you to https://www.python.org/doc/sunset-python-2 Can it be that this is caused by

Re: "Lyx must be updated"

2021-12-16 Thread Stephan Witt
t; Begin forwarded message: >>>> >>>> From: lyx-devel-ow...@lists.lyx.org >>>> Subject: "Lyx must be updated" >>>> Date: 16 December 2021 at 15:55:19 GMT+7 >>>> To: myi...@gmail.com >>>> >>>> Due to the m

Re: "Lyx must be updated"

2021-12-16 Thread Daniel
On 2021-12-16 22:16, Stephan Witt wrote: Am 16.12.2021 um 09:56 schrieb Murat Yildizoglu via lyx-users : I have tried to send this to lyx-devel but I am not a member. Begin forwarded message: From: lyx-devel-ow...@lists.lyx.org Subject: "Lyx must be updated" Date: 16 December 202

Re: "Lyx must be updated"

2021-12-16 Thread Stephan Witt
Am 16.12.2021 um 09:56 schrieb Murat Yildizoglu via lyx-users : > > I have tried to send this to lyx-devel but I am not a member. > >> Begin forwarded message: >> >> From: lyx-devel-ow...@lists.lyx.org >> Subject: "Lyx must be updated" >> Da