commit: 1595b6a0f9ad57c0fd26fe88cf81cdb4d1e8d9e3 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Jul 8 05:45:21 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Jul 8 22:59:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1595b6a0
net-analyzer/wapiti: add important runtime version cap Now that tests kinda sorta ***work***, we can see by testing, that we have bad dependencies installed. This project is NOT compatible with current httpx. The version cap results in around a hundred test failures disappearing. Some of them start failing instead because of network sandboxing, so add PROPERTIES for this. We're down to two failures: ``` ===================================== short test summary info ===================================== FAILED tests/attack/test_mod_log4shell.py::test_verify_dns - ValueError: nameserver is not a dns.nameserver.Nameserver instance or text form, IP address, nor a valid https URL FAILED tests/cli/test_options.py::test_options - AssertionError: assert 11 == (11 + 1) ===================== 2 failed, 231 passed, 96 warnings in 120.44s (0:02:00) ====================== * ERROR: net-analyzer/wapiti-3.1.7-r1::gentoo failed (test phase): * pytest failed with python3.11 ``` Bug: https://bugs.gentoo.org/952156 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> net-analyzer/wapiti/{wapiti-3.1.7.ebuild => wapiti-3.1.7-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-analyzer/wapiti/wapiti-3.1.7.ebuild b/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild similarity index 96% rename from net-analyzer/wapiti/wapiti-3.1.7.ebuild rename to net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild index a4bb3b0f36ff..5a92f7099c08 100644 --- a/net-analyzer/wapiti/wapiti-3.1.7.ebuild +++ b/net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild @@ -35,6 +35,7 @@ RDEPEND=" >=dev-python/dnspython-2.1.0[${PYTHON_USEDEP}] >=dev-python/h11-0.14[${PYTHON_USEDEP}] >=dev-python/httpx-0.23.3[${PYTHON_USEDEP}] + <=dev-python/httpx-0.28[${PYTHON_USEDEP}] >=dev-python/loguru-0.5.3[${PYTHON_USEDEP}] >=dev-python/mako-1.1.4[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] @@ -56,6 +57,8 @@ BDEPEND+=" test? ( dev-python/responses[${PYTHON_USEDEP}] dev-python/respx[${PYTHON_USEDEP}] )" +PROPERTIES="test_network" +RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-3.1.6-setup_scripts.patch )
