forked from pool/python-distributed
Accepting request 910741 from home:bnavigator:branches:devel:languages:python:numeric
- Update to version 2021.7.2 * Fix a deadlock connected to task stealing and task deserialization * Include maximum shard size in second to_frames method * Minor dashboard style updates * Cap maximum shard size at the size of an integer * Document automatic MALLOC_TRIM_THRESHOLD_ environment variable * Mark ucx-py tests for GPU * Update individual profile plot sizing * Handle NVMLError_Unknown in NVML diagnostics * Unit tests to use a random port for the dashboard * Ensure worker reconnect registers existing tasks properly * Halve CI runtime! * Add NannyPlugins * Add WorkerNetworkBandwidth chart to dashboard * Set nanny environment variables in config * Read smaller frames to workaround OpenSSL bug * Move UCX/RMM config variables to Distributed namespace * Allow ws(s) messages greater than 10Mb * Short-circuit root-ish check for many deps -Release 2021.07.1 * Remove experimental feature warning from actors docs * Keep dependents in worker dependency if TS is still known * Add Scheduler.set_restrictions * Make Actor futures awaitable and work with as_completed * Simplify test_secede_balances * Computation class * Some light dashboard cleanup * Don't package tests * Add pytest marker for GPU tests * Actor: don't hold key references on workers * Collapse nav to hamburger sooner * Verify that actors survive pickling * Reenable UCX-Py tests that used to segfault * Better support ProcessPoolExecutors * Simplify test_worker_heartbeat_after_cancel * Avoid property validation in Bokeh * Reduce default websocket frame size and make configurable * Disable pytest-timeout SIGALARM on MacOS * rebalance() resilience to computations * Improve CI stability * Ensure heartbeats after cancelation do not raise KeyError s * Add more useful exception message on TLS cert mismatch * Add bokeh mode parameter to performance reports - Use the GitHub tarball because the PyPI sdist does to provide the tests anymore * Remove extra conftest.py source - Drop distributed-pr5022-improve_ci.patch merged upstream OBS-URL: https://build.opensuse.org/request/show/910741 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=99
This commit is contained in:
37
conftest.py
37
conftest.py
@@ -1,37 +0,0 @@
|
|||||||
# https://pytest.org/latest/example/simple.html#control-skipping-of-tests-according-to-command-line-option
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
# Uncomment to enable more logging and checks
|
|
||||||
# (https://docs.python.org/3/library/asyncio-dev.html)
|
|
||||||
# Note this makes things slower and might consume much memory.
|
|
||||||
# os.environ["PYTHONASYNCIODEBUG"] = "1"
|
|
||||||
|
|
||||||
try:
|
|
||||||
import faulthandler
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
try:
|
|
||||||
faulthandler.enable()
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# Make all fixtures available
|
|
||||||
from distributed.utils_test import * # noqa
|
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser):
|
|
||||||
parser.addoption("--runslow", action="store_true", help="run slow tests")
|
|
||||||
|
|
||||||
|
|
||||||
def pytest_collection_modifyitems(config, items):
|
|
||||||
if config.getoption("--runslow"):
|
|
||||||
# --runslow given in cli: do not skip slow tests
|
|
||||||
return
|
|
||||||
skip_slow = pytest.mark.skip(reason="need --runslow option to run")
|
|
||||||
for item in items:
|
|
||||||
if "slow" in item.keywords:
|
|
||||||
item.add_marker(skip_slow)
|
|
||||||
|
|
||||||
|
|
||||||
pytest_plugins = ["distributed.pytest_resourceleaks"]
|
|
3
distributed-2021.07.2-gh.tar.gz
Normal file
3
distributed-2021.07.2-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2b985191330b4dfb5cb2ed431ac66cfee184ac2032f35a26fae0e8f4036c23de
|
||||||
|
size 1460430
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6257f399ea564bfdcd80dcc9df6cdaf703dbadb94b7c068d103f8366dc7f8d1f
|
|
||||||
size 1065464
|
|
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,55 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 8 14:36:34 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to version 2021.7.2
|
||||||
|
* Fix a deadlock connected to task stealing and task
|
||||||
|
deserialization
|
||||||
|
* Include maximum shard size in second to_frames method
|
||||||
|
* Minor dashboard style updates
|
||||||
|
* Cap maximum shard size at the size of an integer
|
||||||
|
* Document automatic MALLOC_TRIM_THRESHOLD_ environment variable
|
||||||
|
* Mark ucx-py tests for GPU
|
||||||
|
* Update individual profile plot sizing
|
||||||
|
* Handle NVMLError_Unknown in NVML diagnostics
|
||||||
|
* Unit tests to use a random port for the dashboard
|
||||||
|
* Ensure worker reconnect registers existing tasks properly
|
||||||
|
* Halve CI runtime!
|
||||||
|
* Add NannyPlugins
|
||||||
|
* Add WorkerNetworkBandwidth chart to dashboard
|
||||||
|
* Set nanny environment variables in config
|
||||||
|
* Read smaller frames to workaround OpenSSL bug
|
||||||
|
* Move UCX/RMM config variables to Distributed namespace
|
||||||
|
* Allow ws(s) messages greater than 10Mb
|
||||||
|
* Short-circuit root-ish check for many deps
|
||||||
|
-Release 2021.07.1
|
||||||
|
* Remove experimental feature warning from actors docs
|
||||||
|
* Keep dependents in worker dependency if TS is still known
|
||||||
|
* Add Scheduler.set_restrictions
|
||||||
|
* Make Actor futures awaitable and work with as_completed
|
||||||
|
* Simplify test_secede_balances
|
||||||
|
* Computation class
|
||||||
|
* Some light dashboard cleanup
|
||||||
|
* Don't package tests
|
||||||
|
* Add pytest marker for GPU tests
|
||||||
|
* Actor: don't hold key references on workers
|
||||||
|
* Collapse nav to hamburger sooner
|
||||||
|
* Verify that actors survive pickling
|
||||||
|
* Reenable UCX-Py tests that used to segfault
|
||||||
|
* Better support ProcessPoolExecutors
|
||||||
|
* Simplify test_worker_heartbeat_after_cancel
|
||||||
|
* Avoid property validation in Bokeh
|
||||||
|
* Reduce default websocket frame size and make configurable
|
||||||
|
* Disable pytest-timeout SIGALARM on MacOS
|
||||||
|
* rebalance() resilience to computations
|
||||||
|
* Improve CI stability
|
||||||
|
* Ensure heartbeats after cancelation do not raise KeyError s
|
||||||
|
* Add more useful exception message on TLS cert mismatch
|
||||||
|
* Add bokeh mode parameter to performance reports
|
||||||
|
- Use the GitHub tarball because the PyPI sdist does to provide the
|
||||||
|
tests anymore
|
||||||
|
* Remove extra conftest.py source
|
||||||
|
- Drop distributed-pr5022-improve_ci.patch merged upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 16 09:31:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Fri Jul 16 09:31:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@@ -36,20 +36,16 @@
|
|||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define skip_python36 1
|
%define skip_python36 1
|
||||||
%define ghversiontag 2021.07.0
|
%define ghversiontag 2021.07.2
|
||||||
Name: python-distributed%{psuffix}
|
Name: python-distributed%{psuffix}
|
||||||
# Note: please always update together with python-dask
|
# Note: please always update together with python-dask
|
||||||
Version: 2021.7.0
|
Version: 2021.7.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for distributed computing with Python
|
Summary: Library for distributed computing with Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://distributed.readthedocs.io/en/latest/
|
URL: https://distributed.readthedocs.io/en/latest/
|
||||||
Source: https://files.pythonhosted.org/packages/source/d/distributed/distributed-%{version}.tar.gz
|
Source: https://github.com/dask/distributed/archive/refs/tags//%{ghversiontag}.tar.gz#/distributed-%{ghversiontag}-gh.tar.gz
|
||||||
# Missing in the PyPI package but needed for pytest fixtures. Note: One of the next releases will miss all of the tests. (gh#dask/distributed#5054)
|
|
||||||
Source1: https://github.com/dask/distributed/raw/%{ghversiontag}/conftest.py
|
|
||||||
Source99: python-distributed-rpmlintrc
|
Source99: python-distributed-rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM distributed-pr5022-improve_ci.patch -- gh#dask/distributed#5022
|
|
||||||
Patch0: distributed-pr5022-improve_ci.patch
|
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -104,8 +100,7 @@ extends both the concurrent.futures and dask APIs to moderate sized
|
|||||||
clusters.
|
clusters.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n distributed-%{version}
|
%autosetup -p1 -n distributed-%{ghversiontag}
|
||||||
cp %SOURCE1 .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
@@ -118,10 +113,7 @@ cp %SOURCE1 .
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/dask-ssh
|
%python_clone -a %{buildroot}%{_bindir}/dask-ssh
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dask-scheduler
|
%python_clone -a %{buildroot}%{_bindir}/dask-scheduler
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dask-worker
|
%python_clone -a %{buildroot}%{_bindir}/dask-worker
|
||||||
%{python_expand #
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
chmod -x %{buildroot}%{$python_sitearch}/distributed/tests/test_utils_test.py
|
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
|
||||||
}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
Reference in New Issue
Block a user