From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0EC61584AD for ; Wed, 23 Apr 2025 05:35:55 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BC2443430C9 for ; Wed, 23 Apr 2025 05:35:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A21EF1104CA; Wed, 23 Apr 2025 05:35:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9DA561104C9 for ; Wed, 23 Apr 2025 05:35:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4FF1333FE60 for ; Wed, 23 Apr 2025 05:35:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5A172785 for ; Wed, 23 Apr 2025 05:35:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1745386428.ed639a094762fc567a30f792075adb341d0352fe.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/loky/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/loky/Manifest dev-python/loky/loky-3.5.2.ebuild X-VCS-Directories: dev-python/loky/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ed639a094762fc567a30f792075adb341d0352fe X-VCS-Branch: master Date: Wed, 23 Apr 2025 05:35:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1e102c20-af46-4320-9626-2d9757ddad79 X-Archives-Hash: b01cb31f03e305e3630979581ea2bf16 commit: ed639a094762fc567a30f792075adb341d0352fe Author: Michał Górny gentoo org> AuthorDate: Wed Apr 23 05:12:29 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 23 05:33:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed639a09 dev-python/loky: Bump to 3.5.2 Signed-off-by: Michał Górny gentoo.org> dev-python/loky/Manifest | 1 + dev-python/loky/loky-3.5.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest index 49e7d9d6e0b5..c17f1cb57f89 100644 --- a/dev-python/loky/Manifest +++ b/dev-python/loky/Manifest @@ -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 diff --git a/dev-python/loky/loky-3.5.2.ebuild b/dev-python/loky/loky-3.5.2.ebuild new file mode 100644 index 000000000000..288f8fa50717 --- /dev/null +++ b/dev-python/loky/loky-3.5.2.ebuild @@ -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 +}