17
0

- Update to 8.6.1

* Patched security vulnerability in the Delta class which was
    vulnerable to class pollution via its constructor, and when
    combined with a gadget available in DeltaDiff itself, it could
    lead to Denial of Service and Remote Code Execution (via insecure
    Pickle deserialization).
8.6.0
  * Added Colored View thanks to @mauvilsa
  * Added support for applying deltas to NamedTuple thanks to @paulsc
  * Fixed test_delta.py with Python 3.14 thanks to @Romain-Geissler-1A
  * Added python property serialization to json
  * Added ip address serialization
  * Switched to UV from pip
  * Added Claude.md
  * Added uuid hashing thanks to @akshat62
  * Added ignore_uuid_types flag to DeepDiff to avoid type reports
    when comparing UUID and string.
  * Added comprehensive type hints across the codebase (multiple
    commits for better type safety)
  * Added support for memoryview serialization
  * Added support for bytes serialization (non-UTF8 compatible)
  * Fixed bug where group_by with numbers would leak type info into
    group path reports
  * Fixed bug in _get_clean_to_keys_mapping without explicit
    significant digits
  * Added support for python dict key serialization
  * Enhanced support for IP address serialization with safe module
    imports
  * Added development tooling improvements (pyright config, .envrc
    example)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-deepdiff?expand=0&rev=39
This commit is contained in:
2025-09-09 08:43:30 +00:00
committed by Git OBS Bridge
parent 6a5c9ec65c
commit 9db2d30695
4 changed files with 42 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-deepdiff
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-deepdiff
Version: 8.5.0
Version: 8.6.1
Release: 0
Summary: Deep Difference and Search of any Python object/data
License: MIT
@@ -78,7 +78,8 @@ 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)"
%pytest -k "not ($donttest)"
# test_hash.py depends on uuid6 and this package doesn't exists in Factory
%pytest -k "not ($donttest)" --ignore tests/test_hash.py
%post
%python_install_alternative deep