From e97965331fb49a7ae74ae684c070d90b4b262846 Mon Sep 17 00:00:00 2001 From: bbrucezhang Date: Fri, 26 Dec 2025 18:50:09 +0800 Subject: [PATCH] Update to 8.6.1 --- 406.patch | 17 ----------------- python-deepdiff.spec | 25 +++++++++++++++++++------ sources | 2 +- 3 files changed, 20 insertions(+), 24 deletions(-) delete mode 100644 406.patch diff --git a/406.patch b/406.patch deleted file mode 100644 index 4dc0f41..0000000 --- a/406.patch +++ /dev/null @@ -1,17 +0,0 @@ -From 1fc9a3ab7096e7f337039fb9b77c73bc928ee4e4 Mon Sep 17 00:00:00 2001 -From: Robert Bo Davis -Date: Tue, 18 Jul 2023 07:11:28 -0400 -Subject: [PATCH] pyyaml to 6.0.1 to fix cython build problems - ---- - requirements-cli.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/requirements-cli.txt b/requirements-cli.txt -index ef515c8..f487dc5 100644 ---- a/requirements-cli.txt -+++ b/requirements-cli.txt -@@ -1,2 +1,2 @@ - click==8.1.3 --pyyaml==6.0 -+pyyaml==6.0.1 diff --git a/python-deepdiff.spec b/python-deepdiff.spec index 322749f..c6ee3b0 100644 --- a/python-deepdiff.spec +++ b/python-deepdiff.spec @@ -1,24 +1,29 @@ %bcond_with docs +%bcond_without tests Summary: Deep Difference and search of any Python object/data Name: python-deepdiff -Version: 6.3.1 -Release: 4%{?dist} +Version: 8.6.1 +Release: 1%{?dist} License: MIT URL: https://github.com/seperman/deepdiff/ -Source0: %{url}/archive/%{version}/%{name}-v%{version}.tar.gz +Source0: https://github.com/seperman/deepdiff/archive/%{version}/%{name}-v%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: python3-devel +%if %{with tests} BuildRequires: python3dist(pytest) BuildRequires: python3dist(numpy) BuildRequires: python3dist(tomli-w) BuildRequires: python3dist(python-dateutil) BuildRequires: python3dist(jsonpickle) BuildRequires: python3dist(pydantic) +BuildRequires: python3-pandas +BuildRequires: python3-pytest-benchmark +%endif %if %{with docs} BuildRequires: python3dist(sphinx) @@ -57,11 +62,13 @@ This is the subpackage for python3-deepdiff with extra cli dependencies. %prep -%autosetup -n deepdiff-%{version} -p1 +%autosetup -p1 -n deepdiff-%{version} find deepdiff/ -name \*.py -exec sed -i '/#!\/usr\/bin\/env /d' {} \; -sed -i 's/==/~=/' requirements*.txt +sed -i 's/==/~=/' pyproject.toml +sed -i '/flit_core/{s/>=3.11/>=3.9/}' pyproject.toml +sed -i 's/click~=8.1.0/click>=8.1.0/' pyproject.toml %generate_buildrequires @@ -84,7 +91,9 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} %check -%pytest tests/ +%if %{with tests} +%pytest --ignore=tests/test_hash.py tests/ +%endif %files -n python3-deepdiff -f %{pyproject_files} @@ -98,6 +107,10 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} %changelog +* Fri Dec 26 2025 bbrucezhang - 8.6.1-1 +- [Type] security +- [DESC] Update to 8.6.1 + * Wed Jun 11 2025 bbrucezhang - 6.3.1-4 - Rebuilt for loongarch64 diff --git a/sources b/sources index 66d18ac..e185e04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-deepdiff-v6.3.1.tar.gz) = dfe2d39a6cf6e5b07da1ad27ec8c61335baaa10f99f938364c444ccd84818c890bdbaf89f63e1e79a2b9ba478395e38f39aa87761e986d57bfe7eb19424f0dd7 +SHA512 (python-deepdiff-v8.6.1.tar.gz) = ea4ea00fb636324ea6b62c22016d839bf4acada65aa103b5e731fa8212f548b901e94ec2c62650fcfa3f05ec68e7d1adcd1efad0b6922ea80d849100523cb90d -- Gitee