From f38ab2f073cc6599ef4d4248a00fe07a74d0e63b Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 17 Jun 2024 04:41:44 +0800 Subject: revert!: revert for two previous commit --- .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 58c6004..d9200ad 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.9' + python-version: '3.10' - 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.9' + python-version: '3.10' 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.9' + python-version: '3.10' - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 45f3d04..a6864ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,6 @@ authors = ["HsiangNianian "] crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.19.2" } +pyo3 = { version = "0.19.2", features = ["abi3-py310"] } clap = { version = "4.0", features = ["derive"] } rand = "0.8.5" -- cgit v1.2.3-70-g09d2