From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DF63158064 for ; Fri, 3 May 2024 03:42:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6FAFE2A13; Fri, 3 May 2024 03:42:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id B0D57E2A13 for ; Fri, 3 May 2024 03:42:52 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA574343017 for ; Fri, 3 May 2024 03:42:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C97E19DB for ; Fri, 3 May 2024 03:42:50 +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: <1714707764.3f74f668e72f23e2f2090a60cda0a4d1aed1f003.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/joblib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/joblib/Manifest dev-python/joblib/joblib-1.4.2.ebuild X-VCS-Directories: dev-python/joblib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3f74f668e72f23e2f2090a60cda0a4d1aed1f003 X-VCS-Branch: master Date: Fri, 3 May 2024 03:42:50 +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: 43d62de7-efc6-4731-91f9-2cdb09742697 X-Archives-Hash: 0ec231420fa9de4c4360fa93aed2bb4b commit: 3f74f668e72f23e2f2090a60cda0a4d1aed1f003 Author: Michał Górny gentoo org> AuthorDate: Fri May 3 03:34:13 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 3 03:42:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f74f668 dev-python/joblib: Bump to 1.4.2 Signed-off-by: Michał Górny gentoo.org> dev-python/joblib/Manifest | 1 + dev-python/joblib/joblib-1.4.2.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest index 056cbffc9899..0ba7c6355cc4 100644 --- a/dev-python/joblib/Manifest +++ b/dev-python/joblib/Manifest @@ -1 +1,2 @@ DIST joblib-1.4.0.tar.gz 2115863 BLAKE2B cd61f3523ee697382db601ebb460aa6f4cd35947978fb07473c5e2e5337713a05aee8339acee211be0076d84a00174c37623cd6010b492aee84337abc2e5e633 SHA512 5c7e5475347906cdc8575eac8d2052470408c4ed5267d59a88a9d3126fb72b977d20b24fb0983b070e2f3c101e7da000fc03231733fef62531f9aeffacc47baf +DIST joblib-1.4.2.tar.gz 2116621 BLAKE2B e6c00a2308099690ddb89956b090996405d0b1c214e810b4c6ea4fe32bec8f297a324e6faa7c5f459c5ade84230d9b09e263b344069f43523208acf761d7b006 SHA512 d4c84803207ace0025701261f9e7976329e2ff9fa18a3155be1afe1f03ebfd470772e39e94b3ed01f9d1409589991c9592dc4188bca86dba158c44c70355441b diff --git a/dev-python/joblib/joblib-1.4.2.ebuild b/dev-python/joblib/joblib-1.4.2.ebuild new file mode 100644 index 000000000000..428a8245bd46 --- /dev/null +++ b/dev-python/joblib/joblib-1.4.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Tools to provide lightweight pipelining in Python" +HOMEPAGE=" + https://joblib.readthedocs.io/en/latest/ + https://github.com/joblib/joblib/ + https://pypi.org/project/joblib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] +" +# joblib is imported by setup.py so we need ${RDEPEND} +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/threadpoolctl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # https://github.com/joblib/joblib/issues/1115 + joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter + # unexpectedly pickleable? + joblib/test/test_hashing.py::test_hashing_pickling_error + # https://github.com/joblib/joblib/issu + joblib/test/test_parallel.py::test_main_thread_renamed_no_warning +) + +python_prepare_all() { + # unbundle + rm -r joblib/externals || die + sed -e "/joblib.externals/d" -i pyproject.toml || die + find -name '*.py' -exec \ + sed -e 's:\(joblib\)\?\.externals\.::' \ + -e 's:from \.externals ::' \ + -i {} + || die + + distutils-r1_python_prepare_all +}