Accepting request 1000573 from devel:languages:python:numeric

- Update to 2022.8.1:
  * Display unexpected state in Worker.execute validation (:pr:`6856`)
    James Bourbeau
  * cancelled / resumed -> rescheduled transition (:pr:`6913`) crusaderky
  * Fix resource deallocation for resumed tasks (:pr:`6914`) crusaderky
  * Only close scheduler in SpecCluster if it exists (:pr:`6888`)
    Matthew Rocklin
  * Always close BatchedSend write coroutines (:pr:`6865`) Gabe Joseph
  * Harden preamble of Worker.execute against race conditions (:pr:`6878`)
    crusaderky
  * Duplicated code: in_flight_tasks validation (:pr:`6917`) crusaderky
  * Overhaul transitions for the resumed state (:pr:`6699`) crusaderky
  * Clean up cluster process reaping (:pr:`6840`) Gabe Joseph
  * Don't use bokeh Figure in tests (:pr:`6721`) Bryan Van de Ven
  * Work around incompatibility of crick with setuptools 65 (:pr:`6887`)
    crusaderky
  * Replace port = random.randint( with port = d.utils.open_port (:pr:`6883`)
    Thomas Grainger
  * Fix flaky test_wall_clock (:pr:`6879`) crusaderky
  * Add descriptive error message to assert (:pr:`6871`) Hendrik Makait
  * Increase timeout in test_quiet_process (:pr:`6857`) Florian Jetter
  * Remove redundant use of with clean(): (:pr:`6852`) Thomas Grainger
  * Update pre-commit dependencies (:pr:`6851`) Hendrik Makait
  * Call exit callback even if AsyncProcess is reaped elsewhere (:pr:`6684`)
    Thomas Grainger
  * Avoid function calls in argument defaults (:pr:`6812`) Hendrik Makait
  * Add Cluster.get_client() method (:pr:`6745`) Julia Signell
  * Start bokeh app to activate bokeh's clean session callbacks (:pr:`6728`)
    Martí Zamora
  * Don't connect to cluster subprocesses at shutdown (:pr:`6829`) Gabe Joseph

OBS-URL: https://build.opensuse.org/request/show/1000573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distributed?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2022-09-01 20:10:48 +00:00 committed by Git OBS Bridge
commit 8e0c2e032c
7 changed files with 106 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a966b4414018064c718729cb94a755ebe26f88f3eb76568278e615d39196e04f
size 1692939

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5815f1faca9cd79b4b3e0c1198fa6d09c2747f2cae67bee7e24ba19f8d351ddf
size 1712217

View File

@ -1,11 +1,11 @@
Index: distributed-2022.6.1/setup.cfg
Index: distributed-2022.8.1/setup.cfg
===================================================================
--- distributed-2022.6.1.orig/setup.cfg
+++ distributed-2022.6.1/setup.cfg
@@ -60,7 +60,7 @@ filterwarnings =
ignore:unclosed file <_io.TextIOWrapper.*:ResourceWarning
--- distributed-2022.8.1.orig/setup.cfg
+++ distributed-2022.8.1/setup.cfg
@@ -66,7 +66,7 @@ filterwarnings =
ignore:unclosed transport <_SelectorSocketTransport.*:ResourceWarning
ignore:unclosed transport <asyncio\.sslproto\..*:ResourceWarning
ignore:unclosed cluster SSHCluster.*:ResourceWarning
- ignore:Couldn't detect a suitable IP address for reaching '2001.4860.4860..8888', defaulting to hostname. \[Errno 65\] No route to host:RuntimeWarning
+ ignore:Couldn't detect a suitable IP address.*:RuntimeWarning
ignore:Dashboard and Scheduler are using the same server on port.*:RuntimeWarning

View File

@ -1,8 +1,8 @@
Index: distributed-2022.03.0/distributed/utils_test.py
Index: distributed-2022.8.1/distributed/utils_test.py
===================================================================
--- distributed-2022.03.0.orig/distributed/utils_test.py
+++ distributed-2022.03.0/distributed/utils_test.py
@@ -1612,7 +1612,7 @@ def check_thread_leak():
--- distributed-2022.8.1.orig/distributed/utils_test.py
+++ distributed-2022.8.1/distributed/utils_test.py
@@ -1588,7 +1588,7 @@ def check_thread_leak():
yield
start = time()

View File

@ -1,3 +1,78 @@
-------------------------------------------------------------------
Thu Sep 1 06:53:01 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2022.8.1:
* Display unexpected state in Worker.execute validation (:pr:`6856`)
James Bourbeau
* cancelled / resumed -> rescheduled transition (:pr:`6913`) crusaderky
* Fix resource deallocation for resumed tasks (:pr:`6914`) crusaderky
* Only close scheduler in SpecCluster if it exists (:pr:`6888`)
Matthew Rocklin
* Always close BatchedSend write coroutines (:pr:`6865`) Gabe Joseph
* Harden preamble of Worker.execute against race conditions (:pr:`6878`)
crusaderky
* Duplicated code: in_flight_tasks validation (:pr:`6917`) crusaderky
* Overhaul transitions for the resumed state (:pr:`6699`) crusaderky
* Clean up cluster process reaping (:pr:`6840`) Gabe Joseph
* Don't use bokeh Figure in tests (:pr:`6721`) Bryan Van de Ven
* Work around incompatibility of crick with setuptools 65 (:pr:`6887`)
crusaderky
* Replace port = random.randint( with port = d.utils.open_port (:pr:`6883`)
Thomas Grainger
* Fix flaky test_wall_clock (:pr:`6879`) crusaderky
* Add descriptive error message to assert (:pr:`6871`) Hendrik Makait
* Increase timeout in test_quiet_process (:pr:`6857`) Florian Jetter
* Remove redundant use of with clean(): (:pr:`6852`) Thomas Grainger
* Update pre-commit dependencies (:pr:`6851`) Hendrik Makait
* Call exit callback even if AsyncProcess is reaped elsewhere (:pr:`6684`)
Thomas Grainger
* Avoid function calls in argument defaults (:pr:`6812`) Hendrik Makait
* Add Cluster.get_client() method (:pr:`6745`) Julia Signell
* Start bokeh app to activate bokeh's clean session callbacks (:pr:`6728`)
Martí Zamora
* Don't connect to cluster subprocesses at shutdown (:pr:`6829`) Gabe Joseph
* Fix restart wait for workers edge case (:pr:`6823`) Gabe Joseph
* Fix spilled size calculation in Slow (:pr:`6789`) Hendrik Makait
* Deprecate passing stopped loops to LoopRunner (and therefore
Client/Cluster) (:pr:`6680`) Thomas Grainger
* Only set 5s connect timeout in gen_cluster tests (:pr:`6822`) Gabe Joseph
* Fix flaky test_worker_who_has_clears_after_failed_connection (:pr:`6832`)
Gabe Joseph
* Assert otherwise pointless comparisons (B015) (:pr:`6811`) Hendrik Makait
* Fix Jupyter security note (:pr:`6818`) Jacob Tomlinson
* Improve check_thread_leak output (:pr:`6797`) Gabe Joseph
* Use contextmanager to ensure clients are closed and do not leak
(:pr:`6817`) Hendrik Makait
* Robust thread termination in test_watch and
test_watch_requires_lock_to_run (:pr:`6788`) Hendrik Makait
* Avoid unused loop control variable or name them _ (:pr:`6813`)
Hendrik Makait
* Avoid mutable argument defaults in tests (:pr:`6810`) Hendrik Makait
* Avoid mutable argument defaults outside of tests (:pr:`6665`)
Hendrik Makait
* Wait for workers to return in Client.restart (:pr:`6714`) Gabe Joseph
* Remove global mutable Cluster._cluster_info (:pr:`6487`) Thomas Grainger
* Fix: nvml no early init (:pr:`6678`) Lawrence Mitchell
* Fix bug when restarting client (:pr:`6654`) Iain Dorrington
* Failure to spill breaks available resources (:pr:`6703`) crusaderky
* Fix resource allocation for tasks with dependencies (:pr:`6676`)
Hendrik Makait
* Remove test_restart_fast_sync, test_fast_kill (:pr:`6750`) Gabe Joseph
* Fix flaky test_async_task_group_call_later_executes_delayed_task_in_background
(:pr:`6744`) Hendrik Makait
* Store ready and constrained tasks in heapsets (:pr:`6711`) crusaderky
* Future-proof Bokeh value import (:pr:`6707`) Bryan Van de Ven
* Validate constrained tasks (:pr:`6698`) crusaderky
* Minor quality-of-life tweaks to cancelled state (:pr:`6701`) crusaderky
* Pickle worker state machine exceptions (:pr:`6702`) crusaderky
* Partial matches for worker state machine instructions (:pr:`6704`)
crusaderky
* Automatically mark all WorkerState tests (:pr:`6706`) crusaderky
- Add patch support-tornado-6-2.patch:
* Ignore two new deprecation warnings from Tornado 6.2.
- Stop pining tornado to <6.2
- Refreshed patches.
-------------------------------------------------------------------
Tue Jul 12 18:25:16 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -45,7 +45,7 @@
%bcond_with paralleltests
Name: python-distributed%{psuffix}
# ===> Note: python-dask MUST be updated in sync with python-distributed! <===
Version: 2022.7.0
Version: 2022.8.1
Release: 0
Summary: Library for distributed computing with Python
License: BSD-3-Clause
@ -56,6 +56,8 @@ Source99: python-distributed-rpmlintrc
Patch1: distributed-ignore-offline.patch
# PATCH-FIX-OPENSUSE distributed-ignore-thread-leaks.patch -- ignore leaking threads on obs, code@bnavigator.de
Patch2: distributed-ignore-thread-leaks.patch
# PATCh-FIX-OPENSUSE Ignore two deprecations introduced by Tornado 6.2
Patch3: support-tornado-6-2.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -72,9 +74,9 @@ Requires: python-psutil >= 5.0
Requires: python-sortedcontainers
Requires: python-tblib
Requires: python-toolz >= 0.8.2
Requires: python-tornado >= 6.2
Requires: python-urllib3
Requires: python-zict >= 0.1.3
Requires: (python-tornado >= 6.0.3 with python-tornado < 6.2)
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
@ -138,7 +140,7 @@ donttest="test_git_revision"
# logger error
donttest+=" or test_version_warning_in_cluster"
# invalid task state
donttest+=" or test_fail_to_pickle_target_2"
donttest+=" or test_fail_to_pickle_execute_2"
# Some tests randomly fail server-side -- too slow for obs (?)
# see also https://github.com/dask/distributed/issues/5818
@ -163,7 +165,7 @@ if [[ $(getconf LONG_BIT) -eq 32 ]]; then
# OverflowError -- https://github.com/dask/distributed/issues/5252
donttest+=" or test_ensure_spilled_immediately"
donttest+=" or test_value_raises_during_spilling"
donttest+=" or test_fail_to_pickle_target_1"
donttest+=" or test_fail_to_pickle_execute_1"
# https://github.com/dask/distributed/issues/6718
python310_donttest+=" or (test_profile and test_basic)"
fi

13
support-tornado-6-2.patch Normal file
View File

@ -0,0 +1,13 @@
Index: distributed-2022.8.1/setup.cfg
===================================================================
--- distributed-2022.8.1.orig/setup.cfg
+++ distributed-2022.8.1/setup.cfg
@@ -58,6 +58,8 @@ filterwarnings =
error
ignore:Please use `dok_matrix` from the `scipy\.sparse` namespace, the `scipy\.sparse\.dok` namespace is deprecated.:DeprecationWarning
ignore:elementwise comparison failed. this will raise an error in the future:DeprecationWarning
+ ignore:clear_current is deprecated:DeprecationWarning
+ ignore:make_current is deprecated; start the event loop first:DeprecationWarning
ignore:unclosed <socket\.socket.*:ResourceWarning
ignore:unclosed context <zmq\.asyncio\.Context\(\).*:ResourceWarning
ignore:unclosed event loop <_(Unix|Windows)SelectorEventLoop.*:ResourceWarning