diff options
| -rw-r--r-- | .github/workflows/release.yml | 6 | ||||
| -rw-r--r-- | 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: @@ -14,6 +14,6 @@ authors = ["HsiangNianian <i@jyunko.cn>"] 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" |
