Opened 7 months ago

Closed 7 months ago

Last modified 9 days ago

#36531 closed New feature (fixed)

Add "forkserver" support to parallel test runner.

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Python 3.14 on POSIX has changed the default start method for the multiprocessing module from fork to forkserver.

Change History (7)

comment:1 by Mariusz Felisiak, 7 months ago

Has patch: set

comment:2 by Simon Charette, 7 months ago

Triage Stage: UnreviewedAccepted

comment:3 by Natalia Bidart, 7 months ago

Triage Stage: AcceptedReady for checkin

comment:4 by nessita <124304+nessita@…>, 7 months ago

Resolution: fixed
Status: assignedclosed

In d5597933:

Fixed #36531 -- Added forkserver support to parallel test runner.

comment:5 by Glenn Matthews, 9 days ago

Hi, is there any possibility of back-porting this to Django 5.2? I was looking to move our project to Python 3.14 and was surprised to discover that --parallel tests were no longer running in parallel when I made that change.

comment:6 by Jacob Walls, 9 days ago

No, it's a new feature in 6.0, and there are some edge cases we're still investigating in #36770, so it's not stable enough to backport to an LTS anyway, IMO. You can change your multiprocessing mode if you really need it.

comment:7 by Glenn Matthews, 9 days ago

Thanks for the context!

Note: See TracTickets for help on using tickets.
Back to Top