Commit de47a89
fix error with Python 3.14 on Linux
Python 3.14 switches to multiprocessing start method `forkserver` on
Linux, which our code is broken with due to changes in Python 3.13 and
our bad habit of running code in the main module.
This causes our compile/test subprocesses to die, saying
`dronecan_dsdlc.py: error: the following arguments are required:
namespace_dir` and ultimately failing with `ConnectionResetError: [Errno
104] Connection reset by peer`.
Fix by switching back to the old default of `fork` if we are going to
use the broken `forkserver`. Our code needs to be fixed in the future to
not do so much in the main module as `fork` is not the recommened
method, though we probably do not fall afoul of its flaws.1 parent bd91247 commit de47a89
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
16 | 29 | | |
17 | 30 | | |
18 | 31 | | |
| |||
0 commit comments