I've been dealing with this on my other python projects. The most
immediate fix is to call:

  multiprocessing.set_start_method('fork')

which reverts back the behaviour to python 3.13. This is totally
acceptable, and maybe also the best solution here.

The alternative would be to move all subprocesses to always target
global-scope functions and never local functions, and avoid passing
parameters that cannot be serialized (or implement custom
serializations?). Given the complexity, urgency (FTBFS), and impact
(tests only, afaics), I would not pursue this approach.

** Changed in: apport (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143758

Title:
  apport 2.33.1-0ubuntu4 FTBFS - PicklingIssue in Tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2143758/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to