Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor, to deal with numpy-2.* #245

Merged
merged 6 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dask amended
  • Loading branch information
LebedevV authored Jul 16, 2024
commit 8e395e755e3bfe28a36dbc0bd2943551e1429332
1 change: 1 addition & 0 deletions dev-python/dask/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DIST dask-2023.3.0.gh.tar.gz 8514069 BLAKE2B 427b975010e08d23bb55606da726c64a08b
DIST dask-2023.3.1.gh.tar.gz 8520302 BLAKE2B 5b70e355ca02163d42615d504207e8186b2b5887d2c57c517876ffbc8a1bd4a3c56ea755d79696d952f802043134c4be4b0a69ff2eb4ea6da8faa80096bebdca SHA512 e4b8306a900453b27bc19055b5a5bfd0d0ed2dc143be854d8f056ede8b1e4bdc5e91a54c674201b1b1f27cbc0c9ba908e5a82a12f52d337c3cb23cbc2e6ef199
DIST dask-2023.3.2.gh.tar.gz 8525841 BLAKE2B 660f3687320c0d56abe437bf7edea2f40fe624a3f48761238b00756f61358d73d47a570399ed70f6f1f2188cb03b04fc10e5c9683e2a49c6b73a21c35173e1dc SHA512 ef1a961a50e69a32aea14630e9d19fc92646e9f520fa265937bb923aeba5932397840b2971bfb9a47125672ac2bd9b0b6a017b650708a183b3bf6c0c345e2af2
DIST dask-2024.5.2.gh.tar.gz 9407524 BLAKE2B 491fcb1afc921047284b40edfb11b8fbba37bbcf7e46e081ff7af2e713723a322d3755db54b42f11cc539c91f968dfd85b9496150493546ffa04cdb8fdaadc5c SHA512 b764f09da4ebb6202787d2f89a1f152ace81d83d2ac3e23d8cba7a5a4f1ca56dc18ee1c11e58419bd2360ecfbede179e7cbeb6abbdf06b9331acb109fb0494ef
DIST dask-2024.7.0.gh.tar.gz 9407507 BLAKE2B dfd9743b6cd1421846af6af8615adf119eb41bc0b503a1e45f4d2c8ed1aca9eb67d33fc5d75ee2c8bfcdc90b779dda9cff9593532b4fa4f71623d4b352d8679d SHA512 5121bf2fa91cb787ba2fd0877d03493ca53eefbb262722934fa580d799a2f598dab17125a12cfb608d1acfc9e1520b89e3341e5b31d8b3962c39d5c04258b1bd
73 changes: 73 additions & 0 deletions dev-python/dask/dask-2024.7.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Copyright 1999-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="Task scheduling and blocked algorithms for parallel processing"
HOMEPAGE="
https://www.dask.org/
https://github.com/dask/dask/
https://pypi.org/project/dask/
"
SRC_URI="
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"

RDEPEND="
>=dev-python/cloudpickle-0.2.2[${PYTHON_USEDEP}]
>=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1.21[${PYTHON_USEDEP}]
>=dev-python/pandas-1.3[${PYTHON_USEDEP}]
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
>=dev-python/partd-1.2.0[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
>=dev-python/toolz-0.8.2[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/toolz[${PYTHON_USEDEP}]
test? (
dev-python/moto[${PYTHON_USEDEP}]
dev-python/numexpr[${PYTHON_USEDEP}]
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
)
"

# >=dev-python/importlib_metadata-4.13.0[${PYTHON_USEDEP}]
# #dropped with py3.9

distutils_enable_tests pytest

EPYTEST_DESELECT=(
# more tests relying on -Werror
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
dask/array/tests/test_random.py::test_RandomState_only_funcs
# TODO
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
dask/tests/test_config.py::test__get_paths
dask/array/tests/test_linalg.py::test_solve_assume_a
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]"
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]"
# require sqlalchemy<2.0
dask/dataframe/io/tests/test_sql.py
)

src_prepare() {
# fails with sqlalchemy-2.0, even though we don't use it x_x
#sed -i -e '/RemovedIn20Warning/d' setup.cfg || die
distutils-r1_src_prepare
}

python_test() {
epytest -p no:flaky -m "not network"
}