From c1a7e2150e41c03250b2371e258fd1d77f828e32 Mon Sep 17 00:00:00 2001 From: voluntas Date: Thu, 25 Jul 2024 13:42:23 +0900 Subject: [PATCH] =?UTF-8?q?Python=203.8=20=E3=81=AE=E3=82=B5=E3=83=9D?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=82=92=E7=B5=82=E4=BA=86=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .python-version | 2 +- pyproject.toml | 3 +-- run.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.python-version b/.python-version index 9ad6380c..8e34c813 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8.18 +3.9.19 diff --git a/pyproject.toml b/pyproject.toml index d0c4e3a1..43f85816 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,13 +8,12 @@ license = { file = "LICENSE" } classifiers = [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -requires-python = ">= 3.8" +requires-python = ">= 3.9" [project.urls] Source = "https://github.com/shiguredo/sora-python-sdk" diff --git a/run.py b/run.py index 3c8cbcc3..2c4c2ab7 100644 --- a/run.py +++ b/run.py @@ -273,7 +273,7 @@ def main(): "-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH", f"-DCMAKE_SYSROOT={sysroot}", f"-DLIBCXX_INCLUDE_DIR={cmake_path(os.path.join(webrtc_info.libcxx_dir, 'include'))}", - f"-DPython_ROOT_DIR={cmake_path(os.path.join(sysroot, 'usr', 'include', 'python3.8'))}", + f"-DPython_ROOT_DIR={cmake_path(os.path.join(sysroot, 'usr', 'include', 'python3.9'))}", "-DNB_SUFFIX=.cpython-38-aarch64-linux-gnu.so", ]