Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11921

dh-python now generates dependencies on python2 instead of python

From Matthias Klose <doko@debian.org>
Newsgroups linux.debian.maint.python
Subject dh-python now generates dependencies on python2 instead of python
Date 2019-10-22 20:50 +0200
Message-ID <yU7od-3dZ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

dh-python now generates dependencies on python2 instead of python Matthias Klose <doko@debian.org> - 2019-10-22 20:50 +0200
  Re: dh-python now generates dependencies on python2 instead of python Sandro Tosi <morph@debian.org> - 2019-10-23 04:20 +0200

csiph-web