On Wed, Feb 02, 2022 at 11:35:19AM +0000, Julian Gilbey wrote: > Package: python3-ipykernel > Version: 6.7.0-1 > Severity: serious > X-Debbugs-Cc: Julien Puydt <jpu...@debian.org>, Gordon Ball > <gor...@chronitis.net> > > ipykernel depends on the debugpy package, as stated in setup.py. > However, within Debian build, python3-debugpy is not listed in the > Build-Depends, so the resulting binary package does not Depend(s) on > it either. The ipykernel test suite passes because the debugger test > is skipped if debugpy is not installed, but Spyder behaves badly in > its absence.
Yes, sorry. This is a known, but admittedly not documented, limitation of the current package. As far as I could tell debugpy was effectively treated as an optional feature (all imports seem to be protected with try-catch, etc), despite being listed as install_requires. > Furthermore, there is no python3-debugpy package yet in Debian. I am > happy to do an ITP and upload this package to NEW if that would help. I looked briefly into packaging debugpy and I think it's probably doable but looks like a reasonable amount of work (embedded vendored stuff, cython). I don't have time to take that on at the moment, but I'd be very happy if you're willing to. Gordon