Accepting request 1005240 from home:mcalabkova:branches:devel:languages:python

no need to skip so many tests

OBS-URL: https://build.opensuse.org/request/show/1005240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orjson?expand=0&rev=5
This commit is contained in:
Markéta Machová 2022-09-21 15:19:34 +00:00 committed by Git OBS Bridge
parent f9e995d349
commit 39319bfa41

View File

@ -62,16 +62,12 @@ cp %{SOURCE2} .cargo/config
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
export LANG=en_US.UTF-8
# Various date tests fail with minor differences in expected output
# test_numpy_array_d1_uintp and test_numpy_array_d1_intp fail on 32bit
# test_memory_loads_keys occasionally fails on crashes on ppc64le
# test_loads_recursion crashes on all platforms
# ppc64 has lots of seg faults
%pytest_arch -rs -k 'not (test_datetime_partial_second_dateutil or test_datetime_partial_second_zoneinfo or test_datetime_partial_second_pendulum_supported or test_datetime_partial_second_pytz or test_datetime_utc_z_with_tz or test_memory_loads_keys or test_loads_recursion or test_numpy_array_d1_uintp or test_numpy_array_d1_intp)'
%pytest_arch -k "not (test_numpy_array_d1_intp or test_numpy_array_d1_uintp or test_memory_loads_keys)"
%files %{python_files}
%doc README.md
%doc README.md CHANGELOG.md
%license LICENSE-APACHE LICENSE-MIT
%{python_sitearch}/orjson*