dev-python/tavern: Bump to 3.6.3

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-08-31 20:54:17 +02:00
parent 54717e19e1
commit ec23ccc6af
2 changed files with 74 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST tavern-3.6.1.gh.tar.gz 734344 BLAKE2B bb3ed80c9c290e7c050d1a0590804cbf499fc9584567fab6cce0beeba8ba798319c0c4edaf614cb3cd6fe9a02313e1ff4c47042ece755ff8b408e4125f0f4805 SHA512 1178df1ec0079022dd3cd5afe214e27d0455b7e0f2cd315798f8291d671ae85a51d3e480743d19f5a340ede8a4989700f74d96683ddb99ff7c2212298e2bccf5
DIST tavern-3.6.2.gh.tar.gz 768394 BLAKE2B db97acfc7395eaa481bbcbb08d7e09978a395c202c88536803c0fd9659258dec717c0f08e866a3bef8283658a82342fecc2c63c7c0ec1ab857811a1d1c62e8d2 SHA512 f73991f996ed979e227886a8867ddc4a5837ce1292eb4c4c0f696971366b0c7695adbe2f242f64535ebcd61ac081efa1fafdaf8f10f3f767a3d490abc37a6ff0
DIST tavern-3.6.3.gh.tar.gz 769747 BLAKE2B 7f81d9bce49f212c8855775ad98b9a5d1e9d958170bef6769057472d2a3198d45251e0a873d2efdefc61871e48d7d060066da7cecb3a7597fb46f6f50581b34d SHA512 e93454fe8e15a18baa8dae8cb727dc6da03e1125a2e8968045cd8cb44e96b2f2bf8e1e9ce04f26c6770f5cc4ed41aded7aa49c9dc5c798f0bd02a1f69f90e36d

View File

@@ -0,0 +1,73 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit-core
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs"
HOMEPAGE="
https://github.com/taverntesting/tavern/
https://pypi.org/project/tavern/
"
SRC_URI="
https://github.com/taverntesting/tavern/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/hypothesis-6[${PYTHON_USEDEP}]
>=dev-python/jmespath-1[${PYTHON_USEDEP}]
>=dev-python/jsonschema-4[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}]
>=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}]
>=dev-python/pytest-8[${PYTHON_USEDEP}]
>=dev-python/python-box-6[${PYTHON_USEDEP}]
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
>=dev-python/simpleeval-1.0.3[${PYTHON_USEDEP}]
>=dev-python/stevedore-4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/colorlog[${PYTHON_USEDEP}]
dev-python/faker[${PYTHON_USEDEP}]
dev-python/paho-mqtt[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( "${PN}" )
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# requires grpc
tests/unit/test_extensions.py::TestGrpcCodes
# broken with paho-mqtt-2
tests/unit/test_mqtt.py::TestClient::test_context_connection_success
# TODO
tests/unit/response/test_mqtt_response.py::TestResponse::test_same_topic
)
EPYTEST_IGNORE=(
# require grpc*
tavern/_plugins/grpc
tests/unit/tavern_grpc
# require gql
tavern/_plugins/graphql
tests/unit/plugins/graphql
# require allure
tests/unit/test_allure.py
)
src_prepare() {
# strip unnecessary pins, upstream doesn't update them a lot
sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die
distutils-r1_src_prepare
}