summarylogtreecommitdiffstats
path: root/python-version.patch
blob: 56c803d6c97fc8d4d3ce0e8ec4abc54b9b7c7713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --color --unified --recursive --text openeb.orig/cmake/custom_functions/python3.cmake openeb.new/cmake/custom_functions/python3.cmake
--- openeb.orig/cmake/custom_functions/python3.cmake	2023-03-15 20:23:19.745655351 +0100
+++ openeb.new/cmake/custom_functions/python3.cmake	2023-03-15 20:24:03.045154659 +0100
@@ -126,12 +126,12 @@
 
     # this variable is used to create all python versions packages variables for cpack
     # but not all of them will be generated, only the one indicated by PYBIND11_PYTHON_VERSIONS
-    set (PYTHON3_ALL_VERSIONS "3.6;3.7;3.8")
+    set (PYTHON3_ALL_VERSIONS "3.6;3.7;3.8;3.10;3.11;3.12")
 
     # this variable is used to set the default version for package dependency, i.e this version
     # is always available for the current installation
     if (UNIX AND NOT APPLE AND (NOT DEFINED PYTHON3_DEFAULT_VERSION))
-        set (PYTHON3_DEFAULT_VERSION "3.6")
+        set (PYTHON3_DEFAULT_VERSION "3.12")
         find_program(_lsb_release_exec lsb_release)
         if (_lsb_release_exec)
             execute_process(COMMAND ${_lsb_release_exec} -cs