[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-11-24 Thread Arthur Zamarin
commit: c9499f2cbc3806a6a07cf72a25b35408ae028148
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 24 15:17:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 24 15:17:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9499f2c

dev-python/loky: Stabilize 3.4.1 arm64, #918243

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/loky/loky-3.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.4.1.ebuild 
b/dev-python/loky/loky-3.4.1.ebuild
index 350d7adf44ee..97ce588e59b8 100644
--- a/dev-python/loky/loky-3.4.1.ebuild
+++ b/dev-python/loky/loky-3.4.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-11-06 Thread Andrew Ammerlaan
commit: b28f6568409e15d40ef41f699a1c31352bf0197f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Nov  6 10:17:53 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Nov  6 10:46:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28f6568

dev-python/loky: enable py3.12

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/loky/loky-3.4.1.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.4.1.ebuild 
b/dev-python/loky/loky-3.4.1.ebuild
index 456f7062da8e..350d7adf44ee 100644
--- a/dev-python/loky/loky-3.4.1.ebuild
+++ b/dev-python/loky/loky-3.4.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multiprocessing
 
@@ -40,9 +40,16 @@ 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



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-10-17 Thread Michał Górny
commit: 3fa6ae334ec0fe9a243d8e2aa88c0e265219b001
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 17 11:57:56 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 17 15:11:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa6ae33

dev-python/loky: Run tests in parallel

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-3.4.1.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/loky/loky-3.4.1.ebuild 
b/dev-python/loky/loky-3.4.1.ebuild
index 8503470eaf5a..456f7062da8e 100644
--- a/dev-python/loky/loky-3.4.1.ebuild
+++ b/dev-python/loky/loky-3.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit distutils-r1
+inherit distutils-r1 multiprocessing
 
 DESCRIPTION="Robust and reusable Executor for joblib"
 HOMEPAGE="
@@ -30,6 +30,7 @@ BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
 "
 
@@ -44,6 +45,8 @@ python_test() {

tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize
)
 
+   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
+   epytest --skip-high-memory \
+   -p xdist -n "$(makeopts_jobs)" --dist=worksteal
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-08-03 Thread Michał Górny
commit: 92fb406e46f991de1802af8a57bf940aaa033cc9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  3 17:36:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  3 17:40:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92fb406e

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 -
 dev-python/loky/loky-3.4.0.ebuild | 49 ---
 2 files changed, 50 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index a3c46c083680..6f1944666588 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B 
bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c
 SHA512 
d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c
 DIST loky-3.4.1.gh.tar.gz 143933 BLAKE2B 
b55dc9fe431769de6bc7f8d9854c40a361566d9c0325c7037255c5ce2b9875ff071743892ec5db53be774498195eb40fc5467917eeba3d533c68f285a1ec
 SHA512 
435dc24a0532e6a40a67613fd1e13a06439ffe00c28b90fa36ff02255b67e0dd99d515f5659a36aa1049a9df73b16c1088989a1379a8492ebc5dbf1e53a37a06

diff --git a/dev-python/loky/loky-3.4.0.ebuild 
b/dev-python/loky/loky-3.4.0.ebuild
deleted file mode 100644
index ae9dcd00785a..
--- a/dev-python/loky/loky-3.4.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-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"
-
-RDEPEND="
-   dev-python/cloudpickle[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   EPYTEST_DESELECT=(
-   # docker, seriously?
-   tests/test_loky_module.py::test_cpu_count_cfs_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
-   )
-
-   # high memory test needs a lot of memory + is broken on 32-bit platforms
-   epytest --skip-high-memory
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-08-03 Thread Sam James
commit: 44f7765fc86adf60c31a8061daf48cee8f6959d2
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug  3 15:07:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug  3 15:07:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f7765f

dev-python/loky: Stabilize 3.4.1 ALLARCHES, #911606

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-3.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.4.1.ebuild 
b/dev-python/loky/loky-3.4.1.ebuild
index bc6340ec7ab4..ab6c1a93cf48 100644
--- a/dev-python/loky/loky-3.4.1.ebuild
+++ b/dev-python/loky/loky-3.4.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-06-30 Thread Michał Górny
commit: 67e9cb92f133117a1d0d505a99acea185a0a407a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 30 12:08:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 30 13:06:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e9cb92

dev-python/loky: Bump to 3.4.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-3.4.1.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index e16c19066bf3..a3c46c083680 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B 
bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c
 SHA512 
d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c
+DIST loky-3.4.1.gh.tar.gz 143933 BLAKE2B 
b55dc9fe431769de6bc7f8d9854c40a361566d9c0325c7037255c5ce2b9875ff071743892ec5db53be774498195eb40fc5467917eeba3d533c68f285a1ec
 SHA512 
435dc24a0532e6a40a67613fd1e13a06439ffe00c28b90fa36ff02255b67e0dd99d515f5659a36aa1049a9df73b16c1088989a1379a8492ebc5dbf1e53a37a06

diff --git a/dev-python/loky/loky-3.4.1.ebuild 
b/dev-python/loky/loky-3.4.1.ebuild
new file mode 100644
index ..bc6340ec7ab4
--- /dev/null
+++ b/dev-python/loky/loky-3.4.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+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"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   EPYTEST_DESELECT=(
+   # docker, seriously?
+   tests/test_loky_module.py::test_cpu_count_cfs_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
+   )
+
+   # high memory test needs a lot of memory + is broken on 32-bit platforms
+   epytest --skip-high-memory
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-05-15 Thread Michał Górny
commit: 3273e14b818db9ca60aa76c423d879c5890192fa
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 16 05:21:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 16 05:24:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3273e14b

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 -
 dev-python/loky/loky-3.3.0.ebuild | 46 ---
 2 files changed, 47 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index 589fef5e643e..e16c19066bf3 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-3.3.0.gh.tar.gz 141130 BLAKE2B 
35560dca81cf41e03b24c8be6e70952c19b88fc9794cb13d7c910ac67ec4554555233026a215c6f147dc1354ad11bc14117b4eb6455ba758b79ea6650dc01f62
 SHA512 
120f771c75fe8691a198c93a91bf683af3d32c1bcaf2fa3e9c439d16546bff9feb6ce203667bd6c4e06ac326500b7bd117948e4deea6f53b04682af1f8d65734
 DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B 
bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c
 SHA512 
d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c

diff --git a/dev-python/loky/loky-3.3.0.ebuild 
b/dev-python/loky/loky-3.3.0.ebuild
deleted file mode 100644
index 1c2397693bbb..
--- a/dev-python/loky/loky-3.3.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Robust and reusable Executor for joblib"
-HOMEPAGE="https://github.com/joblib/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"
-
-RDEPEND="
-   dev-python/cloudpickle[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   EPYTEST_DESELECT=(
-   # docker, seriously?
-   tests/test_loky_module.py::test_cpu_count_cfs_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
-   )
-
-   # high memory test needs a lot of memory + is broken on 32-bit platforms
-   epytest --skip-high-memory
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-05-15 Thread Arthur Zamarin
commit: 98046c27812df5879e04c7b02a4853de54b0b2ed
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May 15 20:22:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May 15 20:22:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98046c27

dev-python/loky: Stabilize 3.4.0 ALLARCHES, #906477

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/loky/loky-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.4.0.ebuild 
b/dev-python/loky/loky-3.4.0.ebuild
index 0ab8fd36be97..ae9dcd00785a 100644
--- a/dev-python/loky/loky-3.4.0.ebuild
+++ b/dev-python/loky/loky-3.4.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2023-04-15 Thread Michał Górny
commit: f71792379d4abcf257f43c825fc316dd6d628ab6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 15 06:13:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 15 08:23:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7179237

dev-python/loky: Bump to 3.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-3.4.0.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index 11c300fae655..589fef5e643e 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-3.3.0.gh.tar.gz 141130 BLAKE2B 
35560dca81cf41e03b24c8be6e70952c19b88fc9794cb13d7c910ac67ec4554555233026a215c6f147dc1354ad11bc14117b4eb6455ba758b79ea6650dc01f62
 SHA512 
120f771c75fe8691a198c93a91bf683af3d32c1bcaf2fa3e9c439d16546bff9feb6ce203667bd6c4e06ac326500b7bd117948e4deea6f53b04682af1f8d65734
+DIST loky-3.4.0.gh.tar.gz 143864 BLAKE2B 
bebfa2c934e4645c5cd1a4c62792bccd9b5a4ef3c9a104809b57f35ba3318596717bf82714c1b7583675bdc504dc0a2054a88009d964a900176d353a54add52c
 SHA512 
d8113f6f6c173c208b90c29bc4a296d7844f7010cfcabbd8d55106b8e93f256b2debb86aa993a33c41f40fcdd4f00c1e1e010dbe4a184b138da357652315657c

diff --git a/dev-python/loky/loky-3.4.0.ebuild 
b/dev-python/loky/loky-3.4.0.ebuild
new file mode 100644
index ..0ab8fd36be97
--- /dev/null
+++ b/dev-python/loky/loky-3.4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   EPYTEST_DESELECT=(
+   # docker, seriously?
+   tests/test_loky_module.py::test_cpu_count_cfs_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
+   )
+
+   # high memory test needs a lot of memory + is broken on 32-bit platforms
+   epytest --skip-high-memory
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-10-22 Thread Michał Górny
commit: 41386fa3c9da743583a7f264b456480281e6a1e9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 22 19:16:21 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 22 19:16:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41386fa3

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 -
 dev-python/loky/loky-3.1.0.ebuild | 41 ---
 2 files changed, 42 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index d899140a1fb4..11c300fae655 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-3.1.0.tar.gz 139211 BLAKE2B 
32e95312c40d6f8d8f9fc8daf5a1e85f1b874cbb902a4885621983d84a5fa9da42f05ff7d5d6bf58cf04a320c04c6e698ff0105cdad9ddd3248a109cc71c9883
 SHA512 
8bf6b032bb4f770d89c8de93d95c5805fa90dae34f2754f14c3a9fe7860230e8ce8ea97e1b09fa2cdf67f8aecdbd6d1e47ae4fb746fb1c6912d2dd65033f5b6f
 DIST loky-3.3.0.gh.tar.gz 141130 BLAKE2B 
35560dca81cf41e03b24c8be6e70952c19b88fc9794cb13d7c910ac67ec4554555233026a215c6f147dc1354ad11bc14117b4eb6455ba758b79ea6650dc01f62
 SHA512 
120f771c75fe8691a198c93a91bf683af3d32c1bcaf2fa3e9c439d16546bff9feb6ce203667bd6c4e06ac326500b7bd117948e4deea6f53b04682af1f8d65734

diff --git a/dev-python/loky/loky-3.1.0.ebuild 
b/dev-python/loky/loky-3.1.0.ebuild
deleted file mode 100644
index 4a8d620ec72c..
--- a/dev-python/loky/loky-3.1.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Robust and reusable Executor for joblib"
-HOMEPAGE="https://github.com/joblib/loky;
-SRC_URI="
-   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/cloudpickle[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-python_test() {
-   EPYTEST_DESELECT=(
-   # docker, seriously?
-   tests/test_loky_module.py::test_cpu_count_cfs_limit
-   # hangs, and even pytest-timeout does not help
-   
tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill
-   )
-
-   # high memory test needs a lot of memory + is broken on 32-bit platforms
-   epytest --skip-high-memory
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-10-22 Thread Arthur Zamarin
commit: e1d90ff8f557c4759687091164dd21495c1e4e8d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 22 16:40:44 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 22 16:40:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d90ff8

dev-python/loky: Stabilize 3.3.0 ALLARCHES, #877945

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/loky/loky-3.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.3.0.ebuild 
b/dev-python/loky/loky-3.3.0.ebuild
index ec4771d80692..9fa16a14287f 100644
--- a/dev-python/loky/loky-3.3.0.ebuild
+++ b/dev-python/loky/loky-3.3.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-09-15 Thread Arthur Zamarin
commit: d40e7117452fcecf891404e731a3cfb64cff71d5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 15 18:01:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 15 19:55:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d40e7117

dev-python/loky: add 3.3.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-3.3.0.ebuild | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index ddf2f8ca14a6..d899140a1fb4 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-3.1.0.tar.gz 139211 BLAKE2B 
32e95312c40d6f8d8f9fc8daf5a1e85f1b874cbb902a4885621983d84a5fa9da42f05ff7d5d6bf58cf04a320c04c6e698ff0105cdad9ddd3248a109cc71c9883
 SHA512 
8bf6b032bb4f770d89c8de93d95c5805fa90dae34f2754f14c3a9fe7860230e8ce8ea97e1b09fa2cdf67f8aecdbd6d1e47ae4fb746fb1c6912d2dd65033f5b6f
+DIST loky-3.3.0.gh.tar.gz 141130 BLAKE2B 
35560dca81cf41e03b24c8be6e70952c19b88fc9794cb13d7c910ac67ec4554555233026a215c6f147dc1354ad11bc14117b4eb6455ba758b79ea6650dc01f62
 SHA512 
120f771c75fe8691a198c93a91bf683af3d32c1bcaf2fa3e9c439d16546bff9feb6ce203667bd6c4e06ac326500b7bd117948e4deea6f53b04682af1f8d65734

diff --git a/dev-python/loky/loky-3.3.0.ebuild 
b/dev-python/loky/loky-3.3.0.ebuild
new file mode 100644
index ..ec4771d80692
--- /dev/null
+++ b/dev-python/loky/loky-3.3.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/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"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   EPYTEST_DESELECT=(
+   # docker, seriously?
+   tests/test_loky_module.py::test_cpu_count_cfs_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
+   )
+
+   # high memory test needs a lot of memory + is broken on 32-bit platforms
+   epytest --skip-high-memory
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-09-07 Thread Michał Górny
commit: 203d3f9650177b205033746f8b49b563162589e0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep  4 09:31:16 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  7 07:50:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203d3f96

dev-python/loky: Remove redundant -p no:xvfb

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.1.0.ebuild 
b/dev-python/loky/loky-3.1.0.ebuild
index 7d1bdf178dce..4a8d620ec72c 100644
--- a/dev-python/loky/loky-3.1.0.ebuild
+++ b/dev-python/loky/loky-3.1.0.ebuild
@@ -37,5 +37,5 @@ python_test() {
)
 
# high memory test needs a lot of memory + is broken on 32-bit platforms
-   epytest --skip-high-memory -p no:xvfb
+   epytest --skip-high-memory
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-05-26 Thread Andrew Ammerlaan
commit: aeca63b33f047f4349bf8987fc03ee7c26268dbc
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu May 26 10:35:19 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu May 26 10:45:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeca63b3

dev-python/loky: enable py3.11

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/loky/loky-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.1.0.ebuild 
b/dev-python/loky/loky-3.1.0.ebuild
index 5444599a1da2..7d1bdf178dce 100644
--- a/dev-python/loky/loky-3.1.0.ebuild
+++ b/dev-python/loky/loky-3.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-03-31 Thread Michał Górny
commit: 04c5ebb8126e64c66a24bc3dad5ae657152d2ce3
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 31 21:25:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 31 23:02:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c5ebb8

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 -
 dev-python/loky/loky-3.0.0.ebuild | 42 ---
 2 files changed, 43 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index dc701cbd202c..ddf2f8ca14a6 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-3.0.0.tar.gz 152463 BLAKE2B 
99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8
 SHA512 
ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36
 DIST loky-3.1.0.tar.gz 139211 BLAKE2B 
32e95312c40d6f8d8f9fc8daf5a1e85f1b874cbb902a4885621983d84a5fa9da42f05ff7d5d6bf58cf04a320c04c6e698ff0105cdad9ddd3248a109cc71c9883
 SHA512 
8bf6b032bb4f770d89c8de93d95c5805fa90dae34f2754f14c3a9fe7860230e8ce8ea97e1b09fa2cdf67f8aecdbd6d1e47ae4fb746fb1c6912d2dd65033f5b6f

diff --git a/dev-python/loky/loky-3.0.0.ebuild 
b/dev-python/loky/loky-3.0.0.ebuild
deleted file mode 100644
index c7368a937698..
--- a/dev-python/loky/loky-3.0.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Robust and reusable Executor for joblib"
-HOMEPAGE="https://github.com/joblib/loky;
-SRC_URI="
-   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/cloudpickle[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local args=(
-   # docker, seriously?
-   --deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
-   # hangs, and even pytest-timeout does not help
-   --deselect 
'tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill'
-   # one test that uses a lot of memory, also broken on 32-bit
-   # platforms
-   --skip-high-memory
-   # breaks teardown
-   -p no:xvfb
-   )
-
-   epytest "${args[@]}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-03-31 Thread Arthur Zamarin
commit: 59239009a195565b21a6e016ef92c51bb858c296
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 31 20:05:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 31 20:05:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59239009

dev-python/loky: Stabilize 3.1.0 ALLARCHES, #836494

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/loky/loky-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.1.0.ebuild 
b/dev-python/loky/loky-3.1.0.ebuild
index 61f9d0dae1c4..5444599a1da2 100644
--- a/dev-python/loky/loky-3.1.0.ebuild
+++ b/dev-python/loky/loky-3.1.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2022-02-22 Thread Michał Górny
commit: 8b81414fa366afa72b0b743c2b54e609d29ac201
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 22 18:06:28 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 22 18:55:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b81414f

dev-python/loky: Bump to 3.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-3.1.0.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index aff995481036..dc701cbd202c 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-3.0.0.tar.gz 152463 BLAKE2B 
99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8
 SHA512 
ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36
+DIST loky-3.1.0.tar.gz 139211 BLAKE2B 
32e95312c40d6f8d8f9fc8daf5a1e85f1b874cbb902a4885621983d84a5fa9da42f05ff7d5d6bf58cf04a320c04c6e698ff0105cdad9ddd3248a109cc71c9883
 SHA512 
8bf6b032bb4f770d89c8de93d95c5805fa90dae34f2754f14c3a9fe7860230e8ce8ea97e1b09fa2cdf67f8aecdbd6d1e47ae4fb746fb1c6912d2dd65033f5b6f

diff --git a/dev-python/loky/loky-3.1.0.ebuild 
b/dev-python/loky/loky-3.1.0.ebuild
new file mode 100644
index ..61f9d0dae1c4
--- /dev/null
+++ b/dev-python/loky/loky-3.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/loky;
+SRC_URI="
+   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+python_test() {
+   EPYTEST_DESELECT=(
+   # docker, seriously?
+   tests/test_loky_module.py::test_cpu_count_cfs_limit
+   # hangs, and even pytest-timeout does not help
+   
tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill
+   )
+
+   # high memory test needs a lot of memory + is broken on 32-bit platforms
+   epytest --skip-high-memory -p no:xvfb
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/, dev-python/loky/files/

2021-10-16 Thread Michał Górny
commit: 7856f165d0cd90d0791d84e696f5973ce87d7e2b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 16 06:00:20 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 16 06:00:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7856f165

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest   |  1 -
 .../loky/files/loky-2.9.0-fix-py3.10-tests.patch   | 41 ---
 dev-python/loky/files/loky-2.9.0-libc.patch| 28 -
 dev-python/loky/loky-2.9.0.ebuild  | 47 --
 4 files changed, 117 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index 5a3f027b314..aff99548103 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-2.9.0.tar.gz 115019 BLAKE2B 
2aa2042e32821b67db8b8de12d4b380d22af93d308bb35878271a4859325d6740a3bdab70b464a2c0d0af143903c8af3da81b4b804605cdae88779fefd7971a6
 SHA512 
d49354b834251f6f05a689ac44464aafa5a7a5b4a8ef84a308ec3bda138e810fc3dc31aa628307984dc69386a210f442d4c202b9499ae3e3864837b47a5b0cd9
 DIST loky-3.0.0.tar.gz 152463 BLAKE2B 
99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8
 SHA512 
ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36

diff --git a/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch 
b/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch
deleted file mode 100644
index 51cbfb348a5..000
--- a/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 0d31dc24ca9688c11d1fe53fa1283728ecc50706 Mon Sep 17 00:00:00 2001
-From: Arthur Zamarin 
-Date: Mon, 2 Aug 2021 18:35:31 +0300
-Subject: [PATCH] Fix no attribute import_module for python 3.10
-
-In python 3.10, the `import_module` has moved from the
-`test.support` module to `test.support.import_helper`.
-
-As fix, try to import the from the new place and if unknown try from
-the old place.

- tests/_test_process_executor.py | 11 +++
- 1 file changed, 7 insertions(+), 4 deletions(-)
-
-diff --git a/tests/_test_process_executor.py b/tests/_test_process_executor.py
-index 65d9a2c9..3bd0b12d 100644
 a/tests/_test_process_executor.py
-+++ b/tests/_test_process_executor.py
-@@ -1,15 +1,18 @@
- from __future__ import print_function
- try:
--import test.support
-+try:
-+from test.support.import_helper import import_module
-+except ImportError:
-+from test.support import import_module
- 
- # Skip tests if _multiprocessing wasn't built.
--test.support.import_module('_multiprocessing')
-+import_module('_multiprocessing')
- # Skip tests if sem_open implementation is broken.
--test.support.import_module('multiprocessing.synchronize')
-+import_module('multiprocessing.synchronize')
- # import threading after _multiprocessing to raise a more revelant error
- # message: "No module named _multiprocessing" if multiprocessing is not
- # compiled without thread support.
--test.support.import_module('threading')
-+import_module('threading')
- except ImportError:
- pass
- 

diff --git a/dev-python/loky/files/loky-2.9.0-libc.patch 
b/dev-python/loky/files/loky-2.9.0-libc.patch
deleted file mode 100644
index 58cceab01eb..000
--- a/dev-python/loky/files/loky-2.9.0-libc.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 4100bb481dd1599be3deae8539ff9eac2d9b7104 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Mon, 8 Mar 2021 10:32:38 +0100
-Subject: [PATCH] FIX load libc correctly in test_reusable_executor
-
-Fix test_reusable_executor to load libc via "c" library rather than
-"libc".  The latter is incorrect, and does not work in the newest
-versions of Python anymore, see https://bugs.python.org/issue42580.

- tests/test_reusable_executor.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_reusable_executor.py b/tests/test_reusable_executor.py
-index 1ff5b8b..d24d2de 100644
 a/tests/test_reusable_executor.py
-+++ b/tests/test_reusable_executor.py
-@@ -32,7 +32,7 @@ if sys.platform == "win32":
- else:
- from signal import SIGKILL
- from ctypes.util import find_library
--libc = ctypes.CDLL(find_library("libc"))
-+libc = ctypes.CDLL(find_library("c"))
- 
- 
- try:
--- 
-2.30.1
-

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
deleted file mode 100644
index d1db85d53e5..000
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Robust and reusable Executor for joblib"

[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-10-15 Thread Sam James
commit: 01c85c2f2ff923109a39d336523b20f22bb12145
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 15 23:14:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 15 23:14:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c85c2f

dev-python/loky: Stabilize 3.0.0 ALLARCHES, #818334

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-3.0.0.ebuild 
b/dev-python/loky/loky-3.0.0.ebuild
index d1c230c8a53..c7368a93769 100644
--- a/dev-python/loky/loky-3.0.0.ebuild
+++ b/dev-python/loky/loky-3.0.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-09-11 Thread Michał Górny
commit: 00f93ddfc5f7119df2cf9b2adabf55e0a8fad743
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 11 06:57:10 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep 11 07:15:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f93ddf

dev-python/loky: Bump to 3.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-3.0.0.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index 45b7ee06140..5a3f027b314 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-2.9.0.tar.gz 115019 BLAKE2B 
2aa2042e32821b67db8b8de12d4b380d22af93d308bb35878271a4859325d6740a3bdab70b464a2c0d0af143903c8af3da81b4b804605cdae88779fefd7971a6
 SHA512 
d49354b834251f6f05a689ac44464aafa5a7a5b4a8ef84a308ec3bda138e810fc3dc31aa628307984dc69386a210f442d4c202b9499ae3e3864837b47a5b0cd9
+DIST loky-3.0.0.tar.gz 152463 BLAKE2B 
99f0a1fc85e879626d12402dd4fee4b92345eab9520b1afaf95bbf869d2dc9e429f1f9810554e10d97f0ecbc4add28b1cbaee0477de05aa366faeb335eaef7c8
 SHA512 
ad171bfac031ab4d6749bde416031e905eb29adb97dab9c3348791c9df78b17e1e3eab8a354954d7c16fb2095ccc03d26cf2153fe53a546007a7a89c6046cb36

diff --git a/dev-python/loky/loky-3.0.0.ebuild 
b/dev-python/loky/loky-3.0.0.ebuild
new file mode 100644
index 000..d1c230c8a53
--- /dev/null
+++ b/dev-python/loky/loky-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/loky;
+SRC_URI="
+   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local args=(
+   # docker, seriously?
+   --deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
+   # hangs, and even pytest-timeout does not help
+   --deselect 
'tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill'
+   # one test that uses a lot of memory, also broken on 32-bit
+   # platforms
+   --skip-high-memory
+   # breaks teardown
+   -p no:xvfb
+   )
+
+   epytest "${args[@]}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-09-02 Thread Marek Szuba
commit: ca519d4b08c05f1c5a040c20ed1a5bcce5c89a9e
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  2 21:01:09 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  2 22:57:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca519d4b

dev-python/loky: keyword 2.9.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 25edf84e76a..d1db85d53e5 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-08-05 Thread Michał Górny
commit: 9a805920e33ab3a13435a33defac1b0f568d08c3
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug  5 20:19:52 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  5 21:44:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a805920

dev-python/loky: Fix test failures due to pytest-xvfb

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 6a166599dde..1b5b6ffc1d4 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -38,6 +38,8 @@ python_test() {
# one test that uses a lot of memory, also broken on 32-bit
# platforms
--skip-high-memory
+   # breaks teardown
+   -p no:xvfb
)
 
epytest "${args[@]}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/, dev-python/loky/files/

2021-08-05 Thread Michał Górny
commit: 3ecd1f9e7ec50320fe6f0430fbdef6da3a47ff9e
Author: Arthur Zamarin  gmail  com>
AuthorDate: Mon Aug  2 15:56:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  5 21:44:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ecd1f9e

dev-python/loky: enable py3.10, fix tests

patch from my PR here: https://github.com/joblib/loky/pull/295

Signed-off-by: Arthur Zamarin  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 .../loky/files/loky-2.9.0-fix-py3.10-tests.patch   | 41 ++
 dev-python/loky/loky-2.9.0.ebuild  |  3 +-
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch 
b/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch
new file mode 100644
index 000..51cbfb348a5
--- /dev/null
+++ b/dev-python/loky/files/loky-2.9.0-fix-py3.10-tests.patch
@@ -0,0 +1,41 @@
+From 0d31dc24ca9688c11d1fe53fa1283728ecc50706 Mon Sep 17 00:00:00 2001
+From: Arthur Zamarin 
+Date: Mon, 2 Aug 2021 18:35:31 +0300
+Subject: [PATCH] Fix no attribute import_module for python 3.10
+
+In python 3.10, the `import_module` has moved from the
+`test.support` module to `test.support.import_helper`.
+
+As fix, try to import the from the new place and if unknown try from
+the old place.
+---
+ tests/_test_process_executor.py | 11 +++
+ 1 file changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/tests/_test_process_executor.py b/tests/_test_process_executor.py
+index 65d9a2c9..3bd0b12d 100644
+--- a/tests/_test_process_executor.py
 b/tests/_test_process_executor.py
+@@ -1,15 +1,18 @@
+ from __future__ import print_function
+ try:
+-import test.support
++try:
++from test.support.import_helper import import_module
++except ImportError:
++from test.support import import_module
+ 
+ # Skip tests if _multiprocessing wasn't built.
+-test.support.import_module('_multiprocessing')
++import_module('_multiprocessing')
+ # Skip tests if sem_open implementation is broken.
+-test.support.import_module('multiprocessing.synchronize')
++import_module('multiprocessing.synchronize')
+ # import threading after _multiprocessing to raise a more revelant error
+ # message: "No module named _multiprocessing" if multiprocessing is not
+ # compiled without thread support.
+-test.support.import_module('threading')
++import_module('threading')
+ except ImportError:
+ pass
+ 

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 1b5b6ffc1d4..25edf84e76a 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Robust and reusable Executor for joblib"
@@ -27,6 +27,7 @@ distutils_enable_tests pytest
 
 PATCHES=(
"${FILESDIR}"/${P}-libc.patch
+   "${FILESDIR}"/${P}-fix-py3.10-tests.patch
 )
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-08-05 Thread Michał Górny
commit: c88e928c6020093b3d9b71dd8d226dee777db225
Author: Arthur Zamarin  gmail  com>
AuthorDate: Mon Aug  2 16:01:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  5 18:07:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88e928c

dev-python/loky: mark ALLARCHES

Signed-off-by: Arthur Zamarin  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml
index 9470fdeb995..aec9cefdf35 100644
--- a/dev-python/loky/metadata.xml
+++ b/dev-python/loky/metadata.xml
@@ -5,6 +5,7 @@
pyt...@gentoo.org
Python

+   

loky
joblib/loky



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-08-05 Thread Michał Górny
commit: 91c2f27f64024b817a42cc3d3c530e253e0769e0
Author: Arthur Zamarin  gmail  com>
AuthorDate: Mon Aug  2 14:12:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug  5 18:07:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c2f27f

dev-python/loky: add github upstream metadata

Signed-off-by: Arthur Zamarin  gmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml
index def50b74ac1..9470fdeb995 100644
--- a/dev-python/loky/metadata.xml
+++ b/dev-python/loky/metadata.xml
@@ -7,5 +7,6 @@


loky
+   joblib/loky

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-05-07 Thread Michał Górny
commit: 07dcfe40f047f689c3d69ae9da0ef2f6d3815468
Author: Jakov Smolic  sartura  hr>
AuthorDate: Fri May  7 01:30:22 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  7 11:57:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07dcfe40

dev-python/loky: Update metadata

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml
index d826a22b20c..def50b74ac1 100644
--- a/dev-python/loky/metadata.xml
+++ b/dev-python/loky/metadata.xml
@@ -3,6 +3,7 @@
 

pyt...@gentoo.org
+   Python


loky



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/, dev-python/loky/files/

2021-03-08 Thread Michał Górny
commit: c1e7cd7d73a20d21e665797ac0531c7748128dad
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar  8 10:08:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar  8 12:35:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e7cd7d

dev-python/loky: Fix tests with newer CPython

Fix test failure with newer versions of CPython due to incorrect loading
of libc via ctypes.

Closes: https://bugs.gentoo.org/774789
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/files/loky-2.9.0-libc.patch | 28 
 dev-python/loky/loky-2.9.0.ebuild   |  6 +-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-python/loky/files/loky-2.9.0-libc.patch 
b/dev-python/loky/files/loky-2.9.0-libc.patch
new file mode 100644
index 000..58cceab01eb
--- /dev/null
+++ b/dev-python/loky/files/loky-2.9.0-libc.patch
@@ -0,0 +1,28 @@
+From 4100bb481dd1599be3deae8539ff9eac2d9b7104 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Mon, 8 Mar 2021 10:32:38 +0100
+Subject: [PATCH] FIX load libc correctly in test_reusable_executor
+
+Fix test_reusable_executor to load libc via "c" library rather than
+"libc".  The latter is incorrect, and does not work in the newest
+versions of Python anymore, see https://bugs.python.org/issue42580.
+---
+ tests/test_reusable_executor.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_reusable_executor.py b/tests/test_reusable_executor.py
+index 1ff5b8b..d24d2de 100644
+--- a/tests/test_reusable_executor.py
 b/tests/test_reusable_executor.py
+@@ -32,7 +32,7 @@ if sys.platform == "win32":
+ else:
+ from signal import SIGKILL
+ from ctypes.util import find_library
+-libc = ctypes.CDLL(find_library("libc"))
++libc = ctypes.CDLL(find_library("c"))
+ 
+ 
+ try:
+-- 
+2.30.1
+

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 70165402b04..a4096ef4abe 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -25,6 +25,10 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+   "${FILESDIR}"/${P}-libc.patch
+)
+
 python_test() {
local args=(
# docker, seriously?
@@ -34,5 +38,5 @@ python_test() {
--skip-high-memory
)
 
-   pytest -vv "${args[@]}" || die "Tests failed on ${EPYTHON}"
+   epytest "${args[@]}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-03-08 Thread Michał Górny
commit: b10627238bf020b04c97f6be140f3843ac54d2f5
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar  8 12:32:45 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar  8 12:35:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1062723

dev-python/loky: Skip a hanging test

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index a4096ef4abe..6a166599dde 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -33,6 +33,8 @@ python_test() {
local args=(
# docker, seriously?
--deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
+   # hangs, and even pytest-timeout does not help
+   --deselect 
'tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill'
# one test that uses a lot of memory, also broken on 32-bit
# platforms
--skip-high-memory



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2021-02-25 Thread Sam James
commit: 9199f8d56882557088f248ce60051dd1faab6540
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 11:56:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 11:58:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9199f8d5

dev-python/loky: Stabilize 2.9.0 ppc64, #749519

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 05273415660..70165402b04 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-12-20 Thread Sam James
commit: a82212d0aaeb03f5cc3903835fa962922c31a62f
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 20 19:41:57 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 20 19:43:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82212d0

dev-python/loky: Keyword 2.9.0 ppc, #759736

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 0cf126c023e..953aa27b4ce 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-11-18 Thread Thomas Deutschmann
commit: 245e5ad5cdaae17cf3e6024186a044e5beb1b583
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Nov 18 23:41:39 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Nov 18 23:41:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245e5ad5

dev-python/loky: x86 stable (bug #737764)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index 5d4a3524b53..0cf126c023e 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-11-14 Thread Michał Górny
commit: 5eafcf000d2247d7c5284a5c8dea3b3594bb707e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 14 21:23:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 14 21:23:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eafcf00

dev-python/loky: Skip high_memory tests

Skip unimportant tests that require a lot of memory, and are broken
on 32-bit platforms.

Closes: https://bugs.gentoo.org/743334
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index dd2b48641bc..5d4a3524b53 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -25,10 +25,14 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-src_prepare() {
-   # docker, seriously?
-   sed -e 's:test_cpu_count_cfs_limit:_&:' \
-   -i tests/test_loky_module.py || die
-
-   distutils-r1_src_prepare
+python_test() {
+   local args=(
+   # docker, seriously?
+   --deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
+   # one test that uses a lot of memory, also broken on 32-bit
+   # platforms
+   --skip-high-memory
+   )
+
+   pytest -vv "${args[@]}" || die "Tests failed on ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/, dev-python/loky/files/

2020-11-03 Thread Michał Górny
commit: 1916230ab03bd734b14f14f695f405d8f4765607
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov  4 07:26:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov  4 07:34:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1916230a

dev-python/loky: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest   |  1 -
 .../loky/files/loky-2.8.0-cloudpickle-1.5.patch| 39 --
 dev-python/loky/loky-2.8.0-r1.ebuild   | 38 -
 3 files changed, 78 deletions(-)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index c1539e30bad..45b7ee06140 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1,2 +1 @@
-DIST loky-2.8.0.tar.gz 112383 BLAKE2B 
5561d96c0e0d23951dff303bdb1789f200b88e74ca44ef75119112491693c5876a9a70ad3688b3af9eaf12cd891067c936ca984404146890fb131f8c261e
 SHA512 
15fbdb56994e08f643b7bd5aa68d193f74ab61ef1230df9e2101fb4602a201a050e3ecf08229fc4ad61e478c893e0b34b81371ef9596733baa0e3d008125cd11
 DIST loky-2.9.0.tar.gz 115019 BLAKE2B 
2aa2042e32821b67db8b8de12d4b380d22af93d308bb35878271a4859325d6740a3bdab70b464a2c0d0af143903c8af3da81b4b804605cdae88779fefd7971a6
 SHA512 
d49354b834251f6f05a689ac44464aafa5a7a5b4a8ef84a308ec3bda138e810fc3dc31aa628307984dc69386a210f442d4c202b9499ae3e3864837b47a5b0cd9

diff --git a/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch 
b/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch
deleted file mode 100644
index 05fb70455f0..000
--- a/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 0e930389f4785f9d311b090f92057563e22b9768 Mon Sep 17 00:00:00 2001
-From: tomMoral 
-Date: Thu, 2 Jul 2020 13:37:14 +0200
-Subject: [PATCH] FIX cloudpickle customization mechanism
-

- loky/backend/reduction.py | 12 
- 1 file changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/loky/backend/reduction.py b/loky/backend/reduction.py
-index 0bad5f63..d87fbdff 100644
 a/loky/backend/reduction.py
-+++ b/loky/backend/reduction.py
-@@ -189,6 +189,10 @@ def __init__(self, writer, reducers=None, 
protocol=HIGHEST_PROTOCOL):
- self.dispatch = self._dispatch.copy()
- else:
- if getattr(self, "dispatch_table", None) is not None:
-+# Make sure dispatch table is an instance level field
-+# as it is not the case for isntance for cloudpickle1.5+
-+# see joblib/loky#259
-+self.dispatch_table = self.dispatch_table.copy()
- self.dispatch_table.update(self._dispatch_table.copy())
- else:
- self.dispatch_table = self._dispatch_table.copy()
-@@ -202,10 +206,10 @@ def register(self, type, reduce_func):
- if sys.version_info < (3,):
- # Python 2 pickler dispatching is not explicitly customizable.
- # Let us use a closure to workaround this limitation.
--def dispatcher(self, obj):
--reduced = reduce_func(obj)
--self.save_reduce(obj=obj, *reduced)
--self.dispatch[type] = dispatcher
-+def dispatcher(self, obj):
-+reduced = reduce_func(obj)
-+self.save_reduce(obj=obj, *reduced)
-+self.dispatch[type] = dispatcher
- else:
- self.dispatch_table[type] = reduce_func
- 

diff --git a/dev-python/loky/loky-2.8.0-r1.ebuild 
b/dev-python/loky/loky-2.8.0-r1.ebuild
deleted file mode 100644
index 09a94d2bab7..000
--- a/dev-python/loky/loky-2.8.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..8} )
-inherit distutils-r1
-
-DESCRIPTION="Robust and reusable Executor for joblib"
-HOMEPAGE="https://github.com/joblib/loky;
-SRC_URI="
-   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-
-RDEPEND="
-   dev-python/cloudpickle[${PYTHON_USEDEP}]
-   dev-python/psutil[${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cloudpickle-1.5.patch
-)
-
-src_prepare() {
-   # docker, seriously?
-   sed -e 's:test_cpu_count_cfs_limit:_&:' \
-   -i tests/test_loky_module.py || die
-
-   distutils-r1_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-11-03 Thread Sam James
commit: a3dbd53c66adfaea6407850400136e949055bd35
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  4 01:02:10 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  4 01:02:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3dbd53c

dev-python/loky: Stabilize 2.9.0 amd64, #752270

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
index a96b2ed5edc..dd2b48641bc 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-10-03 Thread Michał Górny
commit: 60a536e4821c1f253c239277e7fae7bbea8fed48
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  3 20:55:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  3 21:21:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a536e4

dev-python/loky: Bump to 2.9.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-2.9.0.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
index 917f78219b6..c1539e30bad 100644
--- a/dev-python/loky/Manifest
+++ b/dev-python/loky/Manifest
@@ -1 +1,2 @@
 DIST loky-2.8.0.tar.gz 112383 BLAKE2B 
5561d96c0e0d23951dff303bdb1789f200b88e74ca44ef75119112491693c5876a9a70ad3688b3af9eaf12cd891067c936ca984404146890fb131f8c261e
 SHA512 
15fbdb56994e08f643b7bd5aa68d193f74ab61ef1230df9e2101fb4602a201a050e3ecf08229fc4ad61e478c893e0b34b81371ef9596733baa0e3d008125cd11
+DIST loky-2.9.0.tar.gz 115019 BLAKE2B 
2aa2042e32821b67db8b8de12d4b380d22af93d308bb35878271a4859325d6740a3bdab70b464a2c0d0af143903c8af3da81b4b804605cdae88779fefd7971a6
 SHA512 
d49354b834251f6f05a689ac44464aafa5a7a5b4a8ef84a308ec3bda138e810fc3dc31aa628307984dc69386a210f442d4c202b9499ae3e3864837b47a5b0cd9

diff --git a/dev-python/loky/loky-2.9.0.ebuild 
b/dev-python/loky/loky-2.9.0.ebuild
new file mode 100644
index 000..a96b2ed5edc
--- /dev/null
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/loky;
+SRC_URI="
+   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # docker, seriously?
+   sed -e 's:test_cpu_count_cfs_limit:_&:' \
+   -i tests/test_loky_module.py || die
+
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-08-17 Thread Sam James
commit: 958902386f883eb565a849061d6c8d1d23aa6e50
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 18 05:36:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 18 05:36:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95890238

dev-python/loky: Keyword 2.8.0-r1 arm, #723912

Signed-off-by: Sam James  gentoo.org>

 dev-python/loky/loky-2.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.8.0-r1.ebuild 
b/dev-python/loky/loky-2.8.0-r1.ebuild
index ba05e5dcaaa..df043a826aa 100644
--- a/dev-python/loky/loky-2.8.0-r1.ebuild
+++ b/dev-python/loky/loky-2.8.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/files/, dev-python/loky/

2020-07-02 Thread Michał Górny
commit: cc9f77e7cb0fe3de5c8bf85b9dc41648c2dbf3e0
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  2 11:43:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  2 12:42:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9f77e7

dev-python/loky: Add a patch for cloudpickle-1.5+

Signed-off-by: Michał Górny  gentoo.org>

 .../loky/files/loky-2.8.0-cloudpickle-1.5.patch| 39 ++
 .../{loky-2.8.0.ebuild => loky-2.8.0-r1.ebuild}|  7 ++--
 2 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch 
b/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch
new file mode 100644
index 000..05fb70455f0
--- /dev/null
+++ b/dev-python/loky/files/loky-2.8.0-cloudpickle-1.5.patch
@@ -0,0 +1,39 @@
+From 0e930389f4785f9d311b090f92057563e22b9768 Mon Sep 17 00:00:00 2001
+From: tomMoral 
+Date: Thu, 2 Jul 2020 13:37:14 +0200
+Subject: [PATCH] FIX cloudpickle customization mechanism
+
+---
+ loky/backend/reduction.py | 12 
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/loky/backend/reduction.py b/loky/backend/reduction.py
+index 0bad5f63..d87fbdff 100644
+--- a/loky/backend/reduction.py
 b/loky/backend/reduction.py
+@@ -189,6 +189,10 @@ def __init__(self, writer, reducers=None, 
protocol=HIGHEST_PROTOCOL):
+ self.dispatch = self._dispatch.copy()
+ else:
+ if getattr(self, "dispatch_table", None) is not None:
++# Make sure dispatch table is an instance level field
++# as it is not the case for isntance for cloudpickle1.5+
++# see joblib/loky#259
++self.dispatch_table = self.dispatch_table.copy()
+ self.dispatch_table.update(self._dispatch_table.copy())
+ else:
+ self.dispatch_table = self._dispatch_table.copy()
+@@ -202,10 +206,10 @@ def register(self, type, reduce_func):
+ if sys.version_info < (3,):
+ # Python 2 pickler dispatching is not explicitly customizable.
+ # Let us use a closure to workaround this limitation.
+-def dispatcher(self, obj):
+-reduced = reduce_func(obj)
+-self.save_reduce(obj=obj, *reduced)
+-self.dispatch[type] = dispatcher
++def dispatcher(self, obj):
++reduced = reduce_func(obj)
++self.save_reduce(obj=obj, *reduced)
++self.dispatch[type] = dispatcher
+ else:
+ self.dispatch_table[type] = reduce_func
+ 

diff --git a/dev-python/loky/loky-2.8.0.ebuild 
b/dev-python/loky/loky-2.8.0-r1.ebuild
similarity index 86%
rename from dev-python/loky/loky-2.8.0.ebuild
rename to dev-python/loky/loky-2.8.0-r1.ebuild
index 6d84a226623..ba05e5dcaaa 100644
--- a/dev-python/loky/loky-2.8.0.ebuild
+++ b/dev-python/loky/loky-2.8.0-r1.ebuild
@@ -25,13 +25,14 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+   "${FILESDIR}"/${P}-cloudpickle-1.5.patch
+)
+
 src_prepare() {
# docker, seriously?
sed -e 's:test_cpu_count_cfs_limit:_&:' \
-i tests/test_loky_module.py || die
-   # suddenly started failing :-(
-   sed -e 's:test_serialization:_&:' \
-   -i tests/_test_process_executor.py || die
 
distutils-r1_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-07-02 Thread Michał Górny
commit: 6314126881556e9a9a1abd8f68fe9a44b49d12a1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  2 08:09:56 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  2 08:29:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63141268

dev-python/loky: Fix tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-2.8.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/loky/loky-2.8.0.ebuild 
b/dev-python/loky/loky-2.8.0.ebuild
index 19d795ff789..6d84a226623 100644
--- a/dev-python/loky/loky-2.8.0.ebuild
+++ b/dev-python/loky/loky-2.8.0.ebuild
@@ -29,6 +29,9 @@ src_prepare() {
# docker, seriously?
sed -e 's:test_cpu_count_cfs_limit:_&:' \
-i tests/test_loky_module.py || die
+   # suddenly started failing :-(
+   sed -e 's:test_serialization:_&:' \
+   -i tests/_test_process_executor.py || die
 
distutils-r1_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-06-15 Thread Michał Górny
commit: 9687a01a35629a4fa744764209b04ddffd2bd011
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 15 07:46:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 15 07:47:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9687a01a

dev-python/loky: Keyword 2.8.0 ppc64, #728274

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/loky-2.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/loky/loky-2.8.0.ebuild 
b/dev-python/loky/loky-2.8.0.ebuild
index dc991562d30..ade277177de 100644
--- a/dev-python/loky/loky-2.8.0.ebuild
+++ b/dev-python/loky/loky-2.8.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 
 RDEPEND="
dev-python/cloudpickle[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/loky/

2020-06-14 Thread Michał Górny
commit: 72cd97ce4ae3adfe507d787c0120b43cf1cb5ade
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 14 17:54:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 14 18:55:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cd97ce

dev-python/loky: New package, to be unbundled from joblib

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/loky/Manifest  |  1 +
 dev-python/loky/loky-2.8.0.ebuild | 34 ++
 dev-python/loky/metadata.xml  |  7 +++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/loky/Manifest b/dev-python/loky/Manifest
new file mode 100644
index 000..917f78219b6
--- /dev/null
+++ b/dev-python/loky/Manifest
@@ -0,0 +1 @@
+DIST loky-2.8.0.tar.gz 112383 BLAKE2B 
5561d96c0e0d23951dff303bdb1789f200b88e74ca44ef75119112491693c5876a9a70ad3688b3af9eaf12cd891067c936ca984404146890fb131f8c261e
 SHA512 
15fbdb56994e08f643b7bd5aa68d193f74ab61ef1230df9e2101fb4602a201a050e3ecf08229fc4ad61e478c893e0b34b81371ef9596733baa0e3d008125cd11

diff --git a/dev-python/loky/loky-2.8.0.ebuild 
b/dev-python/loky/loky-2.8.0.ebuild
new file mode 100644
index 000..dc991562d30
--- /dev/null
+++ b/dev-python/loky/loky-2.8.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+inherit distutils-r1
+
+DESCRIPTION="Robust and reusable Executor for joblib"
+HOMEPAGE="https://github.com/joblib/loky;
+SRC_URI="
+   https://github.com/joblib/loky/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   dev-python/cloudpickle[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # docker, seriously?
+   sed -e 's:test_cpu_count_cfs_limit:_&:' \
+   -i tests/test_loky_module.py || die
+
+   distutils-r1_src_prepare
+}

diff --git a/dev-python/loky/metadata.xml b/dev-python/loky/metadata.xml
new file mode 100644
index 000..266e3f19ca5
--- /dev/null
+++ b/dev-python/loky/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   
+