!8 change jsonschema version to fix install error
From: @cherry530 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
9a7547a875
18
change-require-jsonschemema-package-version.patch
Normal file
18
change-require-jsonschemema-package-version.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/requirements.txt b/requirements.txt
|
||||||
|
index 53fee05..90a0111 100644
|
||||||
|
--- a/requirements.txt
|
||||||
|
+++ b/requirements.txt
|
||||||
|
@@ -1,3 +1,3 @@
|
||||||
|
-jsonschema>=0.7,<4
|
||||||
|
+jsonschema>=0.7,<=4.0.1
|
||||||
|
jsonpatch>=0.10,<2
|
||||||
|
six
|
||||||
|
diff --git a/warlock.egg-info/requires.txt b/warlock.egg-info/requires.txt
|
||||||
|
index a97030b..ae456b8 100644
|
||||||
|
--- a/warlock.egg-info/requires.txt
|
||||||
|
+++ b/warlock.egg-info/requires.txt
|
||||||
|
@@ -1,3 +1,3 @@
|
||||||
|
-jsonschema<4,>=0.7
|
||||||
|
+jsonschema<=4.0.1,>=0.7
|
||||||
|
jsonpatch<2,>=0.10
|
||||||
|
six
|
||||||
@ -1,11 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-warlock
|
Name: python-warlock
|
||||||
Version: 1.3.3
|
Version: 1.3.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Python object model built on JSON schema and JSON patch.
|
Summary: Python object model built on JSON schema and JSON patch.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://github.com/bcwaldon/warlock
|
URL: http://github.com/bcwaldon/warlock
|
||||||
Source0: https://files.pythonhosted.org/packages/c2/36/178b26a338cd6d30523246da4721b1114306f588deb813f3f503052825ee/warlock-1.3.3.tar.gz
|
Source0: https://files.pythonhosted.org/packages/c2/36/178b26a338cd6d30523246da4721b1114306f588deb813f3f503052825ee/warlock-1.3.3.tar.gz
|
||||||
|
|
||||||
|
Patch0000: change-require-jsonschemema-package-version.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
@ -180,7 +182,7 @@ pip install warlock
|
|||||||
[pypistats]: https://pypistats.org/packages/warlock
|
[pypistats]: https://pypistats.org/packages/warlock
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n warlock-1.3.3
|
%autosetup -n warlock-1.3.3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -220,5 +222,8 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org>
|
* Mon Nov 07 2022 xu_ping <xuping33@h-partners.com> - 1.3.3-2
|
||||||
|
- change jsonschemema version to fix installed error
|
||||||
|
|
||||||
|
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org> - 1.3.3-1
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user