From b48e071ec17978d437ee3efe2c31c8728eebc94e Mon Sep 17 00:00:00 2001 From: angie Date: Fri, 23 Feb 2024 22:59:50 -0300 Subject: [PATCH] Add `abi3` feature to pyo3. Seems like the latest pyo3 version (0.20.3 at the date of writing) introduces a maximum version check which can make the our CI to fail. This can be turned off by setting the `abi3` feature, so that's what I did. More info: https://github.com/PyO3/pyo3/pull/3821 btw, why are you reading this commit message? I almost never write commit messages this long, so it an interesting coincidence that you ended up here. Please reach me and tell me how you ended up diggging this, so we can have a laugh together --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index afb25a4..b2cf1d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ crate-type = ["cdylib", "staticlib", "rlib"] [dependencies] regex = "1.10.2" -pyo3 = { version = "0.20.0", optional = true } +pyo3 = { version = "0.20.0", optional = true, features = ["abi3", "abi3-py37"]} lazy_static = "1.4.0" [features]