diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-20 16:57:18 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-20 17:20:04 +0200 |
commit | 81b22eade7785067906e300dc9de475b5d1fe445 (patch) | |
tree | 27d85d3346ac3f843232301f5f117797482dd90a /dev-python/aiosmtpd | |
parent | dev-python/aiosmtpd: Remove old (diff) | |
download | gentoo-81b22eade7785067906e300dc9de475b5d1fe445.tar.gz gentoo-81b22eade7785067906e300dc9de475b5d1fe445.tar.bz2 gentoo-81b22eade7785067906e300dc9de475b5d1fe445.zip |
dev-python/aiosmtpd: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiosmtpd')
-rw-r--r-- | dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild index 9ba4752f000d..b6cdd1ffb285 100644 --- a/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -39,3 +39,18 @@ python_prepare_all() { distutils-r1_python_prepare_all } + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/aio-libs/aiosmtpd/issues/403 + aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} |