Hi Stuart, On Tue, Nov 17, 2026 at 11:01:32AM +1100, Stuart Prescott wrote: > Hi Julian & Bastian > > > Does pydevd have a similar patch upstream? > > A PR for that was coincidentally opened this morning and Bastian already > uploaded pydevd to unstable with that PR applied (thanks!). > > It's not actually enough to fix debugpy though - still lots of failing tests > (that take an hour or two to completely fail). > > I think that update to pydevd might be incomplete in that it only updated > the .py files and didn't cythonise. Upstream's release instructions seem to > indicate that needs to be done and the results are checked in. > > Comparing the Python 3.15 PR for debugpy's embedded pydevd and the one for > pydevd that is in the 3.5.0+ds-4 Debian package, there are additional C and > pyx files being changed: > > https://github.com/fabioz/PyDev.Debugger/pull/330/changes > > https://github.com/microsoft/debugpy/pull/2069/changes > > - > src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c > - > src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx > > As a quick test of this, I just did a test build of debugpy disabling the > compiled modules in pydevd (export PYDEVD_USE_CYTHON=no) and the test suite > succeeded. > > I *think* this in indicates a problem that needs resolving in > python3-pydevd and then debugpy will be happy (with what is already in git). > > Does that make sense to either of you and do you know what needs to be done? > > regards > Stuart
I'm not quite sure I fully follow - the pydevd source package should rebuild the pyx and C files from the Cython sources and use those in the python3-pydevd package; these are then used to build the python3-debugpy package. Perhaps the rebuilding step has been removed from the pydevd package? I can try checking later. Best wishes, Julian

