Accepting request 1189561 from devel:languages:python

- Drop tests/test_performance.py to fix emulated build on riscv64

OBS-URL: https://build.opensuse.org/request/show/1189561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsons?expand=0&rev=2
This commit is contained in:
2024-07-25 13:39:56 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 14 23:14:35 UTC 2024 - Andreas Färber <afaerber@suse.de>
- Drop tests/test_performance.py to fix emulated build on riscv64
-------------------------------------------------------------------
Thu Jul 4 17:41:51 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -47,6 +47,10 @@ Python module for serializing Python objects to JSON (dicts) and back.
%autosetup -p1 -n jsons-%{version}
# Fix line endings
sed -i 's/\r$//' README.md
%if 0%{?qemu_user_space_build}
# Performance tests may fail, e.g., for riscv64 under emulation
rm -v tests/test_performance.py
%endif
%build
%pyproject_wheel