From 8e7fe3043e9273affbef039004e37ce416726ab2b5c08142675d896cee4aa4fe Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 12 Jul 2022 20:16:47 +0000 Subject: [PATCH] Accepting request 988726 from home:bnavigator:branches:devel:languages:python:numeric - Fix runtime requirement with tornado <6.2 - Move one more test to notparallel - Skip failing test on Python 3.10 i586 gh#dask/distributed#6718 OBS-URL: https://build.opensuse.org/request/show/988726 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=113 --- distributed-2022.6.1-gh.tar.gz | 3 -- distributed-2022.7.0-gh.tar.gz | 3 ++ python-distributed-rpmlintrc | 3 +- python-distributed.changes | 77 ++++++++++++++++++++++++++++++++++ python-distributed.spec | 15 +++---- 5 files changed, 90 insertions(+), 11 deletions(-) delete mode 100644 distributed-2022.6.1-gh.tar.gz create mode 100644 distributed-2022.7.0-gh.tar.gz diff --git a/distributed-2022.6.1-gh.tar.gz b/distributed-2022.6.1-gh.tar.gz deleted file mode 100644 index a96bde3..0000000 --- a/distributed-2022.6.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb597fa786c73f406a4f1f7be1d2df5c303bce7e2cfa4d5ce50c961e91803dff -size 1682181 diff --git a/distributed-2022.7.0-gh.tar.gz b/distributed-2022.7.0-gh.tar.gz new file mode 100644 index 0000000..0dc1ff6 --- /dev/null +++ b/distributed-2022.7.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a966b4414018064c718729cb94a755ebe26f88f3eb76568278e615d39196e04f +size 1692939 diff --git a/python-distributed-rpmlintrc b/python-distributed-rpmlintrc index fc1b2db..c0d7e1c 100644 --- a/python-distributed-rpmlintrc +++ b/python-distributed-rpmlintrc @@ -1 +1,2 @@ -addFilter("explicit-lib-dependency .*-tblib") +addFilter("explicit-lib-dependency python3.*-tblib") +addFilter("explicit-lib-dependency python3.*-urllib3") diff --git a/python-distributed.changes b/python-distributed.changes index c903f71..496f753 100644 --- a/python-distributed.changes +++ b/python-distributed.changes @@ -1,3 +1,80 @@ +------------------------------------------------------------------- +Tue Jul 12 18:25:16 UTC 2022 - Ben Greiner + +- Fix runtime requirement with tornado <6.2 +- Move one more test to notparallel +- Skip failing test on Python 3.10 i586 gh#dask/distributed#6718 + +------------------------------------------------------------------- +Mon Jul 11 02:50:03 UTC 2022 - Arun Persaud + +- update to version 2022.7.0: + * Enhancements + + Use a tempdir path by default instead of cwd for the worker + scratch dir (GH#6658) Florian Jetter + + Add WorkerState.all_running_tasks (GH#6690) Hendrik Makait + + Scheduler.reschedule() works only by accident (GH#6339) + crusaderky + + Remove spurious UnpauseEvent at worker start (GH#6652) + crusaderky + + Log if closing an executor is not possible in thread (GH#6644) + Florian Jetter + + Cloudpickle register by value (GH#6466) Ian Rose + + Adding replicas to a task in fetch now sends it to flight + immediately (GH#6594) crusaderky + * Bug Fixes + + Fix dump output of parameter-less events (GH#6695) crusaderky + + Set MALLOC_TRIM_THRESHOLD_ before interpreter start (GH#6681) + crusaderky + + Fix deadlocks around rescheduled and resumed states (GH#6673) + crusaderky + + has_arg returns True for keyword-only arguments (GH#6648) + Lawrence Mitchell + + Transitions caused by worker death use old ‘worker-connect’ + stimulus_id (GH#6657) crusaderky + + A key is forgotten while acquire-replicas is running (GH#6638) + crusaderky + * Maintenance + + Revisit WorkerState.long_running set (GH#6697) crusaderky + + WorkerState unit tests for resumed state (GH#6688) crusaderky + + Bump version of pandas-stubs (GH#6691) crusaderky + + Add dummy factory methods for ExecuteSuccessEvent and + ExecuteFailureEvent (GH#6687) Hendrik Makait + + Pin tornado<6.2 in nightly conda recipes (GH#6675) Peter Andreas + Entschev + + Refactor resource restriction handling in WorkerState (GH#6672) + Hendrik Makait + + test_signal and test_terminate occasionally return SIGKILL on + MacOS (GH#6671) crusaderky + + Use the loop fixture in even more tests (GH#6674) Thomas + Grainger + + Inconditionally import ssl (GH#6670) Thomas Grainger + + Use the loop fixture in more tests (GH#6642) Thomas Grainger + + Pin tornado to <6.2 (GH#6668) Florian Jetter + + Handle AsyncTaskGroupClosedError (GH#6664) Hendrik Makait + + Replace occurences of large delay slowinc with locks (GH#6656) + Florian Jetter + + Merge extend-ignore and ignore values for flake8 (GH#6660) + Hendrik Makait + + Remove server close background task grace period (GH#6633) + Thomas Grainger + + Do not use tempfile in utils_test (GH#6651) Florian Jetter + + close_worker cleanup (GH#6650) crusaderky + + Rewrite test_cancelled_resumed_after_flight_with_dependencies + using WorkerState (GH#6645) crusaderky + + Log the actual duration to create a directory (GH#6647) Florian + Jetter + + pandas type stubs (GH#6635) crusaderky + + Remove unused __started Event in Server (GH#6615) Florian Jetter + + Use safe temp directory in gen_cluster (GH#6628) Florian Jetter + + Print CI host info (GH#6629) crusaderky + + Deduplicate data_needed (GH#6587) crusaderky + + Remove EnsureCommunicatingAfterTransitions (GH#6462) crusaderky + + Pickle WorkerState (GH#6623) crusaderky + + Harden vs. TaskState collisions (GH#6593) crusaderky + + Do not interact with the event loop when the cluster is garbage + collected (GH#6627) Thomas Grainger + ------------------------------------------------------------------- Fri Jun 24 20:21:16 UTC 2022 - Ben Greiner diff --git a/python-distributed.spec b/python-distributed.spec index 8c98841..499a5fc 100644 --- a/python-distributed.spec +++ b/python-distributed.spec @@ -39,15 +39,13 @@ %if "%{flavor}" == "" %bcond_with test %endif - -# use this to run tests with xdist in parallel, unfortunately fails server side -%bcond_with paralleltests - %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 +# use this to run tests with xdist in parallel, unfortunately fails server side +%bcond_with paralleltests Name: python-distributed%{psuffix} # ===> Note: python-dask MUST be updated in sync with python-distributed! <=== -Version: 2022.6.1 +Version: 2022.7.0 Release: 0 Summary: Library for distributed computing with Python License: BSD-3-Clause @@ -74,11 +72,12 @@ Requires: python-psutil >= 5.0 Requires: python-sortedcontainers Requires: python-tblib Requires: python-toolz >= 0.8.2 -Requires: python-tornado >= 6.0.3 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 %if %{with test} BuildRequires: %{python_module bokeh} BuildRequires: %{python_module dask-all = %{version}} @@ -96,7 +95,6 @@ BuildRequires: %{python_module sparse} BuildRequires: %{python_module pytest-xdist} %endif %endif -BuildArch: noarch %python_subpackages %description @@ -166,6 +164,8 @@ if [[ $(getconf LONG_BIT) -eq 32 ]]; then donttest+=" or test_ensure_spilled_immediately" donttest+=" or test_value_raises_during_spilling" donttest+=" or test_fail_to_pickle_target_1" + # https://github.com/dask/distributed/issues/6718 + python310_donttest+=" or (test_profile and test_basic)" fi %if %{with paralleltests} @@ -183,6 +183,7 @@ notparallel+=" or test_close_properly" notparallel+=" or test_popen_timeout" notparallel+=" or test_plugin_internal_exception" notparallel+=" or test_runspec_regression_sync" +notparallel+=" or test_client_async_before_loop_starts" %pytest distributed/tests -m "not avoid_ci" -n auto -k "not ($notparallel or $donttest ${$python_donttest})" %pytest distributed/tests -m "not avoid_ci" -k "($notparallel) and not ($donttest ${$python_donttest})"