From c90f00fb40c525207c790746be17385f5ca327ea Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 22 Jan 2023 00:57:56 -0500 Subject: [PATCH] Update to latest version (#2160834) --- .gitignore | 1 + python-dask.spec | 18 ++++++++---------- sources | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 8e22b2e..05a0d62 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ /dask-2022.11.1.tar.gz /dask-2022.12.0.tar.gz /dask-2022.12.1.tar.gz +/dask-2023.1.0.tar.gz diff --git a/python-dask.spec b/python-dask.spec index cbd99c0..627437b 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -10,18 +10,16 @@ %global debug_package %{nil} Name: python-%{srcname} -Version: 2022.12.1 -%global tag 2022.12.1 +Version: 2023.1.0 +%global tag 2023.1.0 Release: %autorelease Summary: Parallel PyData with Task Scheduling -License: BSD +License: BSD-3-Clause URL: https://github.com/dask/dask Source0: %{pypi_source %{srcname}} # https://github.com/dask/dask/issues/6725 Patch: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch -# https://github.com/dask/dask/pull/9775 -Patch: 0002-TST-Reduce-size-of-expected-DoK-sparse-matrix.patch %description Dask is a flexible parallel computing library for analytics. @@ -68,8 +66,8 @@ Recommends: python3-%{srcname}+distributed = %{version}-%{release} Obsoletes: python3-%{srcname}+diagnostics < 2022.5.0-1 # There is nothing that can be unbundled; there are some some snippets forked -# or copied from unspecified versions of numpy, under a BSD license similar to -# that of dask itself. +# or copied from unspecified versions of numpy, under a BSD-3-Clause license +# similar to that of dask itself. # # - dask/array/numpy_compat.py: # _Recurser, moveaxis, rollaxis, sliding_window_view @@ -113,9 +111,6 @@ Documentation for dask. # we don't use pre-commit when running tests sed -i '/"pre-commit"/d' setup.py -# https://github.com/dask/dask/pull/9774 -chmod -x dask/dataframe/io/orc/utils.py - %generate_buildrequires %pyproject_buildrequires -r -x test,array,bag,dataframe,delayed @@ -216,8 +211,11 @@ pytest_args=( -W ignore::DeprecationWarning -k "${k-}" + + --pyargs dask ) +cd docs %{pytest} "${pytest_args[@]}" %files -n python3-%{srcname} -f %{pyproject_files} diff --git a/sources b/sources index 076dfc2..e352df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dask-2022.12.1.tar.gz) = 4040c57159c2e0ed6829282633cd1991ea529bde061486a1e436cca45a641e45bcf7897d89727daa6b6c22acee79466b7d9fe1181eaf54e3384a6335b77d7c1e +SHA512 (dask-2023.1.0.tar.gz) = fdfd802a63dffa6814a113ffc3fe688265c85874918cb4ef998cfc5d2d98dd176fea274fb33909d7a5d053046cb7bb0cfd0aabed4f03702bf8d020fca736fa85