[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/19: gnu: Add python-tempest.
From: |
guix-commits |
Subject: |
10/19: gnu: Add python-tempest. |
Date: |
Wed, 10 Aug 2022 03:52:23 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit b08a3554a4577f7fb1557f296aa189bc220e7138
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Jul 20 21:49:40 2022 +0200
gnu: Add python-tempest.
* 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 e84c9ac7bc..5bf5983541 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -346,6 +346,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")
- branch master updated (b72459a861 -> 2111a4eee7), guix-commits, 2022/08/10
- 03/19: gnu: Add python-dogpile.cache., guix-commits, 2022/08/10
- 02/19: gnu: Add python-requests-kerberos., guix-commits, 2022/08/10
- 01/19: gnu: python-stestr: Update to 3.2.1., guix-commits, 2022/08/10
- 07/19: gnu: Add python-keystoneauth1., guix-commits, 2022/08/10
- 08/19: gnu: Add python-requestsexceptions., guix-commits, 2022/08/10
- 14/19: gnu: python-oslo.log: Update to 5.0.0., guix-commits, 2022/08/10
- 04/19: gnu: Add python-statsd., guix-commits, 2022/08/10
- 09/19: gnu: Add python-openstacksdk., guix-commits, 2022/08/10
- 05/19: gnu: Add python-os-service-types., guix-commits, 2022/08/10
- 10/19: gnu: Add python-tempest.,
guix-commits <=
- 06/19: gnu: Add python-oslo.concurrency., guix-commits, 2022/08/10
- 11/19: gnu: python-keystoneclient: Update to 5.0.0., guix-commits, 2022/08/10
- 15/19: gnu: python-tempest-lib: Update to 1.0.0., guix-commits, 2022/08/10
- 16/19: gnu: python-pyjwt: Update to 2.4.0., guix-commits, 2022/08/10
- 12/19: gnu: python-munch: Update to 2.5.0., guix-commits, 2022/08/10
- 17/19: gnu: python-swiftclient: Update to 4.0.1., guix-commits, 2022/08/10
- 18/19: gnu: python-pygithub: Update to 1.55., guix-commits, 2022/08/10
- 19/19: gnu: conan: Update to 1.50.0., guix-commits, 2022/08/10
- 13/19: gnu: python-oslo.context: Update to 5.0.0., guix-commits, 2022/08/10