From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EISCB+dAJF/+bwAA0tVLHw (envelope-from ) for ; Fri, 31 Jul 2020 16:03:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AIRVA+dAJF90OgAA1q6Kng (envelope-from ) for ; Fri, 31 Jul 2020 16:03:51 +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 6E29E94062E for ; Fri, 31 Jul 2020 16:03:50 +0000 (UTC) Received: from localhost ([::1]:60312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1XVb-0004Js-Ln for larch@yhetil.org; Fri, 31 Jul 2020 12:03:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1XSy-00014I-5Q for guix-patches@gnu.org; Fri, 31 Jul 2020 12:01:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1XSw-0004dk-IW for guix-patches@gnu.org; Fri, 31 Jul 2020 12:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1XSw-00086n-Dl for guix-patches@gnu.org; Fri, 31 Jul 2020 12:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42636] [PATCH] gnu: Add python-pytest-ordering. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42636 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42636@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159621120931098 (code B ref -1); Fri, 31 Jul 2020 16:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 16:00:09 +0000 Received: from localhost ([127.0.0.1]:38493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1XS4-00085V-QA for submit@debbugs.gnu.org; Fri, 31 Jul 2020 12:00:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:52660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1XS0-00084K-Kj for submit@debbugs.gnu.org; Fri, 31 Jul 2020 12:00:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1XS0-0008Mt-2f for guix-patches@gnu.org; Fri, 31 Jul 2020 12:00:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1XRw-0004Mh-Un for guix-patches@gnu.org; Fri, 31 Jul 2020 12:00:03 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 617CC16005F for ; Fri, 31 Jul 2020 17:59:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596211198; bh=yZ6Im9tKFSXCB15APHkuvjrbsMKlYcx5lMus30BxQOs=; h=From:To:Cc:Subject:Date:From; b=L+rrX4ti7yVw19bE7yvvR4tf/3g82n6L593+6JUT39gP8dAv+MjwbutFSHgCQjddU nDYOffkwfMDBOaLjAX3qpU8f8AFZdZ2AwpX9J1DKqy3Ks5yN35T23Pl6rL1Ysd8OkG 4pf19NfwFBi2KZ32vgLQCOeM2ISgo8jLiIDIVG4J9u8Q0+KKgNImJLMT9uPtQNuC3H lWvJy6t6swGONHgcnAXtXNptjiPWCXXLl7G6GjG6FpHePzmGZUfFWVUgYVcoqGZmjJ 5qcR5SKfVin4jL9CI6WLioC/rORKWFDyUSzkd7t+udaeQP0cvMexyxK+mpAUQO6/bS k+ox7KMq9yvDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BJBn85T2Cz9rxR; Fri, 31 Jul 2020 17:59:56 +0200 (CEST) From: Vinicius Monego Date: Fri, 31 Jul 2020 12:59:21 -0300 Message-Id: <20200731155921.39000-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/31 11:59:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=L+rrX4ti; 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-Spam-Score: 5.09 X-TUID: iJt7QhZEdqCq * gnu/packages/python-check.scm (python-pytest-ordering): New variable. --- gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e96ce9e666..3beac8c206 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -126,6 +126,40 @@ detect the absence of a cassette file and once again record all HTTP interactions, which will update them to correspond to the new API.") (license license:expat))) +(define-public python-pytest-ordering + (package + (name "python-pytest-ordering") + (version "0.6") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/ftobia/pytest-ordering") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14msj5gyqza0gk3x7h1ivmjrwza82v84cj7jx3ks0fw9lpin7pjq")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-k" + ;; This test fails because of a type mismatch of an + ;; argument passed to @code{pytest.main}. + "not test_run_marker_registered")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/ftobia/pytest-ordering") + (synopsis "Pytest plugin to run your tests in a specific order") + (description + "This plugin defines Pytest markers to ensure that some tests, or groups +of tests run in a specific order.") + (license license:expat))) + (define-public python-pytest-arraydiff (package (name "python-pytest-arraydiff") -- 2.20.1