Mon Apr 17 20:28:15 2023 UTC ()
py-deepdiff: updated to 6.3.0

v6-3-0

- ``PrefixOrSuffixOperator``: This operator will skip strings that
  are suffix or prefix of each other.
- ``include_obj_callback`` and ``include_obj_callback_strict`` are
  added by `H奪vard Thom <https://github.com/havardthom>`__.
- Fixed a corner case where numpy���s ``np.float32`` nans are not
  ignored when using ``ignore_nan_equality`` by `Noam
  Gottlieb <https://github.com/noamgot>`__
- ``orjson`` becomes optional again.
- Fix for ``ignore_type_in_groups`` with numeric values so it does
  not report number changes when the number types are different.

v6-2-3

- Switching to Orjson for serialization to improve the performance.
- Setting ``equal_nan=ignore_nan_inequality`` in the call for
  ``np.array_equal``
- Using Pytest���s tmp_path fixture instead of ``/tmp/``

v6-2-2

- Enum test fix for python 3.11
- Adding support for dateutils rrules

v6-2-1

- Removed the print statements.

v6-2-0

- Major improvement in the diff report for lists when items are all
  hashable and the order of items is important.

v6-1-0

- DeepDiff.affected_paths can be used to get the list of all paths
  where a change, addition, or deletion was reported for.
- DeepDiff.affected_root_keys can be used to get the list of all
  paths where a change, addition, or deletion was reported for.
- Bugfix: ValueError when using Decimal 0.x
- Serialization of UUID

v6-0-0

- `Exclude obj callback
  strict <https://github.com/seperman/deepdiff/pull/320/files>`__
  parameter is added to DeepDiff by Mikhail Khviyuzov
  `mskhviyu <https://github.com/mskhviyu>`__.
- A fix for diffing using ``iterable_compare_func`` with nested
  objects by `dtorres-sf <https://github.com/dtorres-sf>`__ who
  originally contributed this feature.


(adam)
diff -r1.11 -r1.12 pkgsrc/textproc/py-deepdiff/Makefile
diff -r1.11 -r1.12 pkgsrc/textproc/py-deepdiff/distinfo
diff -r1.5 -r1.6 pkgsrc/textproc/py-deepdiff/PLIST

cvs diff -r1.11 -r1.12 pkgsrc/textproc/py-deepdiff/Makefile (expand / switch to context diff)
--- pkgsrc/textproc/py-deepdiff/Makefile 2022/01/05 15:41:24 1.11
+++ pkgsrc/textproc/py-deepdiff/Makefile 2023/04/17 20:28:15 1.12
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:24 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2023/04/17 20:28:15 adam Exp $
 
-DISTNAME=	deepdiff-5.5.0
+DISTNAME=	deepdiff-6.3.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=	2
 CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_PYPI:=d/deepdiff/}
 
@@ -11,22 +10,25 @@
 COMMENT=	Deep Difference and Search of any Python object/data
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-jsonpickle>=1.0:../../textproc/py-jsonpickle
 DEPENDS+=	${PYPKGPREFIX}-ordered-set>=4.0.2:../../devel/py-ordered-set
-TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+# cli
+DEPENDS+=	${PYPKGPREFIX}-click>=8.1.3:../../devel/py-click
+DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0:../../textproc/py-yaml
+TEST_DEPENDS+=	${PYPKGPREFIX}-numpy>=1.23.5:../../math/py-numpy
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
 
 USE_LANGUAGES=	# none
 
-PYTHON_VERSIONS_INCOMPATIBLE=	27
-
 USE_PKG_RESOURCES=	yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 post-install:
 	cd ${DESTDIR}${PREFIX}/bin && \
 	${MV} deep deep-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
-	cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.11 -r1.12 pkgsrc/textproc/py-deepdiff/distinfo (expand / switch to context diff)
--- pkgsrc/textproc/py-deepdiff/distinfo 2021/10/26 11:23:01 1.11
+++ pkgsrc/textproc/py-deepdiff/distinfo 2023/04/17 20:28:15 1.12
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 11:23:01 nia Exp $
+$NetBSD: distinfo,v 1.12 2023/04/17 20:28:15 adam Exp $
 
-BLAKE2s (deepdiff-5.5.0.tar.gz) = 37cfabe3905efd710e2c4ad902fc30d7bea4d4b0b5fd202a3983b2ebe9bbd183
+BLAKE2s (deepdiff-6.3.0.tar.gz) = a60660648989cabf9af874c3407d2cfec24dd567c8f5742424c8725705a2d512
-SHA512 (deepdiff-5.5.0.tar.gz) = ce1e254c60b91506b2ec626a0021bc09796c75b9942b6cb0eaad3e67f3983f9d5da9f16cfbee313e7d2431521838b861147fe6a550071376daa1a1f2a911542e
+SHA512 (deepdiff-6.3.0.tar.gz) = cce9861f2ca00579bbd9167cf896007156af25328cdbf1f8449adf46725bce4e5fb324c9cb14610376bb315d248cdfce9de457703259e64ac38c65757af79a71
-Size (deepdiff-5.5.0.tar.gz) = 372780 bytes
+Size (deepdiff-6.3.0.tar.gz) = 389780 bytes

cvs diff -r1.5 -r1.6 pkgsrc/textproc/py-deepdiff/PLIST (expand / switch to context diff)
--- pkgsrc/textproc/py-deepdiff/PLIST 2021/07/09 19:07:45 1.5
+++ pkgsrc/textproc/py-deepdiff/PLIST 2023/04/17 20:28:15 1.6
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/07/09 19:07:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/04/17 20:28:15 adam Exp $
 bin/deep-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -40,6 +40,9 @@
 ${PYSITELIB}/deepdiff/model.py
 ${PYSITELIB}/deepdiff/model.pyc
 ${PYSITELIB}/deepdiff/model.pyo
+${PYSITELIB}/deepdiff/operator.py
+${PYSITELIB}/deepdiff/operator.pyc
+${PYSITELIB}/deepdiff/operator.pyo
 ${PYSITELIB}/deepdiff/path.py
 ${PYSITELIB}/deepdiff/path.pyc
 ${PYSITELIB}/deepdiff/path.pyo