[arch-commits] Commit in python-dask/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 15:52:06 UTC 2021
Date: Thursday, December 9, 2021 @ 15:52:06
Author: foutrelis
Revision: 1065850
Fix tests for Python 3.10
Modified:
python-dask/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-09 15:43:16 UTC (rev 1065849)
+++ PKGBUILD 2021-12-09 15:52:06 UTC (rev 1065850)
@@ -66,13 +66,16 @@
python-xxhash
)
source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz
+ ${pkgname}-fix-digraph-import.patch::https://github.com/dask/dask/commit/cc0332f982b9baeb926402e4272c4bd85d62d4e1.patch
${pkgname}-fix-gen_cluster.py::https://github.com/dask/dask/commit/484ddd920fcd4e71a6b7cd510f018cb17eb5bd50.patch)
#source=(https://github.com/dask/dask/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('a98b2e44acaad369bb21f79fc92f756532acfe62c3aeba3982006b7339d0d2e3'
+ 'e7f2ea4ed6aa7b0e7fec7d2733a90a889fcca399ef41ed590ed5b02fa2b51b7b'
'64776fe1d858e895686813c7f05e4d424a7ddc21e80781783de2207e1c377432')
prepare() {
cd ${_pkg}-${pkgver}
+ patch -p1 < ../${pkgname}-fix-digraph-import.patch
patch -p1 < ../${pkgname}-fix-gen_cluster.py
}
@@ -83,7 +86,7 @@
check() {
cd ${_pkg}-${pkgver}
- pytest -v -rsxfE --color=yes dask/tests dask/array/tests dask/bag/tests dask/bytes/tests dask/dataframe/tests
+ pytest -v -rsxfE --color=yes dask/tests dask/array/tests dask/bag/tests dask/bytes/tests dask/dataframe/tests -W 'ignore:There is no current event loop:DeprecationWarning'
}
package() {
More information about the arch-commits
mailing list