diff --git a/orjson-fix-metadata.diff b/orjson-fix-metadata.diff deleted file mode 100644 index b3116ec..0000000 --- a/orjson-fix-metadata.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur orjson-3.10.16-original/Cargo.toml orjson-3.10.16/Cargo.toml ---- orjson-3.10.16-original/Cargo.toml 1969-12-31 19:00:00.000000000 -0500 -+++ orjson-3.10.16/Cargo.toml 2025-04-02 20:09:24.874851253 -0400 -@@ -51,7 +51,7 @@ - [dependencies] - associative-cache = { version = "2", default-features = false } - bytecount = { version = "^0.6.7", default-features = false, features = ["runtime-dispatch-simd"] } --compact_str = { version = "0.9", default-features = false, features = ["serde"] } -+compact_str = { version = ">=0.8, <0.10", default-features = false, features = ["serde"] } - encoding_rs = { version = "0.8", default-features = false } - half = { version = "2", default-features = false, features = ["std"] } - itoa = { version = "1", default-features = false } diff --git a/python-orjson.spec b/python-orjson.spec index d2fb7ca..c48f102 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -18,11 +18,6 @@ License: Apache-2.0 OR MIT URL: https://github.com/ijl/orjson Source: %{pypi_source orjson} -# Manual patches for Cargo.toml -# - For now, allow compact_str 0.8; -# https://bugzilla.redhat.com/show_bug.cgi?id=2347456 -Patch: orjson-fix-metadata.diff - BuildRequires: tomcli BuildRequires: python3-devel BuildRequires: %{py3_dist pytest-forked}