forked from pool/python-distributed
Accepting request 960175 from home:mcepl:branches:devel:languages:python:numeric
- Update to 2022.02.1:
Add the ability for Client to run preload code
Optionally use NumPy to allocate buffers
Add git hash to distributed-impl version
Immediately raise exception when trying to connect to a closed cluster
Lazily get dask version information
Remove the requirements to add comm to every handler
Raise on unclosed comms in check_instances
Constrained spill
Remove redundant str() conversions
Cluster dump now excludes run_spec by default
Dump more objects with dump_cluster_state
Do not connect to any sockets on import
Avoid deadlock when two tasks are concurrently waiting for an unresolved ActorFuture
Drop Python 3.7
Remove support for UCX < 1.11.1
Document and test spill->target hysteresis cycle
Fix flaky test_remove_replicas_while_computing
Fix time based test_assert_worker_story_malformed_story parameterize
Remove xfail from test_no_unnecessary_imports_on_worker
Start building pre-releases with cythonized scheduler
Do not mark tests xfail if they don't come up in time
Use gen_cluster where possible in test_dask_worker.py
Generate junit report when pytest-timeout kills pytest
Decrease timeout-minutes for GHA jobs
Bump pre-release version to be greater than stable releases
Do not run schedule jobs on forks
Remove pillow<9 pin in CI
Show scheduled test runs in report
Add obvious exclusions with pragma statement
OBS-URL: https://build.opensuse.org/request/show/960175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=106
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
%endif
|
||||
%if "%{flavor}" == "test-py310"
|
||||
# add to _multibuild when enabling python310 (see below)
|
||||
%define psuffix -test-py310"
|
||||
%define psuffix -test-py310
|
||||
%define skip_python38 1
|
||||
%define skip_python39 1
|
||||
%bcond_without test
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
# https://github.com/dask/distributed/issues/5350 -- NOT fixed by https://github.com/dask/distributed/pull/5353
|
||||
%define skip_python310 1
|
||||
# %%define skip_python310 1
|
||||
%bcond_with test
|
||||
%endif
|
||||
|
||||
@@ -55,19 +55,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define ghversiontag 2022.01.1
|
||||
Name: python-distributed%{psuffix}
|
||||
# Note: please always update together with python-dask
|
||||
Version: 2022.1.1
|
||||
Version: 2022.02.1
|
||||
Release: 0
|
||||
Summary: Library for distributed computing with Python
|
||||
License: BSD-3-Clause
|
||||
URL: https://distributed.readthedocs.io/en/latest/
|
||||
Source: https://github.com/dask/distributed/archive/refs/tags//%{ghversiontag}.tar.gz#/distributed-%{ghversiontag}-gh.tar.gz
|
||||
Source: https://github.com/dask/distributed/archive/refs/tags//%{version}.tar.gz#/distributed-%{version}-gh.tar.gz
|
||||
Source99: python-distributed-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM 5709-avoid-deadlock-ActorFuture.patch gh#dask/distributed#5709 mcepl@suse.com
|
||||
# avoid deadlock in ActorFuture
|
||||
Patch0: 5709-avoid-deadlock-ActorFuture.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -125,7 +121,7 @@ extends both the concurrent.futures and dask APIs to moderate sized
|
||||
clusters.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n distributed-%{ghversiontag}
|
||||
%autosetup -p1 -n distributed-%{version}
|
||||
|
||||
sed -i '/addopts/ {s/--durations=20//; s/--color=yes//}' setup.cfg
|
||||
|
||||
@@ -176,7 +172,8 @@ fi
|
||||
%python_alternative %{_bindir}/dask-scheduler
|
||||
%python_alternative %{_bindir}/dask-worker
|
||||
%{python_sitearch}/distributed
|
||||
%{python_sitearch}/distributed-%{version}*-info
|
||||
%{python_sitearch}/distributed-%(echo %{version}|sed -e 's/\.0/./')*-info
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user