Publish pre-built wheels for Python 3.13 (#1485)
This commit is contained in:
4
.github/workflows/build-wheels-aarch64.yaml
vendored
4
.github/workflows/build-wheels-aarch64.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
manylinux: [manylinux2014] #, manylinux_2_28]
|
||||
|
||||
steps:
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_BEFORE_ALL: |
|
||||
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/build-wheels-linux.yaml
vendored
4
.github/workflows/build-wheels-linux.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
manylinux: [manylinux2014] #, manylinux_2_28]
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_BEFORE_ALL: |
|
||||
git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
|
||||
|
||||
@@ -21,13 +21,13 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-13]
|
||||
python-version: ["cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='arm64'"
|
||||
|
||||
@@ -21,13 +21,13 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest]
|
||||
python-version: ["cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='arm64;x86_64'"
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-13]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
|
||||
- name: Build wheels
|
||||
if: matrix.python-version != 'cp37'
|
||||
uses: pypa/cibuildwheel@v2.15.0
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES='x86_64'"
|
||||
|
||||
4
.github/workflows/build-wheels-win32.yaml
vendored
4
.github/workflows/build-wheels-win32.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
|
||||
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||
# for a list of versions
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.16.5
|
||||
uses: pypa/cibuildwheel@v2.21.3
|
||||
env:
|
||||
CIBW_ENVIRONMENT: SHERPA_ONNX_CMAKE_ARGS="-A Win32"
|
||||
CIBW_BUILD: "${{ matrix.python-version}}-* "
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2019]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
2
.github/workflows/build-wheels-win64.yaml
vendored
2
.github/workflows/build-wheels-win64.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2019]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
3
.github/workflows/run-python-test-macos.yaml
vendored
3
.github/workflows/run-python-test-macos.yaml
vendored
@@ -54,6 +54,9 @@ jobs:
|
||||
- os: macos-latest
|
||||
python-version: "3.12"
|
||||
|
||||
- os: macos-latest
|
||||
python-version: "3.13"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
2
.github/workflows/run-python-test.yaml
vendored
2
.github/workflows/run-python-test.yaml
vendored
@@ -53,6 +53,8 @@ jobs:
|
||||
python-version: "3.11"
|
||||
- os: ubuntu-22.04
|
||||
python-version: "3.12"
|
||||
- os: ubuntu-22.04
|
||||
python-version: "3.13"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
1
.github/workflows/test-build-wheel.yaml
vendored
1
.github/workflows/test-build-wheel.yaml
vendored
@@ -140,6 +140,7 @@ jobs:
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.10.11/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.11.9/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.12.7/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.13.0/x64/bin:$PATH
|
||||
|
||||
which sherpa-onnx
|
||||
sherpa-onnx --help
|
||||
|
||||
7
.github/workflows/test-pip-install.yaml
vendored
7
.github/workflows/test-pip-install.yaml
vendored
@@ -42,6 +42,8 @@ jobs:
|
||||
python-version: "3.11"
|
||||
- os: ubuntu-22.04
|
||||
python-version: "3.12"
|
||||
- os: ubuntu-22.04
|
||||
python-version: "3.13"
|
||||
|
||||
- os: macos-12
|
||||
python-version: "3.8"
|
||||
@@ -55,6 +57,8 @@ jobs:
|
||||
|
||||
- os: macos-14
|
||||
python-version: "3.12"
|
||||
- os: macos-14
|
||||
python-version: "3.13"
|
||||
|
||||
- os: windows-2019
|
||||
python-version: "3.7"
|
||||
@@ -69,6 +73,8 @@ jobs:
|
||||
python-version: "3.11"
|
||||
- os: windows-2022
|
||||
python-version: "3.12"
|
||||
- os: windows-2022
|
||||
python-version: "3.13"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -105,6 +111,7 @@ jobs:
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.10.11/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.11.9/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.12.7/x64/bin:$PATH
|
||||
export PATH=/c/hostedtoolcache/windows/Python/3.13.0/x64/bin:$PATH
|
||||
|
||||
sherpa-onnx --help
|
||||
sherpa-onnx-keyword-spotter --help
|
||||
|
||||
Reference in New Issue
Block a user