Modify the installation dependency protobuf version limit

(cherry picked from commit c560069c0802d62f4e402ff2737732b08122cccd)
This commit is contained in:
lyn1001 2023-09-01 09:36:13 +08:00 committed by openeuler-sync-bot
parent 6d9cf42036
commit 6096f33fa2
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
diff -Nur a/setup.py b/setup.py diff -Nur a/setup.py b/setup.py
--- a/setup.py 2021-07-16 16:24:38.000000000 +0800 --- a/setup.py 2021-07-16 16:24:38.000000000 +0800
+++ b/setup.py 2022-07-26 10:21:47.296522066 +0800 +++ b/setup.py 2023-09-01 09:21:55.013086462 +0800
@@ -66,31 +66,31 @@ @@ -66,31 +66,31 @@
# https://packaging.python.org/en/latest/requirements/#install-requires # https://packaging.python.org/en/latest/requirements/#install-requires
# It is not considered best practice to use install_requires to pin dependencies to specific versions. # It is not considered best practice to use install_requires to pin dependencies to specific versions.
@ -25,9 +25,10 @@ diff -Nur a/setup.py b/setup.py
"ldap3>=2.8,<2.10", "ldap3>=2.8,<2.10",
"msgpack>=1.0.0, <1.1.0", "msgpack>=1.0.0, <1.1.0",
"passlib>=1.6.5, <1.8", "passlib>=1.6.5, <1.8",
"protobuf>=3.14,<3.18", - "protobuf>=3.14,<3.18",
- "pyOpenSSL>=20.0,<20.1", - "pyOpenSSL>=20.0,<20.1",
- "pyparsing>=2.4.2,<2.5", - "pyparsing>=2.4.2,<2.5",
+ "protobuf>=3.14",
+ "pyOpenSSL>=20.0", + "pyOpenSSL>=20.0",
+ "pyparsing>=2.4.2", + "pyparsing>=2.4.2",
"pyperclip>=1.6.0,<1.9", "pyperclip>=1.6.0,<1.9",

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-mitmproxy Name: python-mitmproxy
Version: 7.0.0 Version: 7.0.0
Release: 5 Release: 6
Summary: An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets. Summary: An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.
License: MIT License: MIT
URL: https://github.com/mitmproxy/mitmproxy/ URL: https://github.com/mitmproxy/mitmproxy/
@ -75,6 +75,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Sep 1 2023 liyanan <thistleslyn@163.com> - 7.0.0-6
- Modify the installation dependency protobuf version limit
* Tue Mar 28 2023 liyanan <liyanan32@h-partners.com> - 7.0.0-5 * Tue Mar 28 2023 liyanan <liyanan32@h-partners.com> - 7.0.0-5
- change requires version to fix install issue - change requires version to fix install issue