From 2a19f05c50907354e4e49655695118b577ec0eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= <121866228+aborgna-q@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:03:31 +0000 Subject: [PATCH] ci: Build wheels using the python's stable ABI (#726) test wheels building run: https://github.com/CQCL/tket2/actions/runs/12357204894 Closes #724 drive-by: Update `macos` runner for the mac x86 wheels build job to `macos-13`, as `-12` has been deprecated. --- .github/workflows/python-wheels.yml | 2 +- tket2-py/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 75c642cf..30727477 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -148,7 +148,7 @@ jobs: strategy: matrix: platform: - - runner: macos-12 + - runner: macos-13 target: x86_64 - runner: macos-14 target: aarch64 diff --git a/tket2-py/Cargo.toml b/tket2-py/Cargo.toml index 7f2cc4e2..e905d547 100644 --- a/tket2-py/Cargo.toml +++ b/tket2-py/Cargo.toml @@ -28,7 +28,7 @@ serde_json = { workspace = true } tket-json-rs = { workspace = true, features = ["pyo3"] } hugr = { workspace = true } portgraph = { workspace = true, features = ["serde"] } -pyo3 = { workspace = true, features = ["py-clone"] } +pyo3 = { workspace = true, features = ["py-clone", "abi3-py310"] } num_cpus = { workspace = true } derive_more = { workspace = true, features = ["into", "from"] } itertools = { workspace = true }