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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FBEB13934E for ; Tue, 27 Jul 2021 05:37:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39D5BE090F; Tue, 27 Jul 2021 05:37:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20C71E090F for ; Tue, 27 Jul 2021 05:37:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E81F342D73 for ; Tue, 27 Jul 2021 05:37:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0369842 for ; Tue, 27 Jul 2021 05:37:52 +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: <1627364266.89af6c0e26ca68ebd17bf39f2458b6ce3cd9bdd3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/websockets/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/websockets/websockets-9.1.ebuild X-VCS-Directories: dev-python/websockets/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 89af6c0e26ca68ebd17bf39f2458b6ce3cd9bdd3 X-VCS-Branch: master Date: Tue, 27 Jul 2021 05:37:52 +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: e8d37b72-8e2b-4a32-8c1e-62fd8aef11bf X-Archives-Hash: ad00630fa66a9177c0f652740a578c0e commit: 89af6c0e26ca68ebd17bf39f2458b6ce3cd9bdd3 Author: Michał Górny gentoo org> AuthorDate: Tue Jul 27 05:19:56 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 27 05:37:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89af6c0e dev-python/websockets: Skip tests that fail on slower hw The ping tests tend to require execution with millisecond precision. This makes them fail on slower hardware. Closes: https://bugs.gentoo.org/804312 Signed-off-by: Michał Górny gentoo.org> dev-python/websockets/websockets-9.1.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-python/websockets/websockets-9.1.ebuild b/dev-python/websockets/websockets-9.1.ebuild index 6f59bacfa94..5e3b89269e2 100644 --- a/dev-python/websockets/websockets-9.1.ebuild +++ b/dev-python/websockets/websockets-9.1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 @@ -16,3 +16,12 @@ SLOT="0" KEYWORDS="amd64 arm arm64 ppc ppc64 sparc x86" distutils_enable_tests unittest + +src_prepare() { + # these fail due to timeouts on slower hardware + sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ + -e 's:test_keepalive_ping(:_&:' \ + -i tests/legacy/test_protocol.py || die + + distutils-r1_src_prepare +}