ch-backup
ch-backup copied to clipboard
Update deepdiff requirement from <7.1.0 to <8.1.0
Updates the requirements on deepdiff to permit the latest version.
Release notes
Sourced from deepdiff's releases.
8.0.0
With the introduction of
threshold_to_diff_deeper, the values returned are different than in previous versions of DeepDiff. You can still get the older values by settingthreshold_to_diff_deeper=0. However to signify that enough has changed in this release that the users need to update the parameters passed to DeepDiff, we will be doing a major version update.
- [x]
use_enum_value=Truemakes it so when diffing enum, we use the enum's value. It makes it so comparing an enum to a string or any other value is not reported as a type change.- [x]
threshold_to_diff_deeper=floatis a number between 0 and 1. When comparing dictionaries that have a small intersection of keys, we will report the dictionary as anew_valueinstead of reporting individual keys changed. If you set it to zero, you get the same results as DeepDiff 7.0.1 and earlier, which means this feature is disabled. The new default is 0.33 which means if less that one third of keys between dictionaries intersect, report it as a new object.- [x] Deprecated
ordered-setand switched toorderly-set. Theordered-setpackage was not being maintained anymore and starting Python 3.6, there were better options for sets that ordered. I forked one of the new implementations, modified it, and published it asorderly-set.- [x] Added
use_log_scale:boolandlog_scale_similarity_threshold:float. They can be used to ignore small changes in numbers by comparing their differences in logarithmic space. This is different than ignoring the difference based on significant digits.- [x] json serialization of reversed lists.
- [x] Fix for iterable moved items when
iterable_compare_funcis used.- [x] Pandas and Polars support.
Commits
5ac42b7fixing the docsa62abc1Merge pull request #460 from seperman/dev8a7a004adding docs3228f4bleaving notes for the futuree8fd305Merge branch 'dev' of github.com:seperman/deepdiff into devfe70fa0Merge pull request #473 from surefyresystems/iterable_compare_func_fixes8f51a34fixing codecov78d478aMerge branch 'dev' into iterable_compare_func_fixes33def72Only swap i and j when reporting items moved if using iterable_compare_func.80de733Fix for iterable moved items what are found with iterable_compare_func.- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)