Package: jupyter-client Version: 8.6.2-2 Priority: normal Dear Maintainer,
jupyter-client's dep8 tests invoke /sbin/ifconfig. This binary comes from the bin:net-tools package, which in ubuntu is priority optional, and in debian is priority important. In ubuntu, the dep8 test fails[1] because net-tools is not installed by default: 420s executable_list = (b'/usr/local/sbin/ifconfig', 420s b'/usr/local/bin/ifconfig', 420s b'/usr/sbin/ifconfig', 420s b'/usr/bin/ifconfig', 420s b'/sbin/ifconfig', 420s b'/bin/ifconfig', 420s b'/usr/games/ifconfig', 420s b'/usr/local/games/ifconfig', 420s b'/snap/bin/ifconfig') 420s fds_to_keep = {19} 420s gid = None 420s gids = None 420s hex_errno = bytearray(b'2') 420s low_fds_to_close = [] 420s orig_executable = 'ifconfig' 420s p2cread = -1 420s p2cwrite = -1 420s part = b'' 420s pass_fds = () 420s pid = 5830 420s preexec_fn = None 420s process_group = -1 420s restore_signals = True 420s self = <Popen: returncode: 255 args: 'ifconfig'> 420s shell = False 420s start_new_session = False 420s startupinfo = None 420s sts = 65280 420s uid = None 420s umask = -1 420s 420s /usr/lib/python3.12/subprocess.py:1955: FileNotFoundError In Debian this is likely not a problem (yet?), and the test passes. In Ubuntu I had to add the net-tools dependency: --- a/debian/tests/control +++ b/debian/tests/control @@ -9,5 +9,6 @@ Depends: jupyter-core, python3-pytest-jupyter, python3-pytest-timeout, python3-sphinx, + net-tools, @ Restrictions: allow-stderr Since this is the only delta between ubuntu and debian, I would kindly ask you to please also add this to the debian package. At first glance, it's not necessary, but it seems more correct. Thank you 1. https://bugs.launchpad.net/ubuntu/+source/jupyter-client/+bug/2077015