commit: edc44723979cfe56376cdedd87a53a8b3bfd75d3 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 26 18:34:48 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 26 18:55:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc44723
dev-python/dask-expr: Bump to 1.0.13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/dask-expr/Manifest | 1 + dev-python/dask-expr/dask-expr-1.0.13.ebuild | 65 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/dask-expr/Manifest b/dev-python/dask-expr/Manifest index bdb6cbbb5140..9d4ec9431499 100644 --- a/dev-python/dask-expr/Manifest +++ b/dev-python/dask-expr/Manifest @@ -1,3 +1,4 @@ DIST dask-expr-1.0.11.gh.tar.gz 242347 BLAKE2B 38b35e4558fc589738d98b59bcaa378351dfa11110c3a7fd7919b709db1ef5b5b97fd431aa2fc07ba69ec41012c91667873615fea763efee2d8f07b99eee910e SHA512 ddd4cd3582dc843a3dd7702f5a457df44d97b7b3828629d702c209f4b84fc1410b059029f82dc167ebefbf3de148aed7f54ecc69241c179c86bf66f9bbd19f41 DIST dask-expr-1.0.12.gh.tar.gz 253354 BLAKE2B 566075d45e3d3b0521cf686b231c0e17f8f445ac95f81f8f32a10c2627cba62e243c02b4ef8d8eed88771df6ce52f88923c5d6fad94a84f950c33ffc70ea550f SHA512 423797cb6142761bbaf56970f474ecf96b047675c8032f2e73427158320f3dd012e861cd9c86560c75c51b9e1350b1081ad5bd0943cde6522b3c21a799fee307 +DIST dask-expr-1.0.13.gh.tar.gz 253953 BLAKE2B a3261ef74ec46835b29223a81ac7a69ae36599af4a092ac87876ca64fc764c1b042b14d39bf624132b2d3623979263ed382f6938793d0d7e1ded7679d0971b32 SHA512 5d32b7cdcc9004ca761ab1c16cccab8bd9487f528d0b09a98b5557ff24bf0a4e432e86b1fcb4e4a1ca78b38848ca85a0b6760a904917141cb73d8d27d80a876c DIST dask-expr-1.0.5.gh.tar.gz 239409 BLAKE2B 0fae8540f40cbdead823f300a68df239bb838bb88d34c000b6d29ee451609a4cfc4422586cbf1fc3d2e10b50ffab6e8a2414c14c00635d929d92d7e40b1abff5 SHA512 3baf9e1aca78bc8158bce0e6beb323e511fa5717578bb10bfce27ec38a8f7b6e25b21edeffc669a1ac5f4a987dbbd948bba0f4375f3c5b329d13fab7093708ea diff --git a/dev-python/dask-expr/dask-expr-1.0.13.ebuild b/dev-python/dask-expr/dask-expr-1.0.13.ebuild new file mode 100644 index 000000000000..c853f4410855 --- /dev/null +++ b/dev-python/dask-expr/dask-expr-1.0.13.ebuild @@ -0,0 +1,65 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="High Level Expressions for Dask" +HOMEPAGE=" + https://github.com/dask/dask-expr/ + https://pypi.org/project/dask-expr/ +" +# pypi tarball removes tests, as of 1.0.1 +SRC_URI=" + https://github.com/dask/dask-expr/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] + >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] + >=dev-python/pandas-2[${PYTHON_USEDEP}] +" +# TODO: make pandas depend on pyarrow unconditionally? we're having +# transitive deps here. +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-libs/apache-arrow[parquet,snappy] + dev-python/pyarrow[parquet,${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin + sed -i -e '/dask/s:==:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # requires distributed + 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' + # TODO + dask_expr/tests/test_groupby.py::test_groupby_index_array + ) + local EPYTEST_IGNORE=( + # requires distributed + dask_expr/io/tests/test_parquet.py + dask_expr/tests/test_diagnostics.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}