deepdiff
deepdiff copied to clipboard
DeepDiff: Deep Difference and search of any Python object/data. DeepHash: Hash of any object based on its contents. Delta: Use deltas to reconstruct objects by adding deltas together.
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** A clear and concise description of what the bug...
**Describe the bug** ``` python -c " from deepdiff import DeepHash import numpy as np d = {'p': np.array([True], dtype='bool')} print(DeepHash(d)[d]) " ``` Gives me: ``` 8.0.0 Traceback (most recent...
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** deepdiff breaks if there is numpy 2.0 and above...
8.1.0
- Removing deprecated lines from setup.py - Fixes `__slots__` comparison when the attribute doesn't exist. - Relaxing orderly-set reqs
Comparing some paths of two dicts with deepdiff the results differ, depending on the presence or absence of other "not included" paths (see also [Stackoverflow question](https://stackoverflow.com/questions/79070493/python-deepdiff-include-paths-different-result-caused-by-not-included-paths)). ``` from deepdiff import...
**Describe the bug** Exception is thrown when using the `sort_keys=True` kwarg when using the `to_json()` method of a `deepdiff.Deepdiff()` object. The bug is in the `serialization.py` code if `orjson` is...
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** **To Reproduce** ```python def compare_func(x, y, level=None): return x["id"]...
Performing a DeepDiff, DeepHash or DeepSearch on a python object that contains one of "IPv4Interface, IPv6Interface, IPv4Network, IPv6Network" from the ipaddress package will utilitize 100% CPU until the entire IP...
**Describe the bug** The exclude_regex_paths is not working if the keys are different and would be filtered out. Only working if the threshold_to_diff_deeper is set to 0 **To Reproduce** t1...