Skip to content

Commit 9d5f856

Browse files
stevefalcoimciner2
authored andcommitted
Allow python 3.12
(Cherry-picked from 2c98315)
1 parent 7efda5f commit 9d5f856

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/FindPythonInterp.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ unset(_Python_NAMES)
3737

3838
set(_PYTHON1_VERSIONS 1.6 1.5)
3939
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
40-
set(_PYTHON3_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
40+
set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
4141

4242
# Disabling the "search every possible place" code for now
4343
# see https://gitlab.com/kicad/code/kicad/-/issues/8553

cmake/FindPythonLibs.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cmake_find_frameworks(Python)
4444

4545
set(_PYTHON1_VERSIONS 1.6 1.5)
4646
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
47-
set(_PYTHON3_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
47+
set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
4848

4949
if(PythonLibs_FIND_VERSION)
5050
if(PythonLibs_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")

0 commit comments

Comments
 (0)