Debian Patches

Status for dask.distributed/2024.12.1+ds-1

Patch Description Author Forwarded Bugs Origin Last update
install-tests.patch It is far easier to run the autopkgtests if the tests are installed. Diane Trout <diane@ghic.org> not-needed
docs-use-local-images.patch Patch image links to use local copies Diane Trout <diane@ghic.org> not-needed 2020-12-26
use-local-intersphinx-inventory.patch Use the inventory files from other documentation packages. Diane Trout <diane@ghic.org> not-needed 2017-10-12
use-youtube-nocookie.patch youtube-nocookie is a little more privacy friendly than regular youtube and is a minor change. Diane Trout <diane@ghic.org> not-needed 2020-12-26
use-local-favicon.patch Point to local favicon.ico file instead of referencing public url Diane Trout <diane@ghic.org> not-needed
fall-back-to-ipv6-localhost.patch On Debian Test runners the ipv6 loop back interface is available so dask.distributed thinks it has ipv6 access, but it
doesn't have a routable address so the lookup to the well known IPv6
address fails, and the hostname doesn't have an ipv6 address associated
with it so the fallback to gethostname() also fails.
This adds a further fallback to the name localhost.
Colin Watson <cjwatson@debian.org> not-needed
skip-bokeh-tests.patch this function ultimately depends on bokeh so needed a skip Diane Trout <diane@ghic.org> not-needed
skip-directory-test-when-root.patch Skip testing when run as root. Diane Trout <diane@ghic.org> yes
skip-pyarrow-tests.patch Some tests in this module need pyarrow, which isn't available in Debian. Diane Trout <diane@ghic.org> not-needed
adjust-timeouts.patch Try to reduce random test failures Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed debian
mark-tests-flaky.patch Mark randomly failing tests as flaky (I don't know why they're randomly failing) Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
skip-32bit-incompatible-test.patch avoid tests that do things unlikely to work on 32-bit platforms, such as request large amounts of virtual memory. Diane Trout <diane@ghic.org> not-needed
skip-coverage-test.patch remove --cov-config option from pytest it doesn't seem to work on Debian, and coverage isn't that important for our tests anyway. Diane Trout <diane@ghic.org> not-needed
fix-sphinx-config.patch Fix sphinx configuration Julian Gilbey <jdg@debian.org> yes 2023-12-31
skip-memray.patch The memray module is not yet available in Debian. ITP bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009970 Julian Gilbey <jdg@debian.org> not-needed
fix-privacy-breaches.patch fix a privacy breach by using Debian provided CSS file. Étienne Mollier <emollier@debian.org> not-needed 2024-06-16
32-bits.patch account for result discrepancy in test result on 32-bit. Étienne Mollier <emollier@debian.org> not-needed 2024-07-02
fix-version.patch fix version detection using upstream published version.py _version.py in the git source code is an unprocessed _version.py file
that returns 0+unknown instead of dask.distributed version number.
This patch replaces _version.py from the git repository by _version.py
from pypi.org's published source[1].
.
[1]: https://pypi.org/project/distributed/
.
WARNING: this patch needs to match each new upstream version!
Étienne Mollier <emollier@debian.org> not-needed debian 2025-01-05
disable-dask-theme.patch Disable dask theme Santiago Vila <sanvila@debian.org> no 2024-11-12
single-cpu.patch Disable test which is known not to work on single-CPU systems Santiago Vila <sanvila@debian.org> no debian 2024-11-12
dask-matching-interpreter.patch Run dask with a matching interpreter
When Debian is in the process of migrating from one Python version to
another, there's a transitional period when we run tests on each of two
Python versions, although `/usr/bin/python3` can only point to one at a
time. `distributed` runs `dask` from the executable search path, and
when it's installed as a system package rather than in a virtual
environment, it's possible during this transitional period for
`distributed` to be running under (e.g.) Python 3.13 while
`/usr/bin/dask` has a `#!` line that causes it to be run under (e.g.)
Python 3.12. This results in the following obscure failure mode in some
tests in `distributed/deploy/tests/test_subprocess.py`:

______________________________ test_basic ______________________________

@pytest.mark.skipif(WINDOWS, reason="distributed#7434")
@gen_test()
async def test_basic():
async with SubprocessCluster(
asynchronous=True,
dashboard_address=":0",
scheduler_kwargs={"idle_timeout": "5s"},
worker_kwargs={"death_timeout": "5s"},
) as cluster:
async with Client(cluster, asynchronous=True) as client:
> result = await client.submit(lambda x: x + 1, 10)

distributed/deploy/tests/test_subprocess.py:27:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Future: cancelled, key: lambda-e426db6b5bc630ab037e145b5e8f631c>, raiseit = True

async def _result(self, raiseit=True):
await self._state.wait()
if self.status == "error":
exc = clean_exception(self._state.exception, self._state.traceback)
if raiseit:
typ, exc, tb = exc
> raise exc.with_traceback(tb)
E SystemError: no locals found when setting up annotations

distributed/client.py:410: SystemError

Explicitly running `dask` using `sys.executable` fixes this. It's only
_strictly_ necessary to change the invocations of `dask` in
`distributed.deploy.subprocess`, but it seemed better to apply the same
change to the whole codebase for consistency.
Colin Watson <cjwatson@debian.org> yes 2025-01-06

All known versions for source package 'dask.distributed'

Links