reassign 936509 ftp.debian.org retitle 936509 RM: fdsend -- RoM; obsoleted by built-in functionality affects 936509 + src:fdsend severity 936509 important thanks
On Fri, Aug 30, 2019 at 07:17:00AM +0000, Matthias Klose wrote: > Python2 becomes end-of-live upstream, and Debian aims to remove > Python2 from the distribution, as discussed in > https://lists.debian.org/debian-python/2019/07/msg00080.html > > Your package either build-depends, depends on Python2, or uses Python2 > in the autopkg tests. Please stop using Python2, and fix this issue > by one of the following actions. > > - Convert your Package to Python3. This is the preferred option. In > case you are providing a Python module foo, please consider dropping > the python-foo package, and only build a python3-foo package. Please > don't drop Python2 modules, which still have reverse dependencies, > just document them. > > This is the preferred option. > > - If the package is dead upstream, cannot be converted or maintained > in Debian, it should be removed from the distribution. If the > package still has reverse dependencies, raise the severity to > "serious" and document the reverse dependencies with the BTS affects > command. If the package has no reverse dependencies, confirm that > the package can be removed, reassign this issue to ftp.debian.org, > make sure that the bug priority is set to normal and retitle the > issue to "RM: PKG -- removal triggered by the Python2 removal". > > - If the package has still many users (popcon >= 300), or is needed to > build another package which cannot be removed, document that by > adding the "py2keep" user tag (not replacing the py2remove tag), > using the debian-pyt...@lists.debian.org user. Also any > dependencies on an unversioned python package (python, python-dev) > must not be used, same with the python shebang. These have to be > replaced by python2/python2.7 dependencies and shebang. > > This is the least preferred option. While there is a somewhat high popcon count, all of this is due to ganeti. Python 3 provides all facilities required for sendfd support natively and documents them as such in [1] and [2]. The latter even contains a one-liner that's all that is required at this point. Ganeti has also been fixed upstream to make use of the native functionality: commit 493c901bd23c9a891a3426b0468a4db462058af3 Author: Apollon Oikonomopoulos <apoi...@dmesg.gr> Date: Thu Jun 20 10:26:58 2019 +0200 Implement SendFds fdsend does not support Python 3; luckily, Python 3's socket library exposes everything we need to re-implement it in pure Python, so add utils.SendFds which sends a bunch of fds, along with data, over a socket. Signed-off-by: Apollon Oikonomopoulos <apoi...@dmesg.gr> Thus this package should be removed in favor of the built-in methods rather than be ported to Python 3 (which has happened but will now not be uploaded here). Users should follow the documentation to migrate. Kind regards and thanks Philipp Kern [1] https://docs.python.org/3/library/socket.html#socket.socket.recvmsg [2] https://docs.python.org/3/library/socket.html#socket.socket.sendmsg