From f3795d9c4ae1a195b25d0f196f590daf769414e3 Mon Sep 17 00:00:00 2001 From: Akseli Lukkarila Date: Wed, 30 Oct 2024 15:22:38 +0200 Subject: [PATCH] use abi3 for common wheels --- .github/workflows/maturin.yml | 14 ++------------ python-pyo3/Cargo.lock | 4 ++-- python-pyo3/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/maturin.yml b/.github/workflows/maturin.yml index d15a169e..11c948e1 100644 --- a/.github/workflows/maturin.yml +++ b/.github/workflows/maturin.yml @@ -99,12 +99,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: | - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 + python-version: 3.x architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -131,12 +126,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: | - 3.9 - 3.10 - 3.11 - 3.12 - 3.13 + python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/python-pyo3/Cargo.lock b/python-pyo3/Cargo.lock index 27127f61..33f67150 100644 --- a/python-pyo3/Cargo.lock +++ b/python-pyo3/Cargo.lock @@ -674,9 +674,9 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.35" +version = "4.5.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07a13ab5b8cb13dbe35e68b83f6c12f9293b2f601797b71bc9f23befdb329feb" +checksum = "86bc73de94bc81e52f3bebec71bc4463e9748f7a59166663e32044669577b0e2" dependencies = [ "clap", ] diff --git a/python-pyo3/Cargo.toml b/python-pyo3/Cargo.toml index c1c5e5a2..f057d123 100644 --- a/python-pyo3/Cargo.toml +++ b/python-pyo3/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib"] [dependencies] anyhow = "1.0.91" nitor-vault = { path = "../rust" } -pyo3 = { version = "0.22.0", features = ["anyhow"] } +pyo3 = { version = "0.22.0", features = ["anyhow", "abi3", "abi3-py39"] } tokio = "1.41.0" [profile.release]