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=5ad6665....
Change: +%ifnarch %{ix86}
Thanks.
Full change: ============
commit 5ad6665f7101fec19656b15b558d0f5ab86351e2 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 6ed4589..f126e4f 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 1625d8359f0ed83725395bbedb49aaf8742f014e 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 d134db4..6ed4589 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 3d90414b2f386d3aa6ad52c4b95664dbb2e8a205 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 80a2952..d134db4 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 428e94c439b659ad0c39331478021cbf79b3dffd Author: Maxwell G maxwell@gtmx.me Date: Thu Jan 18 21:04:20 2024 +0000
Update to 3.9.15. Fixes rhbz#2262570. Fixes rhbz#2259025.
diff --git a/.gitignore b/.gitignore index 59c9ea3..ddff4cc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ /orjson-3.9.7.tar.gz /orjson-3.9.8.tar.gz /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/python-orjson.spec b/python-orjson.spec index d2a6743..80a2952 100644 --- a/python-orjson.spec +++ b/python-orjson.spec @@ -8,8 +8,8 @@ %bcond tests 1
Name: python-orjson -Version: 3.9.10 -Release: 2%{?dist} +Version: 3.9.15 +Release: 1%{?dist} Summary: Fast, correct Python JSON library
License: Apache-2.0 OR MIT @@ -32,15 +32,15 @@ datetimes, and numpy} %package -n python3-orjson Summary: %{summary} # (Apache-2.0 OR MIT) AND BSD-3-Clause -# Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT +# BSD-2-Clause OR Apache-2.0 OR MIT # MIT License: %{shrink: (Apache-2.0 OR MIT) AND BSD-3-Clause AND - Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND + (BSD-2-Clause OR Apache-2.0 OR MIT) AND MIT }
@@ -94,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. Fixes rhbz#2262570. Fixes rhbz#2259025. + * Fri May 24 2024 Benjamin A. Beasley code@musicinmybrain.net - 3.9.10-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces
diff --git a/sources b/sources index 19aef9a..85276eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (orjson-3.9.10.tar.gz) = 070bbee45ec08b1496b0f92d5b36d278000e33f00af6e45f2857b97c14682887558ca6413789cfebfc96a29d2366be0832a01e5e9a69868ab66d2907f86d999a +SHA512 (orjson-3.9.15.tar.gz) = ad6a7bbb8ffbf1eff05fd421527264336a844133dd8c19303cd22d767ad5f76047191beba8b45b1eed79c7024099a9e04529c40d669db76475191c67a42fc183
arch-excludes@lists.fedoraproject.org