!26 Upgrade version to 9.0.1

From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-12-26 11:40:38 +00:00 committed by Gitee
commit 1fe1bf6ea3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 30 additions and 38 deletions

View File

@ -1,47 +1,35 @@
diff -Nur a/setup.py b/setup.py diff --git a/setup.py b/setup.py
--- a/setup.py 2021-07-16 16:24:38.000000000 +0800 index 94ef426..7661a0e 100644
+++ b/setup.py 2023-09-01 09:21:55.013086462 +0800 --- a/setup.py
@@ -66,31 +66,31 @@ +++ b/setup.py
# https://packaging.python.org/en/latest/requirements/#install-requires @@ -73,10 +73,10 @@ setup(
# https://packaging.python.org/en/latest/discussions/install-requires-vs-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.
install_requires=[ install_requires=[
- "asgiref>=3.2.10,<3.5", - "asgiref>=3.2.10,<3.6",
- "blinker>=1.4, <1.5",
+ "asgiref>=3.2.10", + "asgiref>=3.2.10",
+ "blinker>=1.4",
"Brotli>=1.0,<1.1", "Brotli>=1.0,<1.1",
"certifi>=2019.9.11", # no semver here - this should always be on the last release! "certifi>=2019.9.11", # no semver here - this should always be on the last release!
"click>=7.0,<8.1", - "cryptography>=38.0,<38.1",
- "cryptography>=3.3,<3.5", + "cryptography>=38.0",
- "flask>=1.1.1,<2.1", "flask>=1.1.1,<2.3",
- "h11>=0.11,<0.13", "h11>=0.11,<0.15",
+ "cryptography>=3.3", "h2>=4.1,<5",
+ "flask>=1.1.1", @@ -87,7 +87,7 @@ setup(
+ "h11>=0.11",
"h2>=4.0,<5",
"hyperframe>=6.0,<7",
- "kaitaistruct>=0.7,<0.10",
+ "kaitaistruct>=0.7",
"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,<5",
- "pyOpenSSL>=20.0,<20.1", - "pyOpenSSL>=22.1,<22.2",
- "pyparsing>=2.4.2,<2.5", + "pyOpenSSL>=22.1",
+ "protobuf>=3.14", "pyparsing>=2.4.2,<3.1",
+ "pyOpenSSL>=20.0",
+ "pyparsing>=2.4.2",
"pyperclip>=1.6.0,<1.9", "pyperclip>=1.6.0,<1.9",
- "ruamel.yaml>=0.16,<0.17.11", "ruamel.yaml>=0.16,<0.18",
+ "ruamel.yaml>=0.16", @@ -96,7 +96,7 @@ setup(
"sortedcontainers>=2.3,<2.5",
"tornado>=4.3,<7",
"urwid>=2.1.1,<2.2", "urwid>=2.1.1,<2.2",
- "wsproto>=1.0,<1.1", "wsproto>=1.0,<1.3",
+ "wsproto>=1.0",
"publicsuffix2>=2.20190812,<3", "publicsuffix2>=2.20190812,<3",
- "zstandard>=0.11,<0.16", - "zstandard>=0.11,<0.20",
+ "zstandard>=0.11", + "zstandard>=0.11",
"typing-extensions>=4.3,<4.5; python_version<'3.10'",
], ],
extras_require={ extras_require={
':sys_platform == "win32"': [

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-mitmproxy Name: python-mitmproxy
Version: 7.0.0 Version: 9.0.1
Release: 6 Release: 1
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/
Source0: https://github.com/mitmproxy/mitmproxy/archive/refs/tags/v%{version}.tar.gz Source0: https://github.com/mitmproxy/mitmproxy/archive/%{version}/mitmproxy-%{version}.tar.gz
Patch0001: 0001-change-requires-version.patch Patch0001: 0001-change-requires-version.patch
BuildArch: noarch BuildArch: noarch
Requires: python3-asgiref python3-blinker python3-Brotli python3-certifi python3-click Requires: python3-asgiref python3-blinker python3-Brotli python3-certifi python3-click
@ -17,7 +17,6 @@ Requires: python3-publicsuffix2 python3-zstandard python3-pydivert py
Requires: python3-parver python3-pdoc python3-pyinstaller python3-pytest-asyncio Requires: python3-parver python3-pdoc python3-pyinstaller python3-pytest-asyncio
Requires: python3-pytest-cov python3-pytest-timeout python3-pytest-xdist python3-pytest Requires: python3-pytest-cov python3-pytest-timeout python3-pytest-xdist python3-pytest
Requires: python3-requests python3-tox python3-wheel Requires: python3-requests python3-tox python3-wheel
%description %description
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2, and WebSockets. mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2, and WebSockets.
@ -75,6 +74,11 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* 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.
- Deprecate add_log event hook and mitmproxy.ctx.log.
* Fri Sep 1 2023 liyanan <thistleslyn@163.com> - 7.0.0-6 * Fri Sep 1 2023 liyanan <thistleslyn@163.com> - 7.0.0-6
- Modify the installation dependency protobuf version limit - Modify the installation dependency protobuf version limit