From d22ecca1a5499745eb3758c5c5c00aa515bddb2d Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 18 Jan 2024 21:04:20 +0000 Subject: [PATCH] Update to 3.9.12. Fixes rhbz#2259025. --- .gitignore | 1 + Remove-strict-ahash-version-pin.patch | 25 +++++++++++++++++++++++++ python-orjson.spec | 6 +++++- sources | 2 +- 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 Remove-strict-ahash-version-pin.patch diff --git a/.gitignore b/.gitignore index 59c9ea3..dab65bf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /orjson-3.9.7.tar.gz /orjson-3.9.8.tar.gz /orjson-3.9.10.tar.gz +/orjson-3.9.12.tar.gz diff --git a/Remove-strict-ahash-version-pin.patch b/Remove-strict-ahash-version-pin.patch new file mode 100644 index 0000000..569f70f --- /dev/null +++ b/Remove-strict-ahash-version-pin.patch @@ -0,0 +1,25 @@ +From db97d953cbe35e6a34372e4a9d4702d3fdd5ddb1 Mon Sep 17 00:00:00 2001 +From: Maxwell G +Date: Thu, 18 Jan 2024 21:07:59 +0000 +Subject: [PATCH] Remove strict ahash version pin + +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index c2cf457..475a1c0 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -45,7 +45,7 @@ no-panic = [ + yyjson = [] + + [dependencies] +-ahash = { version = "=0.8.6", default_features = false, features = ["compile-time-rng"] } ++ahash = { version = "0.8.6", default_features = false, features = ["compile-time-rng"] } + arrayvec = { version = "0.7", default_features = false, features = ["std", "serde"] } + associative-cache = { version = "2", default_features = false } + beef = { version = "0.5", default_features = false, features = ["impl_serde"] } +-- +2.43.0 + diff --git a/python-orjson.spec b/python-orjson.spec index bcad5d6..dd209b8 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -8,13 +8,14 @@ %bcond tests 1 Name: python-orjson -Version: 3.9.10 +Version: 3.9.12 Release: 1%{?dist} Summary: Fast, correct Python JSON library License: Apache-2.0 OR MIT URL: https://github.com/ijl/orjson Source: %{pypi_source orjson} +Patch: Remove-strict-ahash-version-pin.patch BuildRequires: tomcli BuildRequires: python3-devel @@ -94,6 +95,9 @@ export RUSTFLAGS='%{build_rustflags}' %changelog +* Thu Jan 18 2024 Maxwell G - 3.9.12-1 +- Update to 3.9.12. Fixes rhbz#2259025. + * Wed Nov 22 2023 Maxwell G - 3.9.10-1 - Update to 3.9.10. Fixes rhbz#2243767. diff --git a/sources b/sources index 19aef9a..627365a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (orjson-3.9.10.tar.gz) = 070bbee45ec08b1496b0f92d5b36d278000e33f00af6e45f2857b97c14682887558ca6413789cfebfc96a29d2366be0832a01e5e9a69868ab66d2907f86d999a +SHA512 (orjson-3.9.12.tar.gz) = b2689d92b34b6c818e5a798e6de08d693e3a6b04f205d943fb8960727153635faf7118d33ea78a79ce09aa0b066b07d431b27871a61a8de536f64a80f6bab387