diff --git a/flutter/sherpa_onnx/pubspec.yaml b/flutter/sherpa_onnx/pubspec.yaml index 4d960ce0b..7b23596e8 100644 --- a/flutter/sherpa_onnx/pubspec.yaml +++ b/flutter/sherpa_onnx/pubspec.yaml @@ -23,6 +23,7 @@ homepage: https://github.com/k2-fsa/sherpa-onnx environment: sdk: ">=3.2.0 <4.0.0" + flutter: ">=2.8.1" dependencies: ffi: ^2.1.0 diff --git a/flutter/sherpa_onnx_android/pubspec.yaml b/flutter/sherpa_onnx_android/pubspec.yaml index 7ff627b96..c515cda50 100644 --- a/flutter/sherpa_onnx_android/pubspec.yaml +++ b/flutter/sherpa_onnx_android/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_android_arm64/pubspec.yaml b/flutter/sherpa_onnx_android_arm64/pubspec.yaml index 68a863a44..c21c14b77 100644 --- a/flutter/sherpa_onnx_android_arm64/pubspec.yaml +++ b/flutter/sherpa_onnx_android_arm64/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_android_armeabi/pubspec.yaml b/flutter/sherpa_onnx_android_armeabi/pubspec.yaml index c670c8bd3..ea3b285b6 100644 --- a/flutter/sherpa_onnx_android_armeabi/pubspec.yaml +++ b/flutter/sherpa_onnx_android_armeabi/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_android_x86/pubspec.yaml b/flutter/sherpa_onnx_android_x86/pubspec.yaml index 5ba6d7a2f..1353e2375 100644 --- a/flutter/sherpa_onnx_android_x86/pubspec.yaml +++ b/flutter/sherpa_onnx_android_x86/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_android_x86_64/pubspec.yaml b/flutter/sherpa_onnx_android_x86_64/pubspec.yaml index f32ebf641..b7063c7db 100644 --- a/flutter/sherpa_onnx_android_x86_64/pubspec.yaml +++ b/flutter/sherpa_onnx_android_x86_64/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_ios/pubspec.yaml b/flutter/sherpa_onnx_ios/pubspec.yaml index b532f7ac9..ff7ef2f10 100644 --- a/flutter/sherpa_onnx_ios/pubspec.yaml +++ b/flutter/sherpa_onnx_ios/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_linux/pubspec.yaml b/flutter/sherpa_onnx_linux/pubspec.yaml index eff619104..83434570c 100644 --- a/flutter/sherpa_onnx_linux/pubspec.yaml +++ b/flutter/sherpa_onnx_linux/pubspec.yaml @@ -21,6 +21,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_macos/pubspec.yaml b/flutter/sherpa_onnx_macos/pubspec.yaml index 4a84d287a..0e3bef3d2 100644 --- a/flutter/sherpa_onnx_macos/pubspec.yaml +++ b/flutter/sherpa_onnx_macos/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_windows/pubspec.yaml b/flutter/sherpa_onnx_windows/pubspec.yaml index a159cee60..aae47a8ae 100644 --- a/flutter/sherpa_onnx_windows/pubspec.yaml +++ b/flutter/sherpa_onnx_windows/pubspec.yaml @@ -22,6 +22,7 @@ topics: environment: sdk: ">=3.0.0 <4.0.0" + flutter: ">=2.8.1" flutter: plugin: diff --git a/flutter/sherpa_onnx_windows/windows/.gitignore b/flutter/sherpa_onnx_windows/windows/.gitignore index b3eb2be16..a0636e3e3 100644 --- a/flutter/sherpa_onnx_windows/windows/.gitignore +++ b/flutter/sherpa_onnx_windows/windows/.gitignore @@ -7,7 +7,6 @@ flutter/ *.sln.docstates # Visual Studio build-related files. -x64/ x86/ # Visual Studio cache files diff --git a/scripts/wheel/patch_wheel.py b/scripts/wheel/patch_wheel.py index 3dcf660c9..5b57f245b 100755 --- a/scripts/wheel/patch_wheel.py +++ b/scripts/wheel/patch_wheel.py @@ -46,6 +46,8 @@ def process(out_dir: Path, whl: Path): py_version = "3.13" elif "cp314" in str(whl): py_version = "3.14" + elif "cp315" in str(whl): + py_version = "3.15" elif "py3-none" in str(whl): py_version = None else: