Package: ipython3 Version: 2.3.0-2 Severity: serious Justification: Debian Python Policy 2.4.2: Interpreter Location
Dear Maintainer, the main executable /usr/bin/ipython3 has shebang line 1 "#!/usr/bin/env python3" and thus uses the first python3 interpreter found in $PATH doing a dynamic lookup at execution time. If a local user-space Python environment is coming first in $PATH it will thus yield the Python3 IPython prompt from user space and not from the system python. This will result in very puzzling situation and clearly is in violation of the Debian Python Policy which demands the hardcoded system python binary in shebang. See Debian Python Policy 2.4.2 Interpreter location: https://www.debian.org/doc/packaging-manuals/python-policy/ch- python.html#s-interpreter_loc === quote start The preferred specification for the Python interpreter is /usr/bin/python or /usr/bin/pythonX.Y. This ensures that a Debian installation of python is used and all dependencies on additional python modules are met. Maintainers should not override the Debian Python interpreter using /usr/bin/env python or /usr/bin/env pythonX.Y. This is not advisable as it bypasses Debian's dependency checking and makes the package vulnerable to incomplete local installations of python. === quote end best regards, Tobias Megies -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ipython3 depends on: ii python3-decorator 3.4.0-2 ii python3-pkg-resources 5.5.1-1 ii python3-simplegeneric 0.8.1-1 pn python3:any <none> ipython3 recommends no packages. Versions of packages ipython3 suggests: pn ipython3-notebook <none> pn ipython3-qtconsole <none> pn python3-zmq <none> -- no debconf information