From fc2a52523ed8263116dcc3fc17fc5ff20f22b7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 3 Sep 2026 03:49:45 +0200 Subject: [PATCH] dev-python/anyio: Bump to 4.15.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/anyio/Manifest | 2 + dev-python/anyio/anyio-4.15.0.ebuild | 76 ++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 dev-python/anyio/anyio-4.15.0.ebuild diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest index 9ab34e618190e..449c51029a44d 100644 --- a/dev-python/anyio/Manifest +++ b/dev-python/anyio/Manifest @@ -1,2 +1,4 @@ DIST anyio-4.14.2.tar.gz 260176 BLAKE2B a349231f06bc2591dbee9c11bf3862c17ba00f8096095182a801607e3e8bf30178aa220cf53123d09e362c1245bba98bb1935a0235559dbdc755f40afc69135e SHA512 94f52ab81fbfab5d30937a0a7f4714f5cc9d8265f5450ccce1fff1f953f234f8c286d484f06f91e8737fa8d4d325275a1a62cce31fd66d4447c55eddcca87f2e DIST anyio-4.14.2.tar.gz.provenance 9673 BLAKE2B 9e0d02159e5379d2404d9c1b69ee95af5aa47ea7279be393dd58f001f13e5442ec8ee266ecfd7b2e23799902e8faf734b55741cd7734b231d67493724a3d9884 SHA512 3c7fefa8feec3e78e08f0b42bfa3edd0809389640deb9cec8da11c4ae498943343d42860d9f66a2aaac7ddcd8f1ce09a97251ced8cdfa74a5e6f9e89c0ab0567 +DIST anyio-4.15.0.tar.gz 276504 BLAKE2B 6a2e5eb18c19e97410f5932ad7b7903dccb27c40db52eb94e742f83cc454c92954e0482cf94de1fcfef44e73e2d022dcfa0e906ef9627b1050920b6f5e403ad5 SHA512 947b5cb49475b301dcc435fc950108c8dee280dec00b810bdbbbad1224fd0dfde97f32e3bf6df94755d6ce983055019fd4b10d0f2b9c221a714686ad463fb5f0 +DIST anyio-4.15.0.tar.gz.provenance 9593 BLAKE2B aaec6e49013efec71bf2dbcd7b98d47576ec91f02fe7226ff5e664b5cb433e19c235d3d93cacffd82b6787f5adff3d7f041b18cb1f4218ff768bdc823f495f5d SHA512 856d93d1fac64442d4cfed53d1b19dfa4f6806536d00ffd459a3ff70aee08b4ab83b409d7fb4e9f63728bff0d2cb840c1dc6992daf6681a00eddab958e6f2c32 diff --git a/dev-python/anyio/anyio-4.15.0.ebuild b/dev-python/anyio/anyio-4.15.0.ebuild new file mode 100644 index 0000000000000..b1fef6d3cc08a --- /dev/null +++ b/dev-python/anyio/anyio-4.15.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-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/agronholm/anyio +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Compatibility layer for multiple asynchronous event loop implementations" +HOMEPAGE=" + https://github.com/agronholm/anyio/ + https://pypi.org/project/anyio/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.16.0[${PYTHON_USEDEP}] + ' 3.{11..14}) +" +# On amd64, let's get more test coverage by dragging in uvloop, but let's +# not bother on other arches where uvloop may not be supported. +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] + test? ( + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/trustme-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/blockbuster-1.5.23[${PYTHON_USEDEP}] + >=dev-python/trio-0.32.0[${PYTHON_USEDEP}] + amd64? ( + >=dev-python/uvloop-0.22.1[${PYTHON_USEDEP}] + ) + ' 3.{11..14}) + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-mock ) +EPYTEST_RERUNS=5 +# (fixes broken config too) +: ${EPYTEST_TIMEOUT:=60} +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + '>=dev-python/sphinx-rtd-theme-1.2.2' \ + dev-python/sphinxcontrib-jquery \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-tabs + +python_test() { + local EPYTEST_DESELECT=( + # requires link-local IPv6 interface + tests/test_sockets.py::TestTCPListener::test_bind_link_local + # installs packages from the Internet + tests/test_lazyimport.py::test_sourceless_install + ) + + local filter=() + if ! has_version ">=dev-python/trio-0.26.1[${PYTHON_USEDEP}]"; then + filter+=( -k "not trio" ) + EPYTEST_DESELECT+=( + tests/test_pytest_plugin.py::test_plugin + tests/test_pytest_plugin.py::test_autouse_async_fixture + tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture + ) + fi + + epytest -m 'not network' "${filter[@]}" +}