On 2024-07-04 16:23, Drew Parsons wrote:
On 2024-07-03 08:34, Diane Trout wrote:Upstream's release files for debugpy includes a vendored copy of pydevd. For the 1.8.2 release it looks like it includes pydevd 2.9.5.I tried building 1.8.2 with the embedded copy of pydevd removed and thetests immediately crashed without making much progress at all. I tried again keeping the embedded copy of pydevd and for Python 3.12 the test runner reported:= 87 failed, 1092 passed, 38 skipped, 18 warnings, 83 errors in 361.96s(0:06:01) =Could be that those crashes were caught in the middle of the python 3.12 transition.I was able to to get debugpy 1.8.2 building successfully, both in the de-vendored form using pydevd 3.1.0+ds-2, and in the upstream form using their vendored pydevd.The multiprocess tests had some crashes, but single process build tests (-n1) passed.
To be fair, I got a number of test failures building de-vendored debugpy 1.8.2 using pydevd 3.1.0 in chroot. One failure from python 3.11 (test_numpy.py::test_ndarray[program-launch]), many more from python 3.12 (20 failures, most from test_stop_on_entry.py::test_stop_on_entry). The tests seem a little flakey with some randomness in the failures.
In any case -n1 tests passed when upstream's vendored pydevd was used. Drew