No longer allow compact_str 0.8

This commit is contained in:
Benjamin A. Beasley 2025-04-12 19:48:03 -04:00
commit e3564f4545
2 changed files with 0 additions and 17 deletions

View file

@ -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 }

View file

@ -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}