From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50FCF1582EF for ; Sun, 09 Mar 2025 03:37:00 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3B84C3430DE for ; Sun, 09 Mar 2025 03:37:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0E52D11047D; Sun, 09 Mar 2025 03:35:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 067B611047C for ; Sun, 09 Mar 2025 03:35:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4EB7343074 for ; Sun, 09 Mar 2025 03:35:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15E2628AB for ; Sun, 09 Mar 2025 03:35:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1741491341.090d0a2baa9bd5d7ad1548eabf8ffea25ed7135e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tavern/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tavern/Manifest dev-python/tavern/tavern-2.13.0.ebuild X-VCS-Directories: dev-python/tavern/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 090d0a2baa9bd5d7ad1548eabf8ffea25ed7135e X-VCS-Branch: master Date: Sun, 09 Mar 2025 03:35:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a4401255-0331-49b4-83f2-e87b98da6d4f X-Archives-Hash: 9aeebcfa4ec2e155ad26e4a960eafb2a commit: 090d0a2baa9bd5d7ad1548eabf8ffea25ed7135e Author: Michał Górny gentoo org> AuthorDate: Sun Mar 9 03:29:02 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 9 03:35:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090d0a2b dev-python/tavern: Bump to 2.13.0 Signed-off-by: Michał Górny gentoo.org> dev-python/tavern/Manifest | 1 + dev-python/tavern/tavern-2.13.0.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index 53d911ff583f..4e6e5636eeea 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,2 +1,3 @@ DIST tavern-2.11.0.gh.tar.gz 233387 BLAKE2B b1b26e7d9fc4069c7056072ab01c9937245304982f78df236e9bcaa795feec6a1db7192532dba6d17d362af874bffce601bb9652b5f1ecda99c59387f717bb15 SHA512 456fa6ebfc6f47ff9a473e3f416aff9f88b1f9b25c898786d15472072859e1659c089a9c668e6ddc4ecfc0cc8c233417d4768e0f7228800995509a5a34294faf DIST tavern-2.12.0.gh.tar.gz 239452 BLAKE2B a9bef9dbebbdf25f09f158a3bf908769bb56280ff7939557fce454f4169093e362abf1d1cf36f220cd398bcde1c19f7f545d2f4d4ff2318bebd91da69f88c155 SHA512 1b1d997372330b14dc7b106762538ca16646fdf84b344c9db81ab1896678dea2d96c4c801c941c33ae856c670ec405962b76b5c044d1b8e94938effe675cef5c +DIST tavern-2.13.0.gh.tar.gz 239326 BLAKE2B 97b774725e7e8c7df523f6886dd6ff3f2acb4da6bc446f11af3d83a8d646578ad556e02c4b5cd2387dd1e143e05edf5bc4ee037cbfbeafb5f4a0a860a30a0d22 SHA512 8c5fbb45ee7e7465c36b655fa9ddf3d3329bee09187e5255e788ff69701a9a97d4e067659eadaf0822bd51fe56cf90232708b3c5b82696f41c0818f483ff13e7 diff --git a/dev-python/tavern/tavern-2.13.0.ebuild b/dev-python/tavern/tavern-2.13.0.ebuild new file mode 100644 index 000000000000..12cee6ece71c --- /dev/null +++ b/dev-python/tavern/tavern-2.13.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +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" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${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}] + ) +" + +distutils_enable_tests pytest + +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 +} + +python_test() { + local 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 + ) + local EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p tavern +}