[med-svn] [Git][med-team/nanosv][master] 6 commits: Explicitly use fork multiprocessing context to fix autopkgtest in loong64 arch

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Nov 5 14:45:39 GMT 2026



Andreas Tille pushed to branch master at Debian Med / nanosv


Commits:
dad2e440 by Andreas Tille at 2026-11-05T15:33:08+01:00
Explicitly use fork multiprocessing context to fix autopkgtest in loong64 arch

- - - - -
90c76528 by Andreas Tille at 2026-11-05T15:35:07+01:00
d/watch: version=5

- - - - -
11fabbc0 by Andreas Tille at 2026-11-05T15:38:44+01:00
Remove redundant Priority: optional from source stanza.

Changes-By: lintian-brush
Fixes: lintian: source: redundant-priority-optional-field
See-also: https://lintian.debian.org/tags/redundant-priority-optional-field.html

- - - - -
3242fd86 by Andreas Tille at 2026-11-05T15:38:44+01:00
Update standards version to 4.7.4, no changes needed.

Upgrade checklist verified:
 4.7.0 → 4.7.1:
  * Package does not install to non-/usr paths
 4.7.3 → 4.7.4:
  * Package is not in non-free-firmware

Changes-By: lintian-brush
Fixes: lintian: source: out-of-date-standards-version 4.7.0 (released 2024-04-07) (current is 4.7.4.1)
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html

- - - - -
f1c88384 by Andreas Tille at 2026-11-05T15:39:34+01:00
cme fix dpkg-control

- - - - -
ef831f1b by Andreas Tille at 2026-11-05T15:45:32+01:00
Name architectures for autopkgtest explicitly

- - - - -


6 changed files:

- debian/changelog
- debian/control
- + debian/patches/fix-multiprocessing-python314.patch
- debian/patches/series
- debian/tests/control
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+nanosv (1.2.4+git20190409.c1ae30c-8) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Explicitly use fork multiprocessing context to fix autopkgtest in
+    loong64 arch
+  * d/watch: version=5
+  * Remove redundant Priority: optional from source stanza.
+  * Update standards version to 4.7.4, no changes needed.
+  * cme fix dpkg-control
+  * Name architectures for autopkgtest explicitly
+
+ -- Andreas Tille <tille at debian.org>  Thu, 05 Nov 2026 15:31:48 +0100
+
 nanosv (1.2.4+git20190409.c1ae30c-7) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -1,15 +1,16 @@
 Source: nanosv
+Standards-Version: 4.7.4
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Steffen Moeller <moeller at debian.org>
+Uploaders:
+ Steffen Moeller <moeller at debian.org>,
 Section: science
-Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               dh-sequence-python3,
-               help2man,
-               python3-all,
-               python3-setuptools,
-               python3-vcf
-Standards-Version: 4.7.0
+Build-Depends:
+ debhelper-compat (= 14),
+ dh-sequence-python3,
+ help2man,
+ python3-all,
+ python3-setuptools,
+ python3-vcf,
 Vcs-Browser: https://salsa.debian.org/med-team/nanosv
 Vcs-Git: https://salsa.debian.org/med-team/nanosv.git
 Homepage: https://github.com/mroosmalen/nanosv
@@ -17,8 +18,13 @@ Rules-Requires-Root: no
 
 Package: nanosv
 Architecture: all
-Recommends: sambamba
-Depends: python3-pysam, python3-vcf, ${misc:Depends}, ${python3:Depends}
+Depends:
+ python3-pysam,
+ python3-vcf,
+ ${misc:Depends},
+ ${python3:Depends},
+Recommends:
+ sambamba,
 Description: structural variant caller for nanopore data
  NanoSV is a software package that can be used to identify structural
  genomic variations in long-read sequencing data, such as data produced


=====================================
debian/patches/fix-multiprocessing-python314.patch
=====================================
@@ -0,0 +1,32 @@
+Description: Explicitly use fork multiprocessing context
+ Python 3.14 changed the default multiprocessing start method on POSIX
+ systems to forkserver. NanoSV relies on global variables initialized
+ in the parent process being inherited by its worker processes.
+ .
+ Explicitly use fork to preserve the previous behaviour.
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2026-11-05
+Assisted-By: ChatGPT
+---
+ nanosv/utils/parse_bam.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/nanosv/utils/parse_bam.py
++++ b/nanosv/utils/parse_bam.py
+@@ -46,12 +46,13 @@ def parse_bam():
+     for contig_dict in header['SQ']:
+         contig_list.append(contig_dict['SN'])
+ 
+-    q = mp.Queue()
+-    q_out = mp.Queue()
++    ctx = mp.get_context('fork')
++    q = ctx.Queue()
++    q_out = ctx.Queue()
+     for contig in contig_list:
+         q.put(contig)
+ 
+-    processes = [mp.Process(target=parse_chr_bam, args=(q, q_out, NanoSV.opts_bam)) for x in range(NanoSV.opts_threads)]
++    processes = [ctx.Process(target=parse_chr_bam, args=(q, q_out, NanoSV.opts_bam)) for x in range(NanoSV.opts_threads)]
+ 
+     for p in processes:
+         p.start()


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ fix_setup.patch
 python3_has_buildin_configparser.patch
 use-raw-strings.patch
 fix-invalid-dash-seperation.patch
+fix-multiprocessing-python314.patch


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,4 @@
 Tests: run-unit-test
 Depends: bedtools, sambamba, samtools, @
-Restrictions: allow-stderr, skip-not-installable
+Restrictions: allow-stderr
+Architecture: amd64 arm64 riscv64 loong64


=====================================
debian/watch
=====================================
@@ -1,7 +1,9 @@
-version=4
+Version: 5
 
-opts="mode=git,pretty=1.2.4+git%cd.%h" \
-    https://github.com/mroosmalen/nanosv.git HEAD
+Source: https://github.com/mroosmalen/nanosv
+Matching-Pattern: HEAD
+Mode: git
+Git-Pretty: 1.2.4+git%cd.%h
 
 # Issue asking for release tags:
 # https://github.com/mroosmalen/nanosv/issues/66



View it on GitLab: https://salsa.debian.org/med-team/nanosv/-/compare/9a794f3a19f82ae980d460421768d25b5c7e28d4...ef831f1bdf548f11ecc23d0ceca2dd3d783d665f

-- 
View it on GitLab: https://salsa.debian.org/med-team/nanosv/-/compare/9a794f3a19f82ae980d460421768d25b5c7e28d4...ef831f1bdf548f11ecc23d0ceca2dd3d783d665f
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261105/a6c907ed/attachment-0001.htm>


More information about the debian-med-commit mailing list