17
0

Run all tests now that uuid6 package exists

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-deepdiff?expand=0&rev=42
This commit is contained in:
2025-09-09 08:50:44 +00:00
committed by Git OBS Bridge
parent fe581ba88e
commit 4bd044902e

View File

@@ -79,8 +79,7 @@ sed -i '1{/env python/d}' deepdiff/deephash.py deepdiff/diff.py deepdiff/search.
donttest="(TestCommands and (csv or group_by)) or (test_load_path_content and csv) or (test_polars)"
# failure on Python 3.13 https://github.com/seperman/deepdiff/issues/474
donttest+=" or (TestCommands and test_diff_command and t1_corrupt)"
# test_hash.py depends on uuid6 and this package doesn't exists in Factory
%pytest -k "not ($donttest)" --ignore tests/test_hash.py
%pytest -k "not ($donttest)"
%post
%python_install_alternative deep