Am 21.10.25 um 22:31 schrieb Richard Kimberly Heck:
On 10/20/25 1:56 PM, Georg Baum wrote:

OK. What is the process to create the announcement text? I noticed that the ANNOUNCE file is still for 2.4.4, and status.24x is up to date, but does not contain the top most part of ANNOUNCE (where the python compatibility change should go IMHO).

Riki, do you want me to draft something, or are you going to take care?

I usually do that when preparing the release, but if you want to write something now about this particular issue, that'll give me a head start.

It turned out that this is more complex than expected. I drafted a text (partially stolen from the last 2.3.x release), and then I realized that we have checks for the minimum python version. I updated these as well.

What I do not know is whether building with MSVC on windows does still work. Is lyx-windows-deps-msvc2019_64.zip still relevant? This archive does still contain python 2.7. Who is responsible for that?


Georg
diff --git a/ANNOUNCE b/ANNOUNCE
index 560eb8aa90..bf7c5afa17 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,9 +1,25 @@
-Public release of LyX version 2.4.4
+Public release of LyX version 2.4.5
 ===================================
 
-We are proud to announce the release LyX 2.4.4, the fourth maintenance
-release in the 2.4.x series. We have fixed a number of bugs, including some
-crashes, and introduced a few new features.
+We are proud to announce the release LyX 2.4.5. This is the fifth and
+final maintenance release in the 2.4.x series. LyX 2.5.0 will be released
+very shortly, so many users may wish to wait for that rather than upgrading
+to 2.4.5. Some users, however, may want or need to continue using the 2.4.x
+series. We encourage those users to upgrade to this version.
+
+LyX 2.4.5 is the result of on-going efforts to make our stable version
+more reliable and more stable. Several bugs and crashes have been fixed here,
+but the main addition is the ability to import and export files in the new
+2.5.x format.
+
+The import and export capability of files in the 2.5.x format requires a
+higher minimum python than previous releases in the 2.4.x series. The minimum
+python version is now python 3.6.0 instead of python 2.7.0 or 3.5.0.
+
+
+
+OLD TEXT FOR 2.4.4. BELOW
+-------------------------
 
 Here are some highlights.
 
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1f3f8efc0..ac604bc5b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -924,26 +924,11 @@ unset(PYTHON_VERSION_MAJOR)
 unset(PYTHON_VERSION_MINOR)
 unset(PYTHON_VERSION_STRING)
 if (CMAKE_VERSION VERSION_LESS "3.13")
-  find_package(PythonInterp 3.5 QUIET)
-  if(NOT PYTHONINTERP_FOUND)
-    find_package(PythonInterp 2.0 REQUIRED)
-    if(NOT PYTHON_VERSION_STRING VERSION_LESS 2.8)
-      message(FATAL_ERROR "Python interpreter found, but is not suitable")
-    endif()
-  endif()
+  find_package(PythonInterp 3.6 QUIET)
   set(LYX_PYTHON_EXECUTABLE ${PYTHON_EXECUTABLE} CACHE FILEPATH "Python to be used by LyX")
 else()
-  find_package(Python3 3.5 QUIET)
-  if(NOT Python3_Interpreter_FOUND)
-    unset(PYTHON_EXECUTABLE CACHE)
-    find_package(Python2 2.0 REQUIRED)
-    if(NOT Python2_VERSION VERSION_LESS 2.8)
-      message(FATAL_ERROR "Python interpreter found, but is not suitable")
-    endif()
-    set(LYX_PYTHON_EXECUTABLE ${Python2_EXECUTABLE} CACHE FILEPATH "Python to be used by LyX")
-  else()
-    set(LYX_PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE FILEPATH "Python to be used by LyX")
-  endif()
+  find_package(Python3 3.6 QUIET)
+  set(LYX_PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE FILEPATH "Python to be used by LyX")
 endif()
 
 if(LYX_NLS)
diff --git a/INSTALL b/INSTALL
index ec959ff6a8..0d5bd5f730 100644
--- a/INSTALL
+++ b/INSTALL
@@ -83,7 +83,7 @@ compile LyX with up-to-date translations (at least gettext version
 
 The two following programs should be available at configuration time:
 
-  o Python (2.7 or 3.5 and newer) must be installed. Python is used for many
+  o Python (3.6 and newer) must be installed. Python is used for many
     simple tasks that are executed by external scripts, such as the automatic
     configuration step and the import of older LyX documents with the lyx2lyx
     script (this script is called automatically when opening a file).
diff --git a/config/Makefile.am b/config/Makefile.am
index ed7380e074..c6578ecfc7 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -3,7 +3,6 @@ include $(top_srcdir)/config/common.am
 EXTRA_DIST = \
 	common.am \
 	lyxinclude.m4 \
-	lyxpython.m4 \
 	pkg.m4 \
 	qt.m4 \
 	spell.m4
diff --git a/configure.ac b/configure.ac
index c32a856d56..13056de2d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,7 @@ for file in config/install-sh ; do
 done
 
 # Find a suitable python interpreter
-LYX_PATH_PYTHON23([2.7.0], [3.5.0])
-# do the usual python setup stuff
-AM_PATH_PYTHON
+AM_PATH_PYTHON([3.6.0])
 
 # Tools for creating libraries (note that we do not use libtool)
 AM_PROG_AR
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to