2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

dev-python/loky: Bump to 3.5.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-23 07:12:29 +02:00
parent 018535d4e3
commit ed639a0947
2 changed files with 60 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST loky-3.5.1.gh.tar.gz 145759 BLAKE2B 3fd1a254051a25e0556c29c50d9153e6894150d0eb39094fa3b7128439889777026aea6e001b73d825b6c18c8d7e6e49e0feb6e7fb508696c0694cf5321fa6fd SHA512 9c90fda5af45a89142866a3ec4a2e77425b20f248d55a56f5e78acf09dbf3b61ba04cf4b72c416e1eb343e23ab0d73a0139804a9fd92e27044debf97b8920635
DIST loky-3.5.2.gh.tar.gz 145219 BLAKE2B 6de1d77d64db2cda1e45ec3f34aec1cc367a6bd83675b0f7172b4640d866bb1d03ebda963d5b7ee4d680ec5bc40a02ea13b760f1cb6cef2f3fe28509d4b0ffae SHA512 1cc67fcb3450afff67e3e5d598ae93624fd792335a222fd7e4723bb6e04231a68094ab1a78ec505a13c69384868fb05c1fa3a016b2d215d233f8fd9945586e69

View File

@@ -0,0 +1,59 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Robust and reusable Executor for joblib"
HOMEPAGE="
https://github.com/joblib/loky/
https://pypi.org/project/loky/
"
SRC_URI="
https://github.com/joblib/loky/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos"
RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
EPYTEST_DESELECT=(
# docker, seriously?
tests/test_loky_module.py::test_cpu_count_cfs_limit
tests/test_loky_module.py::test_cpu_count_cgroup_limit
# hangs, and even pytest-timeout does not help
tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill
tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize
# Python 3.12 raises an additional warning due to the use of fork()
# in a multithreaded process, the additional warning breaks this test
# since the expected warning is no longer the first.
# This is harmless, skip test for now
tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_shutdown_no_deadlock
tests/test_reusable_executor.py::TestResizeExecutor::test_resize_after_timeout
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# high memory test needs a lot of memory + is broken on 32-bit platforms
epytest --skip-high-memory -p rerunfailures --reruns=5
}