dev-python/tempest: Bump to 46.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-14 03:47:10 +01:00
parent 7c009644c3
commit c23464a58e
2 changed files with 77 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST tempest-45.0.0.tar.gz 1171661 BLAKE2B 4978470e3481df1086837685f30b2fa0807e6ae49d0479ebcda4fc514d2034fb2b0f0aac4bbf7246f8ecf3e156dc8cf9d1f4a16b5d298a90f6a82d5ee3af4da1 SHA512 65de92882bda88b2bd52ade54c046e638f43b3e6b213615f1486eb0bd1e04b9360d09653fa480bdb354397b239f7a35658c97f8ff058d3a9617fdfa14f84b280
DIST tempest-46.0.0.tar.gz 1172210 BLAKE2B 76ebb5a5914de0cd78b737411ee38df6f349d31f3f253f184bd3ad7bf03db5c5c1139e97758edcf22702249d6a2799b66be09bd69256048397fa18d76b277efd SHA512 d6e6247f3bb4a9b5fc465c0c5d6c64aa7335a417a6614a9ae61e55d6b6a02423ebcab34867427b7b92c749d465374bb82b9915dff4e3748201b0c5e4844f402e

View File

@@ -0,0 +1,76 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 multiprocessing pypi
DESCRIPTION="OpenStack Integration Testing"
HOMEPAGE="
https://pypi.org/project/tempest/
https://docs.openstack.org/tempest/latest/
https://launchpad.net/tempest/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
>=dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
>=dev-python/python-subunit-1.0.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
>=dev-python/fasteners-0.16.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
test? (
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
dev-python/stestr[${PYTHON_USEDEP}]
<dev-python/testtools-2.8.0[${PYTHON_USEDEP}]
)
"
src_prepare() {
# Small subset of tests, which fail as result of not using specific
# testing environment.
rm -r tempest/tests/lib/services/volume/v3/ || die
# remove dep on hacking
rm tempest/tests/test_hacking.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
mv "${BUILD_DIR}"/install/{usr/,}etc || die
}
python_test() {
local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1
local -x OS_TEST_TIMEOUT=300
stestr --test-path ./tempest/tests run --concurrency="$(makeopts_jobs)" ||
die "Tests failed for ${EPYTHON}"
}