Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2020-03-07 01:29:53 -05:00
parent f09541e17d
commit d153afc47e
4 changed files with 7 additions and 37 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/dask-2.10.0.tar.gz
/dask-2.10.1.tar.gz
/dask-2.11.0.tar.gz
/dask-2.12.0.tar.gz

View File

@ -1,32 +0,0 @@
From 2a25faa11dd3fa5fac3e713cbf9e6e76e755c122 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 21 Feb 2020 04:46:29 -0500
Subject: [PATCH] TST: Ensure dot results are placed in unique files.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/tests/test_dot.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dask/tests/test_dot.py b/dask/tests/test_dot.py
index 0fb245d4..a069878c 100644
--- a/dask/tests/test_dot.py
+++ b/dask/tests/test_dot.py
@@ -217,11 +217,10 @@ def test_dot_graph_defaults():
),
],
)
-def test_filenames_and_formats(filename, format, target, expected_result_type):
- result = dot_graph(dsk, filename=filename, format=format)
- assert os.path.isfile(target)
+def test_filenames_and_formats(tmpdir, filename, format, target, expected_result_type):
+ result = dot_graph(dsk, filename=str(tmpdir.join(filename)), format=format)
+ assert tmpdir.join(target).exists()
assert isinstance(result, expected_result_type)
- ensure_not_exists(target)
def test_delayed_kwargs_apply():
--
2.21.1

View File

@ -6,15 +6,13 @@
%bcond_without bootstrap
Name: python-%{srcname}
Version: 2.11.0
Release: 3%{?dist}
Version: 2.12.0
Release: 1%{?dist}
Summary: Parallel PyData with Task Scheduling
License: BSD
URL: https://github.com/dask/dask/
Source0: %pypi_source
# https://github.com/dask/dask/pull/5937
Patch0001: 0001-TST-Ensure-dot-results-are-placed-in-unique-files.patch
BuildArch: noarch
@ -215,6 +213,9 @@ export PYTHONDONTWRITEBYTECODE=1
%changelog
* Sat Mar 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.12.0-1
- Update to latest version
* Fri Feb 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.11.0-3
- Fix typo in dependency
- Fix flaky test

View File

@ -1 +1 @@
SHA512 (dask-2.11.0.tar.gz) = f713b5c9d9c0bca49e466af8854dfb0a6407c1fc1db3858a3a1e6c0a928df35cd3bbd3101f1882785750e566bd7f9f7eadc2c75fe5cb83d52f34b88edd9054ad
SHA512 (dask-2.12.0.tar.gz) = 37338a7b87db03b043841c3ead59194a7961c2997c38796bc35840147d0a9780b4281f5e8ef357c63e3785a5a9573added5dba50030974789a376cf88f979176