The package rpms/python-orjson.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/python-orjson.git/commit/?id=5052b5c....
Change: +%ifnarch %{ix86}
Thanks.
Full change: ============
commit 5052b5c625f4800b80e64dcdb8e3825c481f2bc4 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Jun 1 15:52:28 2024 -0400
Enable skipped pandas and psutil integration tests
diff --git a/python-orjson.spec b/python-orjson.spec index 5f1665f..f0fb1a1 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -24,6 +24,11 @@ BuildRequires: %{py3_dist pytest-forked} # everywhere. BuildRequires: %{py3_dist numpy} BuildRequires: %{py3_dist pendulum} +# These are not in tests/requirements.txt, but they enable additional tests +%ifnarch %{ix86} +BuildRequires: %{py3_dist pandas} +%endif +BuildRequires: %{py3_dist psutil} BuildRequires: rust-packaging
commit 4a83f9b813616664b802aa994e8c6f1abdfb2505 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Jun 1 15:50:44 2024 -0400
Re-enable skipped numpy and pendulum integration tests
diff --git a/python-orjson.spec b/python-orjson.spec index c69d4bf..5f1665f 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -19,6 +19,11 @@ Source: %{pypi_source orjson} BuildRequires: tomcli BuildRequires: python3-devel BuildRequires: %{py3_dist pytest-forked} +# Upstream restricts these test dependencies to particular Python interpreter +# versions and architectures, but we would like to run the corresponding tests +# everywhere. +BuildRequires: %{py3_dist numpy} +BuildRequires: %{py3_dist pendulum} BuildRequires: rust-packaging
commit ea25c769b4ac9f8666a2eb5017d1a137260340bb Author: Benjamin A. Beasley code@musicinmybrain.net Date: Sat Jun 1 08:44:03 2024 -0400
Print the reasons for skipped tests
diff --git a/python-orjson.spec b/python-orjson.spec index 0ca3749..c69d4bf 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -84,7 +84,8 @@ export RUSTFLAGS='%{build_rustflags}' %pyproject_check_import %if %{with tests} # --forked: protect the pytest process against test segfaults -%pytest --forked +# -rs: print the reasons for skipped tests +%pytest --forked -rs %endif
commit d8820d2ebcae05fcd4997b9117e381440de201cc Author: Benjamin A. Beasley code@musicinmybrain.net Date: Tue Jun 4 12:32:19 2024 -0400
Update to 3.9.15
diff --git a/.gitignore b/.gitignore index 87f5fcf..ddff4cc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /orjson-3.9.10.tar.gz /orjson-3.9.12.tar.gz /orjson-3.9.13.tar.gz +/orjson-3.9.15.tar.gz diff --git a/Remove-strict-ahash-version-pin.patch b/Remove-strict-ahash-version-pin.patch deleted file mode 100644 index 569f70f..0000000 --- a/Remove-strict-ahash-version-pin.patch +++ /dev/null @@ -1,25 +0,0 @@ -From db97d953cbe35e6a34372e4a9d4702d3fdd5ddb1 Mon Sep 17 00:00:00 2001 -From: Maxwell G maxwell@gtmx.me -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 19fc41d..0ca3749 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -8,14 +8,13 @@ %bcond tests 1
Name: python-orjson -Version: 3.9.13 -Release: 2%{?dist} +Version: 3.9.15 +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 @@ -95,6 +94,9 @@ export RUSTFLAGS='%{build_rustflags}'
%changelog +* Tue Jun 04 2024 Benjamin A. Beasley code@musicinmybrain.net - 3.9.15-1 +- Update to 3.9.15. + * Fri May 24 2024 Benjamin A. Beasley code@musicinmybrain.net - 3.9.13-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces
diff --git a/sources b/sources index b6c529d..85276eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (orjson-3.9.13.tar.gz) = c3fc7ad42a2ea40fa996cec11609c3d72ad3ad42a2ef24d36472bb89e5231ae6288c4ded57ba69074a04244e2e8ab7cf878c26b79bb01d5f6883be18395cd219 +SHA512 (orjson-3.9.15.tar.gz) = ad6a7bbb8ffbf1eff05fd421527264336a844133dd8c19303cd22d767ad5f76047191beba8b45b1eed79c7024099a9e04529c40d669db76475191c67a42fc183
arch-excludes@lists.fedoraproject.org