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:           Thu Oct 22 07:42:16 UTC 2026

Modified Files:
        pkgsrc/textproc/py-deepdiff: Makefile PLIST distinfo

Log Message:
py-deepdiff: updated to 9.1.0

v9-1-0
- Added multiprocessing support for DeepDiff: parallel distance computation and parallel subtree diffing with aggregated worker stats, deterministic ordering, and automatic fallback to serial when 
unsafe (e.g. `custom_operators`, `*_obj_callback`, `ignore_order_func`)
- Added wildcard/glob pattern support for `exclude_paths` and `include_paths` thanks to [akshat62](https://github.com/akshat62)
- Reimplemented internal cache for improved performance
- Memoized `GlobPathMatcher` to remove exponential-time matching cliff
- Comprehensive type-hint corrections across `deephash.py`, `helper.py`, `delta.py`, `diff.py`, `distance.py`, `path.py`, and `serialization.py` (also fixed real bugs: misplaced paren in 
`path._guess_type` call, and `len(other.indexes > 1)` → `len(other.indexes) > 1` in `diff._compare_in_order`)
- Security: Delta dunder-attribute traversal in `check_elem()` now raises immediately instead of going through `_raise_or_log()`, with full-path preflight validation in `_get_elements_and_details()` 
so the `set_item_added` path cannot silently skip malicious dunder paths
- Fixed nested NamedTuple set/frozenset Delta updates dropping the outer container
- Fixed tuple Deltas using iterable opcodes silently doing nothing for insert/delete-only changes
- Fixed Delta with both moved and added iterable items mutating the Delta's own internal diff data
- Fixed crash during path sorting when removing multiple dictionary items with complex keys
- Packaging: added missing files to sdist and removed obsolete `MANIFEST.in` thanks to [mgorny](https://github.com/mgorny)
- Updated GitHub Actions workflows and dependencies


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/py-deepdiff/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-deepdiff/PLIST
cvs rdiff -u -r1.22 -r1.23 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.30 pkgsrc/textproc/py-deepdiff/Makefile:1.31
--- pkgsrc/textproc/py-deepdiff/Makefile:1.30   Tue Aug 18 07:22:29 2026
+++ pkgsrc/textproc/py-deepdiff/Makefile        Thu Oct 22 07:42:15 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2026/08/18 07:22:29 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2026/10/22 07:42:15 adam Exp $
 
-DISTNAME=      deepdiff-8.6.1
+DISTNAME=      deepdiff-9.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/deepdiff/}
 
@@ -12,25 +11,27 @@ COMMENT=    Deep Difference and Search of a
 LICENSE=       mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=4:../../devel/py-flit_core
-DEPENDS+=      ${PYPKGPREFIX}-orderly-set>=5.4.1:../../devel/py-orderly-set
+DEPENDS+=      ${PYPKGPREFIX}-cachebox>=5.2:../../devel/py-cachebox
+DEPENDS+=      ${PYPKGPREFIX}-orderly-set>=5.5.0:../../devel/py-orderly-set
 # cli
-DEPENDS+=      ${PYPKGPREFIX}-click>=8.1.0:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-yaml>=6.0.0:../../textproc/py-yaml
+DEPENDS+=      ${PYPKGPREFIX}-click>=8.3.1:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=6.0.3:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-dotenv>=1.2.2:../../devel/py-dotenv
 TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=2.2.0:../../math/py-numpy
 TEST_DEPENDS+= ${PYPKGPREFIX}-pandas>=2.2.0:../../math/py-pandas
 TEST_DEPENDS+= ${PYPKGPREFIX}-pydantic>=0:../../devel/py-pydantic
-TEST_DEPENDS+= ${PYPKGPREFIX}-pytz>0:../../time/py-pytz
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark>=1.2.3:../../devel/py-test-benchmark
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=6.0.0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-pytz>=0:../../time/py-pytz
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark>=5.2.3:../../devel/py-test-benchmark
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=7.1.0:../../devel/py-test-cov
 # unpackaged: uuid6
 
 USE_LANGUAGES= # none
 
-REPLACE_PYTHON+=       deepdiff/diff.py
+PY_RENAME_BINARIES=    deep
 
-PYTHON_VERSIONS_INCOMPATIBLE=  310 311
+REPLACE_PYTHON+=       deepdiff/diff.py
 
-PY_RENAME_BINARIES=            deep
+PYTHON_VERSIONS_INCOMPATIBLE=  311
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/textproc/py-deepdiff/PLIST
diff -u pkgsrc/textproc/py-deepdiff/PLIST:1.13 pkgsrc/textproc/py-deepdiff/PLIST:1.14
--- pkgsrc/textproc/py-deepdiff/PLIST:1.13      Tue Aug 18 07:22:29 2026
+++ pkgsrc/textproc/py-deepdiff/PLIST   Thu Oct 22 07:42:15 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2026/08/18 07:22:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2026/10/22 07:42:15 adam Exp $
 bin/deep-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -9,6 +9,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/licenses/L
 ${PYSITELIB}/deepdiff/__init__.py
 ${PYSITELIB}/deepdiff/__init__.pyc
 ${PYSITELIB}/deepdiff/__init__.pyo
+${PYSITELIB}/deepdiff/_multiprocessing.py
+${PYSITELIB}/deepdiff/_multiprocessing.pyc
+${PYSITELIB}/deepdiff/_multiprocessing.pyo
 ${PYSITELIB}/deepdiff/anyset.py
 ${PYSITELIB}/deepdiff/anyset.pyc
 ${PYSITELIB}/deepdiff/anyset.pyo
@@ -33,6 +36,34 @@ ${PYSITELIB}/deepdiff/diff.pyo
 ${PYSITELIB}/deepdiff/distance.py
 ${PYSITELIB}/deepdiff/distance.pyc
 ${PYSITELIB}/deepdiff/distance.pyo
+${PYSITELIB}/deepdiff/docstrings/authors.rst
+${PYSITELIB}/deepdiff/docstrings/basics.rst
+${PYSITELIB}/deepdiff/docstrings/changelog.rst
+${PYSITELIB}/deepdiff/docstrings/colored_view.rst
+${PYSITELIB}/deepdiff/docstrings/commandline.rst
+${PYSITELIB}/deepdiff/docstrings/custom.rst
+${PYSITELIB}/deepdiff/docstrings/deep_distance.rst
+${PYSITELIB}/deepdiff/docstrings/deephash.rst
+${PYSITELIB}/deepdiff/docstrings/deephash_doc.rst
+${PYSITELIB}/deepdiff/docstrings/delta.rst
+${PYSITELIB}/deepdiff/docstrings/diff.rst
+${PYSITELIB}/deepdiff/docstrings/diff_doc.rst
+${PYSITELIB}/deepdiff/docstrings/dsearch.rst
+${PYSITELIB}/deepdiff/docstrings/exclude_paths.rst
+${PYSITELIB}/deepdiff/docstrings/extract.rst
+${PYSITELIB}/deepdiff/docstrings/faq.rst
+${PYSITELIB}/deepdiff/docstrings/ignore_order.rst
+${PYSITELIB}/deepdiff/docstrings/ignore_types_or_values.rst
+${PYSITELIB}/deepdiff/docstrings/index.rst
+${PYSITELIB}/deepdiff/docstrings/numbers.rst
+${PYSITELIB}/deepdiff/docstrings/optimizations.rst
+${PYSITELIB}/deepdiff/docstrings/other.rst
+${PYSITELIB}/deepdiff/docstrings/search_doc.rst
+${PYSITELIB}/deepdiff/docstrings/serialization.rst
+${PYSITELIB}/deepdiff/docstrings/stats.rst
+${PYSITELIB}/deepdiff/docstrings/support.rst
+${PYSITELIB}/deepdiff/docstrings/troubleshoot.rst
+${PYSITELIB}/deepdiff/docstrings/view.rst
 ${PYSITELIB}/deepdiff/helper.py
 ${PYSITELIB}/deepdiff/helper.pyc
 ${PYSITELIB}/deepdiff/helper.pyo

Index: pkgsrc/textproc/py-deepdiff/distinfo
diff -u pkgsrc/textproc/py-deepdiff/distinfo:1.22 pkgsrc/textproc/py-deepdiff/distinfo:1.23
--- pkgsrc/textproc/py-deepdiff/distinfo:1.22   Thu Sep  4 04:53:31 2025
+++ pkgsrc/textproc/py-deepdiff/distinfo        Thu Oct 22 07:42:15 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2025/09/04 04:53:31 adam Exp $
+$NetBSD: distinfo,v 1.23 2026/10/22 07:42:15 adam Exp $
 
-BLAKE2s (deepdiff-8.6.1.tar.gz) = fa5462d677215f8ca89e2aa9a95e8f00491adf3f997b434273576b188d4c645f
-SHA512 (deepdiff-8.6.1.tar.gz) = 385eeda89c5c1fbc0734abdbbeb14647d97f151e0de09e07f0c202453c6fb0e53996b25e642aebd6d9bdbdf98591962f397c62c64c173474faaaf04651317fc9
-Size (deepdiff-8.6.1.tar.gz) = 634054 bytes
+BLAKE2s (deepdiff-9.1.0.tar.gz) = 8b0ea4ab37e6950f4d84f4495b5af6855cb7fea1017c8fd5044737dd95eda666
+SHA512 (deepdiff-9.1.0.tar.gz) = a01273f40b891be40e5a93ad4af1ce313a0c5a336bc66e6fb9d0769384687836863699761e1d98db9fb4cfd955957066a4eeb436ac2f4f4dcbae5c51fe14f79d
+Size (deepdiff-9.1.0.tar.gz) = 382149 bytes



Home | Main Index | Thread Index | Old Index