Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python Subject: dh-python now generates dependencies on python2 instead of python Date: Tue, 22 Oct 2019 20:50:01 +0200 Message-ID: X-Original-To: debian-python X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Oct 22 18:41:57 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 Old-X-Envelope-From: doko@debian.org Old-X-Envelope-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/17482 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/b6cf52a6-8f78-9117-57f3-23ac7bc0c850@debian.org Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 22 Oct 2019 20:41:40 +0200 X-Original-Message-ID: Xref: csiph.com linux.debian.maint.python:11921 For Python2 packages, dh-python 4.20191017 now rewrites any python shebang to /usr/bin/python2 and generates dependencies on python2 instead of python. The py2removal bugs have a section """ - 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-python@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. """ As seen with the recent python-crypto upload, the package now has no dependency on python anymore in the binary packages, and it doesn't have any python, python-dev build-dependencies anymore. Also seen in python-crypto, the python2 autopkg test calls python, and fails because python is not a dependency of python-crypto anymore. This needs fixing. If we need to ship Python2 in bullseye, then the python, python-dev, python-dbg, python-doc, libpython-stdlib, libpython-dev binary packages will be removed before the release. With that change, python-crypto is in a form to ship with bullseye (if python-crypto is still needed for some application that we want to keep). Application packages are likely to need a change in the build dependencies to ship with bullseye, if needed.