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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1498215838C for ; Wed, 17 Jan 2024 07:41:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95A19E2AAE; Wed, 17 Jan 2024 07:41:08 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 67B99E2AAE for ; Wed, 17 Jan 2024 07:41:08 +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 534943432F2 for ; Wed, 17 Jan 2024 07:41:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AE9814B1 for ; Wed, 17 Jan 2024 07:41:04 +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: <1705477252.f7a69a76e7dae2d7ac7934e20e4fd5064aced125.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.23.4_alpha2.ebuild X-VCS-Directories: dev-python/pytest-asyncio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f7a69a76e7dae2d7ac7934e20e4fd5064aced125 X-VCS-Branch: master Date: Wed, 17 Jan 2024 07:41:04 +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: dcc7c993-87a1-4b39-a11c-d69d719d82d2 X-Archives-Hash: eba10c7691ba64eef2b935a27a403dc4 commit: f7a69a76e7dae2d7ac7934e20e4fd5064aced125 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 17 06:12:20 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 17 07:40:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a69a76 dev-python/pytest-asyncio: Bump to 0.23.4_alpha2 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-asyncio/Manifest | 1 + .../pytest-asyncio-0.23.4_alpha2.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 9c8f5ffcf592..0b19ea50469f 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,4 @@ DIST pytest-asyncio-0.23.2.tar.gz 44174 BLAKE2B 36dbd0022416eef05c781b9f74fd143bb52fe0583461ca7e52fd4981d552bbefdddd8e3a3399bc229a8ae68b150e199237ae0ce3a375075ab8f7f507bfa59316 SHA512 aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84 DIST pytest-asyncio-0.23.3.tar.gz 44841 BLAKE2B f40f18e683ff1c6d905ae81c0a399655d461065f49fc862fe0d57c9d0deb14795e9792d76ea9759ea2b8736f7815de8c1778dbcaa8f477c59cbffd1f991e7ed1 SHA512 209a36de4d74bb3ade486b7c89c58def33b4aca84b3a096012d2ba329946f084a3f70489fb4ba0682e6acd65b6862e2ea4104a8e8912e8693f4f1685de357762 DIST pytest-asyncio-0.23.4a1.tar.gz 46294 BLAKE2B 6015cc43a8eae8a589311a579196ca9ebb392ff14cf3c68743e10ea3bf7b57958aba59432efae94c3e57e03be3f625a1f0c883e85427af3a20d1f60d634d8946 SHA512 9181a65ad427d2a0f35077019dfa6a46d5714592a754a083a7bb0efb7f97af5776192cd92961d751dba27d84c78a32a9f0c49a46b2d962d24796451311845691 +DIST pytest-asyncio-0.23.4a2.tar.gz 45187 BLAKE2B b9c7b48c2ddc29f57e7a175d4cd2a86431047223d23d2a516338b2d2e12951a422eff09736737755777b6fc764e50942b21497d53515319494d8c17100856f9c SHA512 f8d21483935c9d92b50519e71a9f88776bb10ac8d7112fd290d03d35f484177406e9a094be6ab4383a733b40a6166def97dcea881a13e82bbdbe94725aa6a070 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.4_alpha2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.4_alpha2.ebuild new file mode 100644 index 000000000000..f54360ce4842 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.4_alpha2.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-3.64[${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/modes/test_legacy_mode.py + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_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 + tests/test_pytest_min_version_warning.py + tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +}