Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Talbert Newsgroups: linux.debian.maint.python Subject: Re: Removing python2 packages Date: Fri, 26 Jul 2019 15:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jul 26 13:47:56 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.079 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MISSING_HEADERS=1.021] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Dkim-Signature: v=1; a=rsa-sha256; c=simple/simple; d=techie.net; s=default; t=1564148861; bh=cuzqPx8CqtBiOYzcAjLsOq9M74oJTUHbJ4UDJQiUN+I=; h=Date:From:cc:Subject:In-Reply-To:References:From; b=25tgujSWRpI6/bHczAOWyr9lEukKxojWqLquyfuQlKqwTJehxotnslk94QDjS+lmi YyHbjdmr4c439zHVZM2jn9dOT2ecTy4EqpTIXwTLv7prCnqWHvMxAWPlo0+HUtQRXF FhQrA22be8rBcUIqKVwNq5HxyKZMq1+99O7rkhCM= X-X-Sender: talbert@bear.techie.net User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-2033333575-1252252491-1564148861=:29330" X-Mailing-List: archive/latest/17027 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/alpine.DEB.2.21.1907260944560.29330@bear.techie.net Approved: robomod@news.nic.it Lines: 53 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Fri, 26 Jul 2019 09:47:41 -0400 (EDT) X-Original-Message-ID: X-Original-References: <20190724190350.39776cb6@sylvester.codehelp> Xref: csiph.com linux.debian.maint.python:11531 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---2033333575-1252252491-1564148861=:29330 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 24 Jul 2019, Neil Williams wrote: >>> út 23. 7. 2019 v 11:40 odesílatel Scott Talbert >>> napsal: When removing leaf python2 packages for bullseye, is there >>> anything >>> >>> >>> __modules__ package :) >>>   >>> special that needs to be done, other than removing the >>> building of the >>> python2 subpackage? >>> >>> For example, obsoleting of the old package or anything along >>> those lines? >>> >>> >>> * check reverse-depends and "reverse-depends -b" >>> * remove from d/control >>> * remove from d/tests >>> * remove from d/rules >>> * check/remove d/python-* files >>> * test >>> * upload >> >> Thanks. The reason I asked about 'obsoleting' is because I wondered >> about what will happen on the upgrade case. Say, I remove python-foo >> from bullseye. When a user running buster with python-foo installed >> upgrades to bullseye, what will happen? Will apt try to remove >> python-foo? > > Not unless something actually Breaks: or Conflicts: or the user runs > autoremove. > > If a leaf package bar changes from Depends: python-foo to python3-foo, > then python-foo will remain installed. There are lots of packages in > Stretch that are not in Buster. Upgrading leaves them in place unless > there is something which actively Conflicts: or Breaks: them. That's > why autoremove is so useful after dist-upgrade. What about reverse dependencies that are "Suggests" vice "Depends?" Do all Suggests dependencies needs to be removed first as well? NOTE: reverse-depends (aside from '-b' being broken in unstable right now), does not seem to show Suggests dependencies by default. ---2033333575-1252252491-1564148861=:29330--