pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-deepdiff
Module Name: pkgsrc
Committed By: adam
Date: Mon Jan 6 10:30:17 UTC 2025
Modified Files:
pkgsrc/textproc/py-deepdiff: Makefile PLIST distinfo
Log Message:
py-deepdiff: updated to 8.1.1
- v8-1-0
- Removing deprecated lines from setup.py
- Added ``prefix`` option to ``pretty()``
- Fixes hashing of numpy boolean values.
- Fixes **slots** comparison when the attribute doesn’t exist.
- Relaxing orderly-set reqs
- Added Python 3.13 support
- Only lower if clean_key is instance of str
- Fixes issue where the key deep_distance is not returned when both
compared items are equal
- Fixes exclude_paths fails to work in certain cases
- exclude_paths fails to work
- Fixes to_json() method chokes on standard json.dumps() kwargs such as
sort_keys
- to_dict() method chokes on standard json.dumps() kwargs
- Fixes accessing the affected_root_keys property on the diff object
returned by DeepDiff fails when one of the dicts is empty
- Fixes accessing the affected_root_keys property on the
diff object returned by DeepDiff fails when one of the dicts is empty
- v8-0-1
- Bugfix. Numpy should be optional.
- v8-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 setting
`threshold_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.
- `use_enum_value=True` makes 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.
- `threshold_to_diff_deeper=float` is a number between 0 and 1. When comparing dictionaries that have a small intersection of keys, we will report the dictionary as a `new_value` instead 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.
- Deprecated `ordered-set` and switched to `orderly-set`. The `ordered-set` package 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 as `orderly-set`.
- Added `use_log_scale:bool` and `log_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.
- json serialization of reversed lists.
- Fix for iterable moved items when `iterable_compare_func` is used.
- Pandas and Polars support
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/py-deepdiff/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-deepdiff/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/py-deepdiff/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-deepdiff/Makefile
diff -u pkgsrc/textproc/py-deepdiff/Makefile:1.18 pkgsrc/textproc/py-deepdiff/Makefile:1.19
--- pkgsrc/textproc/py-deepdiff/Makefile:1.18 Mon Nov 11 07:29:01 2024
+++ pkgsrc/textproc/py-deepdiff/Makefile Mon Jan 6 10:30:17 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2024/11/11 07:29:01 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2025/01/06 10:30:17 adam Exp $
-DISTNAME= deepdiff-7.0.1
+DISTNAME= deepdiff-8.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/deepdiff/}
@@ -11,10 +11,10 @@ COMMENT= Deep Difference and Search of a
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-DEPENDS+= ${PYPKGPREFIX}-ordered-set>=4.1.0:../../devel/py-ordered-set
+DEPENDS+= ${PYPKGPREFIX}-orderly-set>=5.2.3:../../devel/py-orderly-set
# cli
DEPENDS+= ${PYPKGPREFIX}-click>=8.1.7:../../devel/py-click
-DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.2:../../textproc/py-yaml
TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=1.23.5:../../math/py-numpy
USE_LANGUAGES= # none
Index: pkgsrc/textproc/py-deepdiff/PLIST
diff -u pkgsrc/textproc/py-deepdiff/PLIST:1.7 pkgsrc/textproc/py-deepdiff/PLIST:1.8
--- pkgsrc/textproc/py-deepdiff/PLIST:1.7 Sun Jan 28 21:00:06 2024
+++ pkgsrc/textproc/py-deepdiff/PLIST Mon Jan 6 10:30:17 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2024/01/28 21:00:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/01/06 10:30:17 adam Exp $
bin/deep-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
@@ -47,6 +47,7 @@ ${PYSITELIB}/deepdiff/operator.pyo
${PYSITELIB}/deepdiff/path.py
${PYSITELIB}/deepdiff/path.pyc
${PYSITELIB}/deepdiff/path.pyo
+${PYSITELIB}/deepdiff/py.typed
${PYSITELIB}/deepdiff/search.py
${PYSITELIB}/deepdiff/search.pyc
${PYSITELIB}/deepdiff/search.pyo
Index: pkgsrc/textproc/py-deepdiff/distinfo
diff -u pkgsrc/textproc/py-deepdiff/distinfo:1.15 pkgsrc/textproc/py-deepdiff/distinfo:1.16
--- pkgsrc/textproc/py-deepdiff/distinfo:1.15 Mon May 27 10:28:40 2024
+++ pkgsrc/textproc/py-deepdiff/distinfo Mon Jan 6 10:30:17 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2024/05/27 10:28:40 adam Exp $
+$NetBSD: distinfo,v 1.16 2025/01/06 10:30:17 adam Exp $
-BLAKE2s (deepdiff-7.0.1.tar.gz) = db9d46ec20a03559e1dda9405074182a1e2a7b96767a75044c516c387fa79b14
-SHA512 (deepdiff-7.0.1.tar.gz) = facc15beb82744a1b8baf29e0d8f06625e8d4ee4ed7ab5f1b131ad9d44134215651d1c6b19493c83532f612d81752df14aec2dbccc73cb5b994e0bafcaf5bbc2
-Size (deepdiff-7.0.1.tar.gz) = 421718 bytes
+BLAKE2s (deepdiff-8.1.1.tar.gz) = f405dd29ef0643ba811e4b1075cfb213621114e99165818bbc94a382b56cccf5
+SHA512 (deepdiff-8.1.1.tar.gz) = 6869e6e70ecee72073f979d84f28766c1f84b41c49057caa0facebeaf747751f4e2626c886d6f82f8d54a4a7356b0a6a07f979a87716aaccc41a40fe18d9c219
+Size (deepdiff-8.1.1.tar.gz) = 433560 bytes
Home |
Main Index |
Thread Index |
Old Index