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 AF70C158041 for ; Wed, 13 Mar 2024 06:51:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89A84E2A08; Wed, 13 Mar 2024 06:51:53 +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 54228E2A06 for ; Wed, 13 Mar 2024 06:51:53 +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 42BD1340813 for ; Wed, 13 Mar 2024 06:51:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 791E9151E for ; Wed, 13 Mar 2024 06:51:49 +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: <1710312700.264db5c51b189be78e8469e80935eaeb0c567d84.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flaky/Manifest dev-python/flaky/flaky-3.8.1.ebuild X-VCS-Directories: dev-python/flaky/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 264db5c51b189be78e8469e80935eaeb0c567d84 X-VCS-Branch: master Date: Wed, 13 Mar 2024 06:51:49 +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: 916c6392-bd0d-4f52-a839-fae4820c2f2b X-Archives-Hash: ec446ec48f1d29968c20fa5b4e068044 commit: 264db5c51b189be78e8469e80935eaeb0c567d84 Author: Michał Górny gentoo org> AuthorDate: Wed Mar 13 06:34:16 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 13 06:51:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264db5c5 dev-python/flaky: Bump to 3.8.1 Signed-off-by: Michał Górny gentoo.org> dev-python/flaky/Manifest | 1 + dev-python/flaky/flaky-3.8.1.ebuild | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/flaky/Manifest b/dev-python/flaky/Manifest index f745c6bb2b5e..ef74eb38ba46 100644 --- a/dev-python/flaky/Manifest +++ b/dev-python/flaky/Manifest @@ -1,2 +1,3 @@ DIST flaky-3.7.0.tar.gz 29591 BLAKE2B 747fbda71055bba937abf3e7b97691c1f4b222f085069d1815d5a9eba669464d2ed5d6dcf1842ae82f1970de5cd5e3aea5b12476bfa2d9282549ad0cc62901e9 SHA512 b399f6e1323d6ca341803ac6f1eb318bf24dc37182d0b49b89bb81b9466dd36271ad6dbb9f48ea6fa4760ee631f1482bb6f49c64f4d4520c40634089c1b64f9a DIST flaky-3.8.0.tar.gz 25227 BLAKE2B 64ad4658058a2e6704b7493553ab3ffa0af7eccf1eaeb6eb5336f3ca5a25c1a187d641e49d983537d8ca0d7c48fdb944e18af788bb364c37ce1a0251cd36bdbb SHA512 3023bb136f9d91ffa149081f6483ae6bf85a4e689e0614b64d92880b3bdc312bfd2e6b1ddea43a33cd0a4a60daf3cedb1b2820bf25960adab21164d599d6fd44 +DIST flaky-3.8.1.tar.gz 25248 BLAKE2B 3ebc05777c5a6b3551b794516579b7985b06b0236889089643c028e55cdc7af777ae3a64f8e0464bd751f6ea4689067465ea94fde624743ddbed84f55e1bbe94 SHA512 486b8aeb9a63c5b4dfb0cf4a0ad86b29e90cdc4a604cdca7676c4b918fc4bb40e185fcc23a205a12916fd2b99316a2a89ca363b3f6efe2ebfb1e93722b4f4547 diff --git a/dev-python/flaky/flaky-3.8.1.ebuild b/dev-python/flaky/flaky-3.8.1.ebuild new file mode 100644 index 000000000000..7fbc776453fb --- /dev/null +++ b/dev-python/flaky/flaky-3.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Plugin for pytest that automatically reruns flaky tests" +HOMEPAGE=" + https://github.com/box/flaky/ + https://pypi.org/project/flaky/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/genty[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + epytest -k 'example and not options' --doctest-modules test/test_pytest/ || die + epytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die + epytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die +}