Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2019-03-09 20:30:56 -05:00
parent e2bcbfcf0b
commit 44629030b0
5 changed files with 10 additions and 40 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/dask-1.1.3.tar.gz
/dask-1.1.4.tar.gz

View File

@ -1,30 +0,0 @@
From 746f9f8ba3d86067160413bd8ddc68bbeb1a102c Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 3 Mar 2019 04:58:33 -0500
Subject: [PATCH 1/2] Use correct dtype when test concatenation.
When all dtypes are the same, dask returns the same dtype. When they are
not all the same, then it defers to np.promote_dtypes. This function
always returns native byteorder, so fix the test.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/array/tests/test_array_core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dask/array/tests/test_array_core.py b/dask/array/tests/test_array_core.py
index 10239846..0da4d0bb 100644
--- a/dask/array/tests/test_array_core.py
+++ b/dask/array/tests/test_array_core.py
@@ -362,7 +362,7 @@ def test_concatenate():
@pytest.mark.parametrize('dtypes', [(('>f8', '>f8'), '>f8'),
- (('<f4', '<f8'), '<f8')])
+ (('<f4', '<f8'), '=f8')])
def test_concatenate_types(dtypes):
dts_in, dt_out = dtypes
arrs = [np.zeros(4, dtype=dt) for dt in dts_in]
--
2.20.1

View File

@ -1,7 +1,7 @@
From 44fcb19baa56b4b65109318575461fd50537ea82 Mon Sep 17 00:00:00 2001
From 181b105902a15676719a4b810c087b524bcccbe4 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 3 Mar 2019 05:24:13 -0500
Subject: [PATCH 2/2] XFail partitioning test on some arches.
Subject: [PATCH] XFail partitioning test on some arches.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---

View File

@ -6,17 +6,15 @@
%global bootstrap 1
Name: python-%{srcname}
Version: 1.1.3
Release: 4%{?dist}
Version: 1.1.4
Release: 1%{?dist}
Summary: Parallel PyData with Task Scheduling
License: BSD
URL: http://github.com/dask/dask/
Source0: https://files.pythonhosted.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
# https://github.com/dask/dask/pull/4539
Patch0001: 0002-Use-correct-dtype-when-test-concatenation.patch
# https://github.com/dask/dask/issues/4561
Patch0002: 0003-XFail-partitioning-test-on-some-arches.patch
Patch0001: 0001-XFail-partitioning-test-on-some-arches.patch
BuildArch: noarch
@ -187,8 +185,9 @@ PYTHONDONTWRITEBYTECODE=1 \
%changelog
* Thu Mar 07 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-4
- Remove now unnecessary patch
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.4-1
- Update to latest version
- Remove now unnecessary patches
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.3-3
- Mark partitioning test as expected failure on 32-bit systems as well

View File

@ -1 +1 @@
SHA512 (dask-1.1.3.tar.gz) = 7efcd3fb497b81986126bd365fa54f19870103506b5e6645b029eb9d12bd7619073e95d045b0fda9133ff8a2bfa21df64fce135d3ff1b2225dd64633839a6166
SHA512 (dask-1.1.4.tar.gz) = a34f4e6e9a5132d78c6344e1ed88f712fce19827e03e8eeef220bf9db5b68821e9bc5d936b990cf778e96327b1d00e87544d4b73abe3ea09dbbb7f4ce70269b4