Skip to content

Commit

Permalink
py-deepdiff: updated to 6.7.1
Browse files Browse the repository at this point in the history
v6-7-1

-  Support for subtracting delta objects when iterable_compare_func
   is used.
-  Better handling of force adding a delta to an object.
-  Fix for
   ```Can't compare dicts with both single and double quotes in keys`` <https://github.com/seperman/deepdiff/issues/430>`__
-  Updated docs for Inconsistent Behavior with math_epsilon and
   ignore_order = True

v6-7-0

-  Delta can be subtracted from other objects now.
-  verify_symmetry is deprecated. Use bidirectional instead.
-  always_include_values flag in Delta can be enabled to include
   values in the delta for every change.
-  Fix for Delta.\__add\_\_ breaks with esoteric dict keys.

v6-6-1

 -  Fix for `DeepDiff raises decimal exception when using significant
    digits <https://github.com/seperman/deepdiff/issues/426>`__
 -  Introducing group_by_sort_key
 -  Adding group_by 2D. For example
    ``group_by=['last_name', 'zip_code']``

v6-6-0

-  Numpy 2.0 support
-  Adding
   `Delta.to_flat_dicts <https://zepworks.com/deepdiff/current/serialization.html#delta-serialize-to-flat-dictionaries>`__

v6-5-0

-  Adding
   ```parse_path`` <https://github.com/seperman/deepdiff/pull/419>`__

v6-4-1

-  Bugfix: Keep Numpy Optional
  • Loading branch information
adam committed Jan 28, 2024
1 parent 4ed81ac commit 730a080
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
16 changes: 6 additions & 10 deletions textproc/py-deepdiff/Makefile
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2023/07/17 11:54:43 adam Exp $
# $NetBSD: Makefile,v 1.15 2024/01/28 21:00:06 adam Exp $

DISTNAME= deepdiff-6.3.1
DISTNAME= deepdiff-6.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/deepdiff/}
Expand All @@ -10,25 +10,21 @@ HOMEPAGE= https://github.com/seperman/deepdiff
COMMENT= Deep Difference and Search of any Python object/data
LICENSE= mit

TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-ordered-set>=4.0.2:../../devel/py-ordered-set
# cli
DEPENDS+= ${PYPKGPREFIX}-click>=8.1.3:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.1:../../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

USE_PKG_RESOURCES= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27 38

post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} deep deep-${PYVERSSUFFIX} || ${TRUE}

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
17 changes: 9 additions & 8 deletions textproc/py-deepdiff/PLIST
@@ -1,12 +1,13 @@
@comment $NetBSD: PLIST,v 1.6 2023/04/17 20:28:15 adam Exp $
@comment $NetBSD: PLIST,v 1.7 2024/01/28 21:00:06 adam Exp $
bin/deep-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
${PYSITELIB}/deepdiff/__init__.py
${PYSITELIB}/deepdiff/__init__.pyc
${PYSITELIB}/deepdiff/__init__.pyo
Expand Down
8 changes: 4 additions & 4 deletions textproc/py-deepdiff/distinfo
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.13 2023/07/17 11:54:43 adam Exp $
$NetBSD: distinfo,v 1.14 2024/01/28 21:00:06 adam Exp $

BLAKE2s (deepdiff-6.3.1.tar.gz) = ae84ec15935a8c23d68d79f766c2b9b0fc1b2382674c324cd8ebfb0df44708bf
SHA512 (deepdiff-6.3.1.tar.gz) = 13d9edf42eb50b6e63e038a2c17d7d54e82e5e6b5ddc3420cc457d91e220da92391b17c238ed3a49d0f69168cad887c2278182734be23265d5c53928b28c4c42
Size (deepdiff-6.3.1.tar.gz) = 392651 bytes
BLAKE2s (deepdiff-6.7.1.tar.gz) = ddb1a49bddc3d1deb6aee93f12ed59d36eb16e0f2a2e55be734175f515471314
SHA512 (deepdiff-6.7.1.tar.gz) = 89cf198aeaa392e9609641a9bbc1331c8badf3d4b7cafb1afef00f6f6237524dec72467abf9a9afeba5dc08b8f7e8321827faec5b9a8c27ffff97bfc3fdb0db0
Size (deepdiff-6.7.1.tar.gz) = 409107 bytes

0 comments on commit 730a080

Please sign in to comment.