Source: nose2
Version: 0.15.1-1
Severity: important

Dear Maintainer,

The 0004-plugins-mp-set-context-to-fork-for-Python-3.14-mp-AP.patch patch
added in 0.15.1-2 is wrong and breaks certain use cases.

As discussed in the upstream PR, multiprocessing.set_start_method() is wrong
and breaks various use cases as it can only be called once per program (it
throws a RuntimeError if called more than once).

https://github.com/nose-devs/nose2/pull/644

As a minimum it should handle that exception and/or only call it if needed
(E.G.  get_start_method() not returning 'fork', but ideally it should not
affect global settings as explained in the PR discussion.

An example of a nose2 user broken by this:
https://gitlab.com/buildroot.org/buildroot/-/commit/3d2141bceefda32bef06ddda594eaf8665913276

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.63+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to