!27 Modify installation dependency version limit

From: @wang--ge 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2024-04-01 10:02:13 +00:00 committed by Gitee
commit 4c21687d77
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 14 additions and 7 deletions

View File

@ -1,5 +1,5 @@
diff --git a/setup.py b/setup.py
index 94ef426..7661a0e 100644
index 94ef426..bd1c511 100644
--- a/setup.py
+++ b/setup.py
@@ -73,10 +73,10 @@ setup(
@ -7,24 +7,28 @@ index 94ef426..7661a0e 100644
# It is not considered best practice to use install_requires to pin dependencies to specific versions.
install_requires=[
- "asgiref>=3.2.10,<3.6",
- "Brotli>=1.0,<1.1",
+ "asgiref>=3.2.10",
"Brotli>=1.0,<1.1",
+ "Brotli>=1.0,<=1.1.0",
"certifi>=2019.9.11", # no semver here - this should always be on the last release!
- "cryptography>=38.0,<38.1",
+ "cryptography>=38.0",
"flask>=1.1.1,<2.3",
"h11>=0.11,<0.15",
"h2>=4.1,<5",
@@ -87,7 +87,7 @@ setup(
@@ -87,16 +87,16 @@ setup(
"msgpack>=1.0.0, <1.1.0",
"passlib>=1.6.5, <1.8",
"protobuf>=3.14,<5",
- "pyOpenSSL>=22.1,<22.2",
- "pyparsing>=2.4.2,<3.1",
+ "pyOpenSSL>=22.1",
"pyparsing>=2.4.2,<3.1",
+ "pyparsing>=2.4.2,<=3.1.1",
"pyperclip>=1.6.0,<1.9",
"ruamel.yaml>=0.16,<0.18",
@@ -96,7 +96,7 @@ setup(
- "ruamel.yaml>=0.16,<0.18",
+ "ruamel.yaml>=0.16,<=0.18.6",
"sortedcontainers>=2.3,<2.5",
"tornado>=6.1,<7",
"urwid>=2.1.1,<2.2",
"wsproto>=1.0,<1.3",
"publicsuffix2>=2.20190812,<3",

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-mitmproxy
Version: 9.0.1
Release: 1
Release: 2
Summary: An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.
License: MIT
URL: https://github.com/mitmproxy/mitmproxy/
@ -74,6 +74,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Apr 01 2024 Ge Wang <wang__ge@126.com> - 9.0.1-2
- Modify installation dependency version limit
* Tue Sep 19 2023 xu_ping <707078654@qq.com> - 9.0.1-1
- Upgrade version to 9.0.1
- add Raw UDP and DTLS support.