From 62b9be2ef081517eb17cd1f32bc432ccbfda9e83 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 17 Jun 2024 04:45:44 +0800 Subject: chore(ci|deps): use python3.9 && change into abi3-py37 ^^ --- .github/workflows/release.yml | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9200ad..58c6004 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.9' - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.9' architecture: ${{ matrix.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -73,7 +73,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.9' - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/Cargo.toml b/Cargo.toml index a6864ee..35f6ff4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,6 @@ authors = ["HsiangNianian "] crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.19.2", features = ["abi3-py310"] } +pyo3 = { version = "0.19.2", features = ["abi3-py37"] } clap = { version = "4.0", features = ["derive"] } rand = "0.8.5" -- cgit v1.2.3-70-g09d2