On Wed, Oct 08, 2025 at 08:28:43PM +0200, Georg Baum wrote: > Am 07.10.25 um 22:16 schrieb Pavel Sanda: > > > > I quickly checked the patch and it's surprisingly large. > > One notable change: > > -# Provide support for both python 2 and 3 > > -PY2 = sys.version_info[0] == 2 > > -# End of code to support for both python 2 and 3 > > I overlooked this indeed. > > > Should not we warn users that we stop support for python 2 for 2.4.5? > > If we keep dropping support then yes. IMHO it is not a problem to drop > python 2 support, python 2 EOL was more than five years ago: > https://www.python.org/doc/sunset-python-2/
IIRC the python 3 constructs Jose was pushing in devel branch made me uncomfortable even for 2.5 (requiring recent python 3 releases), don't remeber if they were part of lyx2lyx though. I did not realize this was going to be pushed into 2.4.5 and would scream more loudly at that time ;) > > And is necessary at the end of the stable series (not sure how > > difficult is to keep that working)? > > I did the same as Riki did for 2.3: Import the complete lyx2lyx package from > the next release. The alternative would be to import only lyx_2_5.py and do > adjustments where needed. If you prefer to do that I can have a look. I have little idea whether what I was requesting is couple lines of changes (like, just the two snippets relating to python 2) or more intricate touches with robust testing required. If the second is true, then the danger of introducing problems into conversion process looks more troubling that ditching older python releases. Pavel -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
