From 0d5186847c52dbaa2711693e9a62f9172cea2a5d Mon Sep 17 00:00:00 2001 From: AtomicGamer9523 Date: Sat, 16 Dec 2023 07:38:11 -0800 Subject: [PATCH] Trying https://github.com/PyO3/pyo3/issues/3086 --- arc/Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arc/Cargo.toml b/arc/Cargo.toml index 820ebc8..8b5297d 100644 --- a/arc/Cargo.toml +++ b/arc/Cargo.toml @@ -15,9 +15,12 @@ crate-type = ["cdylib", "rlib"] package = "arc-robot-hardware" path = "../libs/robot/hardware" -[dependencies] +[dependencies.pyo3] #!!! Important - DO NOT ENABLE extension-module FEATURE HERE!!! -pyo3 = "0.20.0" +version = "0.20.0" +features = [ + "abi3-py311" # for python 3.11 +] [features] # instead extension-module feature for pyo3 is enabled conditionally