15
0

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
This commit is contained in:
2021-12-16 11:31:58 +00:00
committed by Git OBS Bridge
parent e639846b34
commit 2423b60b64
5 changed files with 27 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1adec0d67cdf6166bda96ae2934ddb5e54433998ceab63c984574d187cc563d2
size 28555

BIN
dictdiffer-0.9.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -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',

View File

@@ -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 <jayvdb@gmail.com>

View File

@@ -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