From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aAadJrNhFGGK9AAAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 01:48:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QPweIrNhFGGyawAAB5/wlQ (envelope-from ) for ; Wed, 11 Aug 2021 23:48:03 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12BA31DD6E for ; Thu, 12 Aug 2021 01:48:03 +0200 (CEST) Received: from localhost ([::1]:60822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDxx4-0000UB-42 for larch@yhetil.org; Wed, 11 Aug 2021 19:48:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDxw8-0006ut-RH for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDxw8-0006cE-Ks for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDxw8-0001Ju-Iq for guix-patches@gnu.org; Wed, 11 Aug 2021 19:47:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH 11/19] gnu: Add python-pytest-rerunfailures. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Aug 2021 23:47:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50018@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50018-submit@debbugs.gnu.org id=B50018.16287255894879 (code B ref 50018); Wed, 11 Aug 2021 23:47:04 +0000 Received: (at 50018) by debbugs.gnu.org; 11 Aug 2021 23:46:29 +0000 Received: from localhost ([127.0.0.1]:36942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxvZ-0001Gc-E7 for submit@debbugs.gnu.org; Wed, 11 Aug 2021 19:46:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxvX-0001GC-GZ for 50018@debbugs.gnu.org; Wed, 11 Aug 2021 19:46:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A4CDC240104 for <50018@debbugs.gnu.org>; Thu, 12 Aug 2021 01:46:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628725581; bh=y5wSnWQjcC94WSgQ71EGAaX5fNd7VviloI/fIRkaufs=; h=From:To:Cc:Subject:Date:From; b=j6u2OS4PGWVwccHi59VYEpbH7UsSyRIG1AOLt0H5peGlkt9OEfMWfjQw4YutuuNOP X9cEMN8MkoarsxRGqSTgmsOtFmyVVIT/dFj6hhL+b7ovepog0BkJqJwxpJWi7EbH0b WxcEp0UvOPOY+auIxuB5MNrf3zUp9GXIbZ4b/v8tov44gNN/2J/8FmUHCgNLxE6Lux UpGaTlxclYqjABsMgyd7xCNEp65pwzlOWamOlkctfzkfmW4mmkG9NeLP2O3p1d7DEt FciDHL7m+B3YwvIzKeZk12n7ksmPe7SYBA420q/fzMVFMBrJsaqraPquyX/II6tj/b x//fPx5chJO3g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GlRKm5vhnz9rxH; Thu, 12 Aug 2021 01:46:20 +0200 (CEST) From: Vinicius Monego Date: Wed, 11 Aug 2021 23:45:03 +0000 Message-Id: <20210811234511.32450-11-monego@posteo.net> In-Reply-To: <20210811234511.32450-1-monego@posteo.net> References: <20210811234511.32450-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628725683; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jHloqX7Whn1jTHJW9ORN8ecpjDmjgNuzamPa8Dbnhkk=; b=YjkxElSTz+QzLOL1r4dke/ekyRk/2pLisGxquZ4Bav0WQAHHcFbpB+tPas2f5JF8wcic91 XgyvNp1Ax89FGNDOWpiBxSyryAF6J8xiOeXcl+Xlq1dRX9S3y9kwBvM2eydrByKYKkeyS+ uD9vLSOitPvfZTVQjJSYO1yR9VuYFARZZOngl5ILhCF82fUOnO24J80o5E+4G8g0P8P+1G wLCORQYlNidBM/xpr3z5NWRgBzSQTVdriC7pbnSEIi1QJJFvoUa9F1UbzYcTycFh1xPMXT VGDTMP6837rgqt4ll5E8WktakYZDjiUVgSQWu9+zj7HaZ4zQkHf0kLsw/xQzEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628725683; a=rsa-sha256; cv=none; b=cC9NTn2n4FtOJptoKbrCCvdcAXdG8pu/D1YUbhrpCu0G69kG46rjsgBCMs1gzGBbKtm2QV +v8cv4fVNbSdJcDyc1LDoZVg7v5Fwwf2ELGm+LD2pMVKUOpw9u1BolC58JiIzeKAVimeR8 t7+JTjsD9NDjvgm+U9UZKFAN7o/AnyBzJSi5+cgkgm6k2JlvHbKql4O/IVhGrAQ4+LaGaZ DEpUf4Kl1a6BCmJrX4P4O4qpNnIDeac4hkUQeLzdVgugSB1qTNAPB/M5YhXR5yAsX+jmO/ SFYbOvdc4IzrSJ++kPMdNHiA1uttDFRvgdrBXDPh3H1Q4m1l5XYy+w8wl6fWHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=j6u2OS4P; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=j6u2OS4P; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 12BA31DD6E X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: cTaGc1P2Kxtv * gnu/packages/python-check.scm (python-pytest-rerunfailures): New variable. --- gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 0eef7ba8e5..148dfd5fad 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1037,6 +1037,34 @@ service processes for your tests with pytest.") new fixtures, new methods and new comparison objects.") (license license:expat))) +(define-public python-pytest-rerunfailures + (package + (name "python-pytest-rerunfailures") + (version "10.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-rerunfailures" version)) + (sha256 + (base32 "0ws2hbgh00nd6xchyi9ymyxfpg5jpxsy5mxdz4nxvriyw5nw05vn")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" + "test_pytest_rerunfailures.py"))))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/pytest-dev/pytest-rerunfailures") + (synopsis "Pytest plugin to re-run tests to eliminate flaky failures") + (description "This package provides a Pytest plugin to re-run tests to +eliminate flaky failures.") + (license license:mpl2.0))) + (define-public python-pytest-aiohttp (package (name "python-pytest-aiohttp") -- 2.30.2