Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dask/
Date: Sat, 15 Jan 2022 09:52:16
Message-Id: 1642240326.8fa5feb794c3bd8e822edc5fbef96c0566914313.mgorny@gentoo
1 commit: 8fa5feb794c3bd8e822edc5fbef96c0566914313
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 15 07:57:32 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 15 09:52:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa5feb7
7
8 dev-python/dask: Bump to 2022.01.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dask/Manifest | 1 +
13 dev-python/dask/dask-2022.01.0.ebuild | 55 +++++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest
17 index efdf6429f660..0d136025a401 100644
18 --- a/dev-python/dask/Manifest
19 +++ b/dev-python/dask/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dask-2021.11.0.tar.gz 3971871 BLAKE2B be2c28782e3e870b62e70041bd7572783ff9eef61c27d2fa092f00b74ae23877163e3c00f59f67c5c39b6fefd723cb2c25cdc58b5f5c76c08ef1d686f256cb25 SHA512 cebdef68b2c40348c84627505f4e1f17f998aed603d590be5acc7b78233362330352be395396be00f72215b738e9393ef08eeae8ed0fb933466c1c2d6158e5ea
22 DIST dask-2021.12.0.gh.tar.gz 3987797 BLAKE2B f6c1954ff41048861fcedbc56bd658989dece828613344e876e097d03f93338c194d66e62dd9fa1605b5dfd0362374a1dd2e00a383eec4476db16ac04de29266 SHA512 e9ce4613bf1ccfda7ce85bd90ff8f24d59335f02a941c12335214a2636f46ae1e1e8c2b1777ca9b9dd83f190071a2893b02bee129a68e9b7468c30f2a45df68e
23 +DIST dask-2022.01.0.gh.tar.gz 4903414 BLAKE2B 495531085d126d51c03b1f6dda490cd2d859276821a6d1ab6c2b90fcf6a4cec925b9fcafdf3b3da46344391e77a9bd09cf023f25b0f84bbe6ca8fa36b0bed73f SHA512 3fc25f6ccfca8354e3c6e2425f4d2c8b85807944b02cd1e872931f5b34d82c9afc6f5ffb17b5f835c531ebac4b6759ddaa81897a6f3d2aeee2c09935f221f62d
24
25 diff --git a/dev-python/dask/dask-2022.01.0.ebuild b/dev-python/dask/dask-2022.01.0.ebuild
26 new file mode 100644
27 index 000000000000..a8c79554a055
28 --- /dev/null
29 +++ b/dev-python/dask/dask-2022.01.0.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
40 +HOMEPAGE="https://dask.org/"
41 +SRC_URI="
42 + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
43 +"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
48 +
49 +RDEPEND="
50 + >=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}]
51 + >=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}]
52 + >=dev-python/numpy-1.15.1[${PYTHON_USEDEP}]
53 + >=dev-python/pandas-0.25.0[${PYTHON_USEDEP}]
54 + >=dev-python/packaging-20.0[${PYTHON_USEDEP}]
55 + >=dev-python/partd-0.3.10[${PYTHON_USEDEP}]
56 + dev-python/psutil[${PYTHON_USEDEP}]
57 + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
58 + >=dev-python/toolz-0.8.2[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + dev-python/toolz[${PYTHON_USEDEP}]
62 + test? (
63 + dev-python/moto[${PYTHON_USEDEP}]
64 + dev-python/numexpr[${PYTHON_USEDEP}]
65 + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
66 + dev-python/scipy[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +distutils_enable_tests pytest
71 +
72 +PATCHES=(
73 + "${FILESDIR}"/dask-2021.10.0-warning.patch
74 +)
75 +
76 +EPYTEST_DESELECT=(
77 + # another test relying on -Werror
78 + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
79 + # TODO
80 + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
81 +)
82 +
83 +python_test() {
84 + epytest -p no:flaky -m "not network"
85 +}