From 2423b60b64431deb068fd6d59994f7f7d8ce0aeaab6cdc83f337c7970a0cf323 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Dec 2021 11:31:58 +0000 Subject: [PATCH] Accepting request 940487 from home:pgajdos:python - version update to 0.9.0 - Adds absolute tolerance feature for floats (@adrien-berchet) (#152) - Drops support of Python<3.5 (@adrien-berchet) (#160) - Adds `assert_no_diff` helper to assist pytest users (@joesolly) (#153) - Migrates CI to gh-actions (@ParthS007 @diegodelemos) (#145) - Removes dependency on pkg_resources (@eldruin) - modified patches % lower-reqs.diff (refreshed) OBS-URL: https://build.opensuse.org/request/show/940487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dictdiffer?expand=0&rev=3 --- dictdiffer-0.8.1.tar.gz | 3 --- dictdiffer-0.9.0.tar.gz | 3 +++ lower-reqs.diff | 16 ++++++++-------- python-dictdiffer.changes | 12 ++++++++++++ python-dictdiffer.spec | 7 ++++--- 5 files changed, 27 insertions(+), 14 deletions(-) delete mode 100644 dictdiffer-0.8.1.tar.gz create mode 100644 dictdiffer-0.9.0.tar.gz diff --git a/dictdiffer-0.8.1.tar.gz b/dictdiffer-0.8.1.tar.gz deleted file mode 100644 index 1ea7d93..0000000 --- a/dictdiffer-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1adec0d67cdf6166bda96ae2934ddb5e54433998ceab63c984574d187cc563d2 -size 28555 diff --git a/dictdiffer-0.9.0.tar.gz b/dictdiffer-0.9.0.tar.gz new file mode 100644 index 0000000..d15f370 --- /dev/null +++ b/dictdiffer-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17bacf5fbfe613ccf1b6d512bd766e6b21fb798822a133aa86098b8ac9997578 +size 31513 diff --git a/lower-reqs.diff b/lower-reqs.diff index e950eda..4d7f809 100644 --- a/lower-reqs.diff +++ b/lower-reqs.diff @@ -1,17 +1,17 @@ -Index: dictdiffer-0.8.1/setup.py +Index: dictdiffer-0.9.0/setup.py =================================================================== ---- dictdiffer-0.8.1.orig/setup.py -+++ dictdiffer-0.8.1/setup.py -@@ -28,7 +28,7 @@ tests_require = [ - 'pytest-cov>=1.8.0', - 'pytest-pep8>=1.0.6', - 'pytest>=2.8.0', +--- dictdiffer-0.9.0.orig/setup.py 2021-07-22 15:24:20.000000000 +0200 ++++ dictdiffer-0.9.0/setup.py 2021-12-14 14:19:30.354291584 +0100 +@@ -30,7 +30,7 @@ tests_require = [ + 'pytest-pydocstyle>=2;python_version<="3.5"', + 'pytest-pydocstyle>=2.2.0;python_version>"3.5"', + 'sphinx>=3', - 'tox>=3.7.0', + 'tox>=2.9.0', ] extras_require = { -@@ -50,7 +50,7 @@ for key, reqs in extras_require.items(): +@@ -55,7 +55,7 @@ for key, reqs in extras_require.items(): setup_requires = [ 'pytest-runner>=2.7', diff --git a/python-dictdiffer.changes b/python-dictdiffer.changes index 3c731ed..a65c922 100644 --- a/python-dictdiffer.changes +++ b/python-dictdiffer.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 14 13:23:16 UTC 2021 - pgajdos@suse.com + +- version update to 0.9.0 + - Adds absolute tolerance feature for floats (@adrien-berchet) (#152) + - Drops support of Python<3.5 (@adrien-berchet) (#160) + - Adds `assert_no_diff` helper to assist pytest users (@joesolly) (#153) + - Migrates CI to gh-actions (@ParthS007 @diegodelemos) (#145) + - Removes dependency on pkg_resources (@eldruin) +- modified patches + % lower-reqs.diff (refreshed) + ------------------------------------------------------------------- Sun Jun 7 05:35:54 UTC 2020 - John Vandenberg diff --git a/python-dictdiffer.spec b/python-dictdiffer.spec index 33184c9..066c0df 100644 --- a/python-dictdiffer.spec +++ b/python-dictdiffer.spec @@ -1,7 +1,7 @@ # # spec file for package python-dictdiffer # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dictdiffer -Version: 0.8.1 +Version: 0.9.0 Release: 0 Summary: Dictdiffer is a library that helps you to diff and patch dictionaries License: MIT @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/inveniosoftware/dictdiffer Source: https://files.pythonhosted.org/packages/source/d/dictdiffer/dictdiffer-%{version}.tar.gz Patch0: lower-reqs.diff -BuildRequires: %{python_module pytest-runner >= 2.7} BuildRequires: %{python_module setuptools_scm >= 1.15.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -47,6 +46,8 @@ Dictdiffer is a library that helps you to diff and patch dictionaries. %patch0 -p1 # Remove dependence on unnecessary pytest plugins rm pytest.ini +# https://github.com/inveniosoftware/dictdiffer/issues/167 +sed -i '/pytest-runner/d' setup.py %build %python_build