From 2750e8f96cf3e41370e9ac8128ecefaa0614e096 Mon Sep 17 00:00:00 2001 From: James Tomlinson Date: Fri, 3 Jan 2025 23:14:45 +0000 Subject: [PATCH] chore: Move the PyO3 abi3-py39 feature to workspace. (#325) --- Cargo.toml | 2 +- pywr-python/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c3cd58ef..8bf153cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ float-cmp = "0.10" ndarray = "0.16" polars = { version = "0.45", features = ["lazy", "rows", "ndarray"] } pyo3-polars = "0.19" -pyo3 = { version = "0.22" } +pyo3 = { version = "0.22", features = ["abi3-py39"] } pyo3-log = "0.11" tracing = { version = "0.1", features = ["log"] } csv = "1.3" diff --git a/pywr-python/Cargo.toml b/pywr-python/Cargo.toml index 3ef30490..8d7ce4ec 100644 --- a/pywr-python/Cargo.toml +++ b/pywr-python/Cargo.toml @@ -16,7 +16,7 @@ categories = ["science", "simulation"] [dependencies] # The Github workflow is configured to use the minimum version corresponding to the `abi3-pyXX` feature enabled here. # Please remember to update the workflow if changing the ABI version. -pyo3 = { workspace = true, features = ["extension-module", "macros", "abi3-py39", "chrono"] } +pyo3 = { workspace = true, features = ["extension-module", "macros", "chrono"] } pyo3-polars = { workspace = true } pyo3-log = { workspace = true } serde = { workspace = true }