Upgrade to 1.31 to support OpenStack-W

This upgrades to 1.31 to support OpenStack-W
and to drop the patch to make sure to run all
tests.
This commit is contained in:
huangtianhua 2021-07-14 08:31:01 +00:00
parent 11b1ec7641
commit 05c01d1373
4 changed files with 4 additions and 27 deletions

View File

@ -1,25 +0,0 @@
From 5bf37e237694ac7bf028f9129561d1265fd95621 Mon Sep 17 00:00:00 2001
From: Alfredo Moralejo <amoralej@redhat.com>
Date: Tue, 6 Feb 2018 16:57:17 +0000
Subject: [PATCH] Skip unit test in packaging
Tarball from pypy does not provides tests.js file.
---
tests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests.py b/tests.py
index 548d28b..0386e29 100755
--- a/tests.py
+++ b/tests.py
@@ -13,6 +13,7 @@ import sys
class ApplyPatchTestCase(unittest.TestCase):
+ @unittest.skip("Skipping in packaging")
def test_js_file(self):
with open('./tests.js', 'r') as f:
tests = json.load(f)
--
1.8.3.1

Binary file not shown.

BIN
jsonpatch-1.31.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global pypi_name jsonpatch
Name: python-%{pypi_name}
Version: 1.28
Version: 1.31
Release: 1
Summary: Applying JSON Patches in Python
License: BSD
URL: https://github.com/stefankoegl/python-json-patch
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
Patch0: 0001-Skip-unit-test-in-packaging.patch
BuildArch: noarch
%description
@ -59,6 +58,9 @@ done;
%doc README.md
%changelog
* Wed Jul 14 2021 huangtianhua <huangtianhua@huawei.com> - 1.31-1
- Upgrade to 1.31 to support OpenStack-W
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 1.28.1
- upgrade 1.28.1