Update PyO3 to 0.24

This commit is contained in:
Benjamin A. Beasley 2025-04-08 09:45:36 -04:00
commit dd26b0fa97
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
From 217c375c2a2f96e28a1b3987f0eb5c730b4b361e Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Tue, 8 Apr 2025 09:40:09 -0400
Subject: [PATCH] Update PyO3 to 0.24
---
Cargo.toml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index bf9b6831..0ab9473f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,11 +65,11 @@ wasm32-compat = ["libcramjam/wasm32-compat"]
[dependencies]
-pyo3 = { version = "^0.23", default-features = false, features = ["macros"] }
+pyo3 = { version = "^0.24", default-features = false, features = ["macros"] }
libcramjam = { version = "^0.7", default-features = false }
[build-dependencies]
-pyo3-build-config = "^0.23"
+pyo3-build-config = "^0.24"
[profile.release]
strip = true

View file

@ -33,6 +33,10 @@ Source1: get_source
%endif
# Update PyO3 to 0.24
# https://github.com/milesgranger/cramjam/pull/207
Patch: %{url}/pull/207/commits/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch
BuildRequires: python3-devel
BuildRequires: tomcli
BuildRequires: cargo-rpm-macros >= 24