From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EEE6815820A for ; Tue, 08 Jul 2025 23:04:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DAD263422D0 for ; Tue, 08 Jul 2025 23:04:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 90D45110569; Tue, 08 Jul 2025 23:03:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7CE39110564 for ; Tue, 08 Jul 2025 23:03:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33B2C34217B for ; Tue, 08 Jul 2025 23:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 355D22F38 for ; Tue, 08 Jul 2025 23:03:07 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1752015585.1595b6a0f9ad57c0fd26fe88cf81cdb4d1e8d9e3.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wapiti/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/wapiti/wapiti-3.1.7-r1.ebuild net-analyzer/wapiti/wapiti-3.1.7.ebuild X-VCS-Directories: net-analyzer/wapiti/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 1595b6a0f9ad57c0fd26fe88cf81cdb4d1e8d9e3 X-VCS-Branch: master Date: Tue, 08 Jul 2025 23:03:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f89d21e-4573-4e79-a7cc-3be3d1e840b9 X-Archives-Hash: cac0835c4edf4b84fa2317da29a2b6f8 commit: 1595b6a0f9ad57c0fd26fe88cf81cdb4d1e8d9e3 Author: Eli Schwartz gentoo org> AuthorDate: Tue Jul 8 05:45:21 2025 +0000 Commit: Eli Schwartz gentoo 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 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 )