diff options
| author | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
| commit | 9c4e6e8fed8999df35813182c3b9577d541394e0 (patch) | |
| tree | 2466b7bb1ca606d88c3191c59d1b1c0a3b87e398 /dev-python/loky | |
| parent | c5a9b07f13fb47e9869f0433ea92068acfe47038 (diff) | |
| download | srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.gz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.xz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.zip | |
Publish srcux candidate 0000000524-20260930-030309
Diffstat (limited to 'dev-python/loky')
| -rw-r--r-- | dev-python/loky/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/loky/loky-3.7.0.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest index 59ad693f8d19..4327b6321048 100644 --- a/dev-python/loky/Manifest +++ b/dev-python/loky/Manifest @@ -1,2 +1,3 @@ DIST loky-3.5.6.gh.tar.gz 146002 BLAKE2B 47ec7766d0ce77166af31d8ed8b58266e8184eb31f98eef9b6d13f0e3ef458aa940b70c1291addf9cfd73ebc0334c44762679acbcfa7186a4275354872146242 SHA512 8ad7e81c43cc2e15e0504709536995ba8b6c493cbf9a07530c93e63afb47af2a679ee7a82b79ad1e8e2f825d1502d21c1954beda4fe9e8d94b6607847a87bc52 DIST loky-3.6.0.gh.tar.gz 160577 BLAKE2B 0f3c88bbd18da00d7735ad3b2ce8f712029f6b8b38bbe5d47a67d98c420e6ce64658bdb08d92338fd36dbc37030717dfc205f0041a433b9f082262cb2f37c786 SHA512 2ee00b545578a7c224d7cf1fea2b5b7d282d42dd2cb57fed96eb9f8df5b9478aff9b8f6b7d19ed62901f3e1baf7c0747991ed3f9347be1bea330ff5ae70be4b1 +DIST loky-3.7.0.gh.tar.gz 167535 BLAKE2B 09846a1583c0fd2719e3d0c6a4f57df893e41c1847a3e73db9dedf67be6e2163c68c42edf9f77f524471397972f652365e8c024fba59524089cc1beb918285e0 SHA512 dd245756954f7c8d20ffdf56662329d75086266a3c279101101e99cd54f5e735026ac9f793cc2501d56a012590d7d55de068a1b4c9f8e9bbb8df1c43bc7e7674 diff --git a/dev-python/loky/loky-3.7.0.ebuild b/dev-python/loky/loky-3.7.0.ebuild new file mode 100644 index 000000000000..60592d1ce3ae --- /dev/null +++ b/dev-python/loky/loky-3.7.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +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 ~loong ~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}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +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 + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + # libffi gets loaded somehow + tests/test_loky_backend.py::TestLokyBackend::test_sync_object_handling + ) + ;; + esac + + # high memory test needs a lot of memory + is broken on 32-bit platforms + epytest --skip-high-memory +} |
