diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-11 08:22:48 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-11 08:42:08 +0100 |
| commit | 521d2d3a4f84dfaaec531eebe08e7aee5240ff40 (patch) | |
| tree | da5a33bda81446a8270e8d42e462f9563b1f23f2 /dev-python/pytest-asyncio | |
| parent | 625bb194a1a655e56f182b1b7c50fb9b25ac980d (diff) | |
| download | gentoo-521d2d3a4f84dfaaec531eebe08e7aee5240ff40.tar.gz gentoo-521d2d3a4f84dfaaec531eebe08e7aee5240ff40.tar.bz2 gentoo-521d2d3a4f84dfaaec531eebe08e7aee5240ff40.zip | |
dev-python/pytest-asyncio: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-asyncio')
| -rw-r--r-- | dev-python/pytest-asyncio/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index fea9a3d7f1bc..2379f64414ed 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -2,3 +2,5 @@ DIST pytest_asyncio-0.26.0.tar.gz 54156 BLAKE2B 763053772ff148a80773bb22457bd1a1 DIST pytest_asyncio-1.1.0.tar.gz 46652 BLAKE2B e0ce03326320b4e6ab4470d8b982eebd0c1628c94497d2a1a2a1a1ebed56d886de026163b56eef15c0037b2e3ee227077dbb798808bce64174b94b5710f064f6 SHA512 f2f8efcfe965edf3a9ff29dffe776f60240b229235391b09ff266d97568c01c6014d5b0a9fb9963af728f6e30e3eda8deb726b9ff2616f524f3228e4f66535e4 DIST pytest_asyncio-1.1.1.tar.gz 46590 BLAKE2B 9e629a879431ad92b8699651e99277526b187d9e24e876f0c53802c32530f056db3dc7b537e245e62c4eda5d6dde8ed23c1a6ab1a2dc2c2e60af7aed5349674b SHA512 7c242318b07593dc511baef46f1fe9469a8731a9ee79f88bfce1229370dc06c25c80ed1bf2902d018f40b5651687e4cbcf004c9187c7c97d955e8ab35e6bb481 DIST pytest_asyncio-1.2.0.tar.gz 50119 BLAKE2B e013b58c49f53f9785203ca8e6162899537c3c64ea4a8acd32c184ed8d5252145ed26e73b2032a216ab290b630a7555811e1504971224a0490b2ee56de417b22 SHA512 290850d18d915eb9230c3658817ff35555f78ef5901cde84a914d2231c7c036f3644e954790e53eb2cd3da26acffd0d124c17f51c054a6477fe19fcda77ef5e4 +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 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild new file mode 100644 index 000000000000..85904f4bc99c --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2019-2025 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" +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}] + $(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 +} |
