Merge ~uralt/ubuntu/+source/zict:lp2134546 into ubuntu/+source/zict:debian/sid

Proposed by Ural Tunaboyu
Status: Needs review
Proposed branch: ~uralt/ubuntu/+source/zict:lp2134546
Merge into: ubuntu/+source/zict:debian/sid
Diff against target: 76 lines (+37/-1)
4 files modified
debian/changelog (+14/-0)
debian/control (+2/-1)
debian/patches/prevent_test_timeout_on_single_cpu.patch (+20/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
git-ubuntu import Pending
Review via email: mp+497383@code.launchpad.net
To post a comment you must log in.

Unmerged commits

d1dcacb... by Ural Tunaboyu

changelog

f772de8... by Ural Tunaboyu

update-maintainer

588f3ec... by Ural Tunaboyu

reconstruct-changelog

e077fc3... by Ural Tunaboyu

merge-changelogs

8520933... by Ural Tunaboyu

d/p/prevent_test_timeout_on_single_cpu: add patch

Prevent autopkgtest from hanging when running on a single CPU.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 59fabdd..d8ba5b4 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+zict (3.0.0-4ubuntu1) resolute; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #2134546). Remaining changes:
9+ - d/p/prevent_test_timeout_on_single_cpu: add patch to prevent test
10+ timeout on a single CPU (LP #2033759).
11+
12+ -- Ural Tunaboyu <ural.tunaboyu@canonical.com> Thu, 11 Dec 2025 09:32:26 -0800
13+
14 zict (3.0.0-4) unstable; urgency=medium
15
16 * Team upload.
17@@ -15,6 +23,12 @@ zict (3.0.0-3) unstable; urgency=medium
18
19 -- Alexandre Detiste <tchet@debian.org> Sat, 23 Aug 2025 19:00:16 +0200
20
21+zict (3.0.0-2ubuntu1) mantic; urgency=medium
22+
23+ * Prevent test timeout on a single CPU (LP: #2033759).
24+
25+ -- Vladimir Petko <vladimir.petko@canonical.com> Mon, 02 Oct 2023 11:54:38 +1300
26+
27 zict (3.0.0-2) unstable; urgency=medium
28
29 * Add update-pytest-markers.patch to list repeat marker
30diff --git a/debian/control b/debian/control
31index e3d26ef..0e370b9 100644
32--- a/debian/control
33+++ b/debian/control
34@@ -1,7 +1,8 @@
35 Source: zict
36 Section: python
37 Priority: optional
38-Maintainer: Debian Python Team <team+python@tracker.debian.org>
39+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
40+XSBC-Original-Maintainer: Debian Python Team <team+python@tracker.debian.org>
41 Uploaders:
42 Diane Trout <diane@ghic.org>,
43 Build-Depends:
44diff --git a/debian/patches/prevent_test_timeout_on_single_cpu.patch b/debian/patches/prevent_test_timeout_on_single_cpu.patch
45new file mode 100644
46index 0000000..11b57f8
47--- /dev/null
48+++ b/debian/patches/prevent_test_timeout_on_single_cpu.patch
49@@ -0,0 +1,20 @@
50+Description: Prevent test timeout on a single CPU
51+ When running on a single CPU (`taskset -c 0 pytest`), multitasking can
52+ misbehave and almost completely starve one of the two threads
53+Origin: upstream, https://github.com/dask/zict/pull/108/commits/17a36dc68964c0f91c2d0fc0e7b8c6dc686251ca
54+Bug: https://github.com/dask/zict/pull/108
55+Bug-Ubuntu: https://launchpad.net/bugs/2033759
56+Last-Update: 2023-10-02
57+--- a/zict/tests/utils_test.py
58++++ b/zict/tests/utils_test.py
59+@@ -169,7 +169,9 @@
60+
61+ def worker(idx, key, value):
62+ barrier.wait()
63+- while any(c < 10 for c in counters):
64++ # When running on a single CPU (`taskset -c 0 pytest`), multitasking can
65++ # misbehave and almost completely starve one of the two threads
66++ while any(c < 10 for c in counters) and all(c < 1000 for c in counters):
67+ z[key] = value
68+ try:
69+ assert z[key] == value
70diff --git a/debian/patches/series b/debian/patches/series
71index 8e42b0d..52b1c25 100644
72--- a/debian/patches/series
73+++ b/debian/patches/series
74@@ -1 +1,2 @@
75 update-pytest-markers.patch
76+prevent_test_timeout_on_single_cpu.patch

Subscribers

People subscribed via source and target branches