mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-dask
|
|
pkgver=2023.4.1
|
|
pkgrel=0
|
|
pkgdesc="Parallel computing with task scheduling"
|
|
url="https://dask.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
py3-click
|
|
py3-cloudpickle
|
|
py3-fsspec
|
|
py3-numpy
|
|
py3-packaging
|
|
py3-pandas
|
|
py3-partd
|
|
py3-toolz
|
|
py3-yaml
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools py3-python-versioneer"
|
|
checkdepends="
|
|
py3-flaky
|
|
py3-graphviz
|
|
py3-jinja2
|
|
py3-pytest
|
|
py3-pytest-cov
|
|
py3-pytest-runner
|
|
py3-pytest-xdist
|
|
py3-scipy
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://pypi.python.org/packages/source/d/dask/dask-$pkgver.tar.gz
|
|
importlib-metadata.patch
|
|
"
|
|
builddir="$srcdir/dask-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
x86)
|
|
# assert sizeof(sp.todok()) >= 192
|
|
options="!check"
|
|
;;
|
|
esac
|
|
|
|
# secfixes:
|
|
# 2022.2.0-r0:
|
|
# - CVE-2021-42343
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# dataframe ones fail due to deprecation warnings
|
|
# matches_ci fails on a missing workflow yaml file
|
|
# test_csv fails on s390x
|
|
# test_dataframe_aggregations_multilevel: _FlakyPlugin._make_test_flaky() got an unexpected keyword argument 'reruns'
|
|
cd build/lib
|
|
PYTHONPATH=. pytest -n ${JOBS:-2} \
|
|
--ignore=dask/dataframe/tests/test_dataframe.py \
|
|
--ignore=dask/dataframe/io/tests/test_csv.py \
|
|
-k 'not test_development_guidelines_matches_ci and not test_dataframe_aggregations_multilevel'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2fad1317aad845f7b11d8efceafb11eb9e945aca649bcf7ccd71e8692c3ca18c6f595c82b4e2930cba4e9622dd384965b3cf0ea3f68bdbc2f6f18c7a2d806b26 dask-2023.4.1.tar.gz
|
|
851b1f226de9f42621218f618f76fca18b0870b6b720c43d960e7405b69fd2ed17a4443125c37f6c704a4317d50f0faa4e99d297343735d2d9fe6811a4494138 importlib-metadata.patch
|
|
"
|