diff options
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.4.0_alpha2.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index fbba53a66ec1..dbef1b0cc9d8 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -2,3 +2,5 @@ DIST pytest_asyncio-1.3.0.tar.gz 50087 BLAKE2B 7a7c913cd31c9412947b63ab4fdf67998 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 +DIST pytest_asyncio-1.4.0a2.tar.gz 57596 BLAKE2B c7e78fb44dfaa6175130971c08d2f2c7db786d7e9f27c794ef94400ee7140cbaa0bf3530960389da1d6f3fa49915a77478efe5535fb0da20be11e4d3846fcce6 SHA512 7bd28309b4cb0da9e3352145603416a72032d54cab6ce6464783c19e41742c9550bbddb8333cec5fd78ee935b0866427aeb5ccdc55cd24eca05a28a9ea25fb81 +DIST pytest_asyncio-1.4.0a2.tar.gz.provenance 9722 BLAKE2B 2c44a53e0ddefb3b5be15db11d5c5c24eb26343fc0a73d6fe643217fb54d92825c2e72a643329839a4d1e3600855efea0ffa99d5a59247df4e84d85fc202c288 SHA512 b96a9ec255ade5b2c283581877912a85ff33d3c7590f30d47a80b36e442abd2ecfa68cc329ca9b4fb5a3322bc775fdbe62aa1012b57e7ab98c88a23bdb2ddaee diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild new file mode 100644 index 000000000000..fd167d7f79ed --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.4.0_alpha2.ebuild @@ -0,0 +1,56 @@ +# 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_{10..14} ) + +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 + # probably manual plugin loading + tests/test_set_event_loop.py::test_asyncio_run_after_async_fixture_does_not_leak_loop +) + +src_prepare() { + distutils-r1_src_prepare + + # remove pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} |
