!6 Upgrade to 1.31 to support OpenStack-W
From: @huangtianhua Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
4d3a00ee66
@ -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
BIN
jsonpatch-1.31.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
|||||||
%global pypi_name jsonpatch
|
%global pypi_name jsonpatch
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.28
|
Version: 1.31
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Applying JSON Patches in Python
|
Summary: Applying JSON Patches in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/stefankoegl/python-json-patch
|
URL: https://github.com/stefankoegl/python-json-patch
|
||||||
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/j/jsonpatch/%{pypi_name}-%{version}.tar.gz
|
||||||
Patch0: 0001-Skip-unit-test-in-packaging.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -59,6 +58,9 @@ done;
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 1.28.1
|
||||||
- upgrade 1.28.1
|
- upgrade 1.28.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user