From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 917DC158089 for ; Thu, 21 Sep 2023 09:54:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4E062BC06C; Thu, 21 Sep 2023 09:54:24 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id BA0912BC06C for ; Thu, 21 Sep 2023 09:54:24 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D54F9335D7C for ; Thu, 21 Sep 2023 09:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11E72122C for ; Thu, 21 Sep 2023 09:54:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1695290056.e867a60db788926c07ec393229777c03c7c24018.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/urllib3/urllib3-2.0.5.ebuild X-VCS-Directories: dev-python/urllib3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e867a60db788926c07ec393229777c03c7c24018 X-VCS-Branch: master Date: Thu, 21 Sep 2023 09:54:21 +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: 2054a5e8-b536-4567-9666-8a0c10e38135 X-Archives-Hash: 30bc3f7cee6cc469c76a69ba70eeae90 commit: e867a60db788926c07ec393229777c03c7c24018 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 21 09:53:28 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 21 09:54:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e867a60d dev-python/urllib3: Use pytest-rerunfailures to fight flakiness Signed-off-by: Michał Górny gentoo.org> dev-python/urllib3/urllib3-2.0.5.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/urllib3/urllib3-2.0.5.ebuild b/dev-python/urllib3/urllib3-2.0.5.ebuild index 9a53866c278c..c19270adc8b6 100644 --- a/dev-python/urllib3/urllib3-2.0.5.ebuild +++ b/dev-python/urllib3/urllib3-2.0.5.ebuild @@ -38,6 +38,7 @@ BDEPEND=" dev-python/brotlicffi[\${PYTHON_USEDEP}] dev-python/freezegun[\${PYTHON_USEDEP}] dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[\${PYTHON_USEDEP}] >=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}] >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] >=dev-python/zstandard-0.18.0[\${PYTHON_USEDEP}] @@ -79,5 +80,6 @@ python_test() { # plugins make tests slower, and more fragile local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest + # some tests are very fragile to timing + epytest -p rerunfailures --reruns=10 --reruns-delay=2 }