From patchwork Fri Jul 22 14:02:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 40829 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D0F8A27BBEB; Fri, 22 Jul 2022 15:07:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4165F27BBE9 for ; Fri, 22 Jul 2022 15:07:41 +0100 (BST) Received: from localhost ([::1]:38688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEtJc-0003oe-Do for patchwork@mira.cbaines.net; Fri, 22 Jul 2022 10:07:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEtGB-0008GG-8J for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEtG8-0005j9-Nm for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEtG8-0004ux-Ja for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56701] [PATCH 10/19] gnu: Add python-tempest. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Jul 2022 14:04:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56701 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56701@debbugs.gnu.org Received: via spool by 56701-submit@debbugs.gnu.org id=B56701.165849860018698 (code B ref 56701); Fri, 22 Jul 2022 14:04:04 +0000 Received: (at 56701) by debbugs.gnu.org; 22 Jul 2022 14:03:20 +0000 Received: from localhost ([127.0.0.1]:42032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEtFQ-0004rP-7l for submit@debbugs.gnu.org; Fri, 22 Jul 2022 10:03:20 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:56233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEtFL-0004qW-Mr for 56701@debbugs.gnu.org; Fri, 22 Jul 2022 10:03:16 -0400 Received: from hermia.goebel-consult.de ([46.87.142.64]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNfgZ-1nqUdB0VWV-00P8LY for <56701@debbugs.gnu.org>; Fri, 22 Jul 2022 16:03:10 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E42CA66623; Fri, 22 Jul 2022 16:02:49 +0200 (CEST) From: Hartmut Goebel Date: Fri, 22 Jul 2022 16:02:30 +0200 Message-Id: <2fc00a3c039e28a088c282fe2599988bd1aede4a.1658498185.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.4 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:WwYdSRwOZfRYOg5d/mlmf100r8ZgvhebeZeRe7Ak1pGDhm9IVck Ub7A6oFyQbbNGbh4W9S6y6+9PkwZu/q4HS7hDv8gB8YW9XyawiY6oYZX82Vo68NH27tMgQX EeO/ftG+Yy+GWSmfumzJriINgnQHLClPxbLlMotScyhhett9nWMplpIYTVi5jXgqo0yqT0O c3JU/w64AqwCsuC0uBGOw== X-UI-Out-Filterresults: notjunk:1;V03:K0:OPocRYjihcc=:n8PepDvluc1maaickKAcu8 Hedqe7jTzekEHIiG5g7cAbpI1v3dtIJP4WtE5JFBVaURsYG6nWLwybi2iS4F+PWii59hhE+EF J8PcU9L9ULCJplFoAMGT+zb0mSfqK+CiEoFfVAh7+762saVQS77u7c5o7HesTba8kKulKX/bM Ak/oWNXGO4VhOoNOBhEmPXRnHFGBg+EJNd4E51tEepU6yZ7ajKoAFQ36OJ+07IUDi6/zsrXhh ywLm+f/6pcJ1Ua78qe9pO/vc3UZFvegOkSJjLRLfqx9jktjnXCSMo0x+BasYm/SJK+mlVvyew IVLVeNxHWy6GTPIQsR4NcRVodBcoaMLhd0ymDbrlrQA+43egaVASbjEUrjO+vAhNhr05Wkc5C uDfDVhmeHc9Xy4d7GCKKz1VlxgUHWzOLN8Mny5sFbfSB445/dK+dEluDZymTQaL3PzBOjCK+8 pJGAN6C79iRU60AcYswNZ8VLwirRyLULYOGPRnNU0yYyaVzp5bDNMgCCjtH4dJrsA83tDP6hh axFI6v8Z188DJ2aaIoWeSSWfUVuqpvwK/RWQeyhaF/JB46EAC8Hev9z26QiVd9PD4zYW5pxCb 3/uHfC9q8peJkO/h+1br8vfTIXFY0BQcREVA5xgNfL+CAchV9VKCpTe9IzfpLgtiL2gTLS7a5 X4ZGD2rcnwQ295gMhr2cUONf2YfvoZtUhVWbevJO0qDXekFDTOFIpZopKVAv0Anw7p7eX6zCg KFPMwHToM+92yQCiNQIBidoSmeElm8uvAol7gJerwPr9YWl/PLUnSW5aOFA= 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/openstack.scm (python-tempest): New variable. --- gnu/packages/openstack.scm | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 6ed54caa26..d09de5e441 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -347,6 +347,64 @@ classes for implementing common patterns for using dynamically loaded extensions.") (license asl2.0))) +(define-public python-tempest + (package + (name "python-tempest") + (version "31.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "tempest" version)) + (sha256 + (base32 + "1bh250n0cf68jm68jd7pcrgf7zbsv74cq590ar1n002sijfcb80i")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "test-requirements.txt" + ;; unused, code-quality checks only + (("hacking[<>!=]" line) (string-append "# " line)) + (("flake8-.*[<>!=]" line) (string-append "# " line)) + (("pycodestyle[<>!=]" line) (string-append "# " line)) + (("coverage[<>!=]" line) (string-append "# " line))))) + (add-before 'check 'setup-check + (lambda _ + (substitute* "tempest/tests/lib/cli/test_execute.py" + (("cli_base.execute\\(\"env\",") + (string-append "cli_base.execute('" (which "env") "',"))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "stestr" "--test-path" "./tempest/tests" "run"))))))) + (propagated-inputs (list python-cliff + python-cryptography + python-debtcollector + python-fixtures + python-jsonschema + python-netaddr + python-oslo.concurrency + python-oslo.config + python-oslo.log + python-oslo.serialization + python-oslo.utils + python-paramiko + python-prettytable + python-pyyaml + python-stevedore + python-subunit + python-testtools + python-urllib3)) + (native-inputs (list python-oslotest python-pbr python-stestr python-hacking)) + (home-page "https://docs.openstack.org/tempest/latest/") + (synopsis "OpenStack Integration Testing") + (description "This is a set of integration tests to be run against a live +OpenStack cluster. Tempest has batteries of tests for OpenStack API +validation, scenarios, and other specific tests useful in validating an +OpenStack deployment.") + (license asl2.0))) + (define-public python-tempest-lib (package (name "python-tempest-lib")