gnucash stable: Update minumum Python version to 3.8.

John Ralls jralls at code.gnucash.org
Thu Feb 29 19:22:55 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/7eaa177e (commit)
	from  https://github.com/Gnucash/gnucash/commit/8ebac5b5 (commit)



commit 7eaa177eae24fc87e32a09a038c61457840380ca
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Feb 29 16:12:53 2024 -0800

    Update minumum Python version to 3.8.
    
    Required to support Python 3.13 and later because the new C API used
    in 1d8c525af was introduced in Python 3.8; the previous API was a
    holdover from Python 2, deprecated in 3.7, and is removed in 3.13.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 341166576c..6761d9e8e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -499,7 +499,7 @@ endif()
 # ############################################################
 
 if (WITH_PYTHON)
-  set (PYTHON_MIN_VERSION 3.6.0)
+  set (PYTHON_MIN_VERSION 3.8.0)
   if (NOT DEFINED Python3_FIND_UNVERSIONED_NAMES)
     set (Python3_FIND_UNVERSIONED_NAMES FIRST)
   endif()
diff --git a/README.dependencies b/README.dependencies
index dd6cd8cf26..018d1620d3 100644
--- a/README.dependencies
+++ b/README.dependencies
@@ -96,7 +96,7 @@ Libraries/Deps
   aqbanking             6.4.0                    online banking and SWIFT
   gwenhywfar            5.8.0                    file imports.
 
-  python                3.6.0                    python bindings; headers
+  python                3.8.0                    python bindings; headers
                                                  required, not just binaries.
   libofx                0.9.12                   OFX/QFX import
 



Summary of changes:
 CMakeLists.txt      | 2 +-
 README.dependencies | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list