!26 升级master工程的python-httplib2到0.20.2版本
From: @xigaoxinyan Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
bc6edb9f24
@ -1,33 +0,0 @@
|
|||||||
From 217b969872938cb021e914c202b8e09cf639c202 Mon Sep 17 00:00:00 2001
|
|
||||||
From: bzg1107 <preloyalwhite@163.com>
|
|
||||||
Date: Tue, 4 Jan 2022 16:02:44 +0800
|
|
||||||
Subject: [PATCH] cancel require pyparsing version limit
|
|
||||||
|
|
||||||
---
|
|
||||||
python3/httplib2/auth.py | 2 +-
|
|
||||||
requirements.txt | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/python3/httplib2/auth.py b/python3/httplib2/auth.py
|
|
||||||
index 516fdaa..9d9d7ed 100644
|
|
||||||
--- a/python3/httplib2/auth.py
|
|
||||||
+++ b/python3/httplib2/auth.py
|
|
||||||
@@ -15,7 +15,7 @@ token = pp.Word(tchar).setName("token")
|
|
||||||
token68 = pp.Combine(pp.Word("-._~+/" + pp.nums + pp.alphas) + pp.ZeroOrMore("=")).setName("token68")
|
|
||||||
|
|
||||||
quoted_string = pp.dblQuotedString.copy().setName("quoted-string").setParseAction(unquote)
|
|
||||||
-auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
|
|
||||||
+auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.pyparsing_common.downcase_tokens)
|
|
||||||
auth_param = auth_param_name + pp.Suppress("=") + (token ^ quoted_string)
|
|
||||||
params = pp.Dict(pp.delimitedList(pp.Group(auth_param)))
|
|
||||||
|
|
||||||
diff --git a/requirements.txt b/requirements.txt
|
|
||||||
index 4ebe545..bc8d448 100644
|
|
||||||
--- a/requirements.txt
|
|
||||||
+++ b/requirements.txt
|
|
||||||
@@ -1 +1 @@
|
|
||||||
-pyparsing>=2.4.2,<3 # TODO include v3 after dropping Python2 support
|
|
||||||
+pyparsing>=2.4.2 # TODO include v3 after dropping Python2 support
|
|
||||||
--
|
|
||||||
2.30.0
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,11 +1,10 @@
|
|||||||
Name: python-httplib2
|
Name: python-httplib2
|
||||||
Version: 0.19.0
|
Version: 0.20.2
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Small, fast HTTP client library for Python.
|
Summary: Small, fast HTTP client library for Python.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/httplib2/httplib2
|
URL: https://github.com/httplib2/httplib2
|
||||||
Source0: https://files.pythonhosted.org/packages/ed/ef/f0e05d5886a9c25dea4b18be06cd7bcaddbae0168cc576f3568f9bd6a35a/httplib2-0.19.0.tar.gz
|
Source0: https://github.com/httplib2/httplib2/archive/refs/tags/v0.20.2.tar.gz
|
||||||
Patch0: 0001-cancel-require-pyparsing-version-limit.patch
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-setuptools python3-devel
|
BuildRequires: python3-setuptools python3-devel
|
||||||
%endif
|
%endif
|
||||||
@ -56,6 +55,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 17 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 0.20.2-1
|
||||||
|
- Update to 0.20.2
|
||||||
|
|
||||||
* Mon Jan 9 2022 baizhonggui <baizhonggui@huawei.com> - 0.19.0-4
|
* Mon Jan 9 2022 baizhonggui <baizhonggui@huawei.com> - 0.19.0-4
|
||||||
- support newst pyparsing syntax
|
- support newst pyparsing syntax
|
||||||
|
|
||||||
|
|||||||
BIN
v0.20.2.tar.gz
Normal file
BIN
v0.20.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user