packages/lang/python/python-twisted/patches/002-omit-tests.patch
Jeffery To 56b10770fc
python-twisted: Update to 22.10.0
Includes fix for CVE-2022-39348 (NameVirtualHost Host header injection).

This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:17 +08:00

20 lines
285 B
Diff

--- a/setup.cfg
+++ b/setup.cfg
@@ -107,6 +107,9 @@ mypy =
[options.packages.find]
where = src
+exclude =
+ *.test
+ *.test.*
[options.entry_points]
console_scripts =
@@ -126,6 +129,7 @@ console_scripts =
*.pxi
*.pyx
build.bat
+ test/*
[flake8]
disable-noqa = True