python-mitmproxy/0001-change-requires-version.patch

40 lines
1.4 KiB
Diff

diff --git a/setup.py b/setup.py
index 94ef426..bd1c511 100644
--- a/setup.py
+++ b/setup.py
@@ -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.
install_requires=[
- "asgiref>=3.2.10,<3.6",
- "Brotli>=1.0,<1.1",
+ "asgiref>=3.2.10",
+ "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,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.1",
"pyperclip>=1.6.0,<1.9",
- "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",
- "zstandard>=0.11,<0.20",
+ "zstandard>=0.11",
"typing-extensions>=4.3,<4.5; python_version<'3.10'",
],
extras_require={