From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 6C19E1581F0 for ; Sat, 14 Dec 2024 07:36:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0F44E08FC; Sat, 14 Dec 2024 07:36:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 87355E08FC for ; Sat, 14 Dec 2024 07:36:54 +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 61F153412DE for ; Sat, 14 Dec 2024 07:36:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8E5F2135 for ; Sat, 14 Dec 2024 07:36:50 +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: <1734161805.ab9cda5afff80e5f80153ba137d81d57769bd4f9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-asyncio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-asyncio/Manifest dev-python/pytest-asyncio/pytest-asyncio-0.25.0.ebuild X-VCS-Directories: dev-python/pytest-asyncio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ab9cda5afff80e5f80153ba137d81d57769bd4f9 X-VCS-Branch: master Date: Sat, 14 Dec 2024 07:36:50 +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: a70db5d0-374a-4224-9fff-c66b5f9e68ca X-Archives-Hash: 35e0dc51ae03519f39d09ec274304a19 commit: ab9cda5afff80e5f80153ba137d81d57769bd4f9 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 14 06:55:58 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 14 07:36:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9cda5a dev-python/pytest-asyncio: Bump to 0.25.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-asyncio/Manifest | 1 + .../pytest-asyncio/pytest-asyncio-0.25.0.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 81dbaa127c28..544c27cdeca4 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,2 +1,3 @@ DIST pytest_asyncio-0.23.8.tar.gz 46920 BLAKE2B 6b7a66e6ef28f2c7a874a115e0346b3803051df5d57e5b8ba35480982231a804adfbe8a4a2c605847730ea940fafe9df2aa94f5081b43aa753b64c3e2ea027a5 SHA512 68f23458c5f22bdb75a6a0a12f185b1f22c5231c0cdcd84806781419f5c866844e851398d771c5932af4a42b5dfdcce6624181f2c0d2f70187bb5feed0ba7c97 DIST pytest_asyncio-0.24.0.tar.gz 49855 BLAKE2B 55813b655252f2c1fbe1658a0a2d739bb03a56794297dde9cf598b8200c0d3aa7437af7a241a821eff47ffe57841142adb93c6434c920cbd1d26b33a8ac8fe96 SHA512 abf2442afb9f5933b223e920c0b107d5781350f2a9c2e58ca141494a4f391acf97f2e377db1fc67b5213031bf371f222dc9c4718ff3c6b5985f5e49913f03cb7 +DIST pytest_asyncio-0.25.0.tar.gz 53298 BLAKE2B e29641f9e0ae24aac80bca7eaa14258d0bdfa6080abeaedd38ffe121cb9a9bf5886da2a38a3033010fcb47f4c2aee0eb17b0f63cee020c5ae81e8334486c66b7 SHA512 162d1693c82c4be96cf20cfeb075c4e434e897cdfc172564b8b2513b362a6bbf54d8be6da4a63a7de34236b6c55eb515e60b994198c07a5c63a63333fe019932 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.25.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.25.0.ebuild new file mode 100644 index 000000000000..06f24e2dc19f --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.25.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-asyncio/ + https://pypi.org/project/pytest-asyncio/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-5.7.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # rely on precise warning counts + tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +}