dev-python/pytest-asyncio: Bump to 1.4.0_alpha1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-16 04:17:09 +02:00
parent c8e5cbc0e3
commit 47ba659929
2 changed files with 56 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST pytest_asyncio-1.3.0.tar.gz 50087 BLAKE2B 7a7c913cd31c9412947b63ab4fdf67998540831ef7d6914c96a4a97b271c92f81aeb9acad484de7aa98e36ec5b504a9a0a37a0684bf1cc2b99a22f683a3a9f11 SHA512 239fa63116622cdb22b0521f8af5b4f0c7f1c0e3975592a7711160ff636d2fbe3277d261df44dca5e11a666b50614732c5089c981d345b818de1abcad47dcf14
DIST pytest_asyncio-1.3.0.tar.gz.provenance 9390 BLAKE2B 3d73af4756ba0860af2ddea485595d6b09fe60c67d21fd5e441bca5e8b66de3dfd21e804283dbfc722d23ad690245bee2f8f620e58a872bdec0641e3c4a1041c SHA512 0e31a7de06316ac6fdd2a9e05325ca3fcdc6bad4837384c3a9b9230720994c1d71ba405c3bb9497c6dbe8c26f05df46e7a5459faef4ef2cbe5898dfd8e2fe4fe
DIST pytest_asyncio-1.4.0a1.tar.gz 57070 BLAKE2B 0f986f4d61ef07fab76f3ee56c7a5b14e13978ed9d1dc180bc39ca1a4d4eb6676a856ab5c456f2722fa33f35b95f2544470b10df1a25dfdf2e8ee6ef023aa242 SHA512 0e76449f620ded1b03eaa65c0c5eda0e45640aa563af2cb9a48045a6b9e24d0ad91cc157e9be20aa357659983886c735da6c406a8ddd2f7cd82d469ae23d87d6
DIST pytest_asyncio-1.4.0a1.tar.gz.provenance 9675 BLAKE2B e827520f79b5d054a13c46b2fb3de85734e5b25947c3808c69117fc17d5bdf39069c54f693221582ff5017f2bf99b217f9965cb46cfc8e97fbe847678f5e6976 SHA512 684d0229043715267fc17f12e0becd15d881b286421ce8dfee36f61625e43038a207b2be1daffc6f8958d1ff0dd43bb27d4ae5b4581ec93e95327106d5b4ce27

View File

@@ -0,0 +1,54 @@
# Copyright 2019-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/pytest-dev/pytest-asyncio
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
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"
if [[ ${PV} == *_alpha* ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
fi
RDEPEND="
>=dev-python/pytest-8.2[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
' 3.{11..12})
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=( hypothesis "${PN}" )
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
EPYTEST_XDIST=1
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# fail due to mismatched warning count
tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture
tests/test_event_loop_fixture.py::test_closing_event_loop_in_sync_fixture_teardown_raises_warning
tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error
tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen
# docs often fail randomly over test ordering (xdist)
docs
)
src_prepare() {
distutils-r1_src_prepare
# remove pins
sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
}