Commit e68a1b8
committed
fix(populate): pin parallel populate to the fork start method
The real cause of the py3.14 failure is Python 3.14 changing the multiprocessing
default start method from fork to forkserver. Parallel populate hands the live
table and its open DB connection to workers by process inheritance (fork); under
forkserver the payload is pickled instead, which cannot carry a live connection
and deadlocked the job (after first surfacing as 'cannot pickle itertools.count').
Pin both Pool call sites to a fork context (fork where available, platform
default otherwise). Reverts the earlier Dependencies __getstate__/__setstate__
pickle workaround, which addressed only the symptom. py3.10 (fork default)
already passed; this makes py3.14 use the same proven path.1 parent 605f833 commit e68a1b8
2 files changed
Lines changed: 17 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
33 | | - | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
476 | 485 | | |
477 | 486 | | |
478 | 487 | | |
479 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
480 | 491 | | |
481 | 492 | | |
482 | 493 | | |
| |||
572 | 583 | | |
573 | 584 | | |
574 | 585 | | |
575 | | - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
576 | 589 | | |
577 | 590 | | |
578 | 591 | | |
| |||
866 | 879 | | |
867 | 880 | | |
868 | 881 | | |
869 | | - | |
870 | | - | |
871 | | - | |
| 882 | + | |
872 | 883 | | |
873 | 884 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 143 | | |
157 | 144 | | |
158 | 145 | | |
| |||
0 commit comments