From f9dac11b0fda8f80d59607e3286e5bb464416f9b Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 25 May 2023 20:04:19 +0800 Subject: [PATCH] Add Python 3.12 sysconfigs --- src/python_interpreter/sysconfig-freebsd.json | 36 +++++++++++++++++++ src/python_interpreter/sysconfig-linux.json | 27 ++++++++++++++ src/python_interpreter/sysconfig-netbsd.json | 18 ++++++++++ src/python_interpreter/sysconfig-openbsd.json | 27 ++++++++++++++ src/python_interpreter/sysconfig-windows.json | 9 +++++ 5 files changed, 117 insertions(+) diff --git a/src/python_interpreter/sysconfig-freebsd.json b/src/python_interpreter/sysconfig-freebsd.json index 91dde1a0d..ab8ed4f02 100644 --- a/src/python_interpreter/sysconfig-freebsd.json +++ b/src/python_interpreter/sysconfig-freebsd.json @@ -44,6 +44,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ], "i686": [ @@ -91,6 +100,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ], "aarch64": [ @@ -138,6 +156,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ], "armv7l": [ @@ -185,6 +212,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ] } \ No newline at end of file diff --git a/src/python_interpreter/sysconfig-linux.json b/src/python_interpreter/sysconfig-linux.json index 70cc3d553..184410d1b 100644 --- a/src/python_interpreter/sysconfig-linux.json +++ b/src/python_interpreter/sysconfig-linux.json @@ -54,6 +54,15 @@ "abi_tag": "311", "pointer_width": 32 }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312-i386-linux-gnu.so", + "abi_tag": "312", + "pointer_width": 32 + }, { "major": 3, "minor": 7, @@ -321,6 +330,15 @@ "abi_tag": "311", "pointer_width": 32 }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312-arm-linux-gnueabihf.so", + "abi_tag": "312", + "pointer_width": 32 + }, { "major": 3, "minor": 7, @@ -404,6 +422,15 @@ "abi_tag": "311", "pointer_width": 32 }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312-arm-linux-gnueabihf.so", + "abi_tag": "312", + "pointer_width": 32 + }, { "major": 3, "minor": 7, diff --git a/src/python_interpreter/sysconfig-netbsd.json b/src/python_interpreter/sysconfig-netbsd.json index b47c5e31e..b8e69a631 100644 --- a/src/python_interpreter/sysconfig-netbsd.json +++ b/src/python_interpreter/sysconfig-netbsd.json @@ -35,6 +35,24 @@ "ext_suffix": ".so", "abi_tag": "310", "pointer_width": 64 + }, + { + "major": 3, + "minor": 11, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".so", + "abi_tag": "311", + "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".so", + "abi_tag": "312", + "pointer_width": 64 } ] } \ No newline at end of file diff --git a/src/python_interpreter/sysconfig-openbsd.json b/src/python_interpreter/sysconfig-openbsd.json index 5fd478819..bbaa8eb4d 100644 --- a/src/python_interpreter/sysconfig-openbsd.json +++ b/src/python_interpreter/sysconfig-openbsd.json @@ -35,6 +35,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ], "i686": [ @@ -73,6 +82,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ], "aarch64": [ @@ -111,6 +129,15 @@ "ext_suffix": ".cpython-311.so", "abi_tag": "311", "pointer_width": 64 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cpython-312.so", + "abi_tag": "312", + "pointer_width": 64 } ] } \ No newline at end of file diff --git a/src/python_interpreter/sysconfig-windows.json b/src/python_interpreter/sysconfig-windows.json index b6f999af7..5d7867d9c 100644 --- a/src/python_interpreter/sysconfig-windows.json +++ b/src/python_interpreter/sysconfig-windows.json @@ -136,6 +136,15 @@ "ext_suffix": ".cp311-win32.pyd", "abi_tag": null, "pointer_width": 32 + }, + { + "major": 3, + "minor": 12, + "abiflags": "", + "interpreter": "cpython", + "ext_suffix": ".cp312-win32.pyd", + "abi_tag": null, + "pointer_width": 32 } ], "aarch64": [