Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: Removing python2 packages Date: Wed, 24 Jul 2019 23:40:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Jul 24 21:37:55 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.2 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, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 Dkim-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1564004261; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=xMIZlJKS/MT9MOQoYNvoHVl5tnGVRkPtdVLFpDGGwFA=; b=1U9Q4xWDosfqUEmIFkEn6MIfNV1E43HrTAVVlJdyIgfqtMLQTVMMLOk1 I9qAlNtAoPDFzIhxnxdcaOfywAjHAQ== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1564004261; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=xMIZlJKS/MT9MOQoYNvoHVl5tnGVRkPtdVLFpDGGwFA=; b=ftyVFcazH3Rbnwkb1OjRZ/yWcRCR++TFTL7EeuQqydLDo3pSH2SmVDGg USpEgqQljhmaxzaJbzrL2ViosPN2heAUQzohLk33lLmeQD4Ocznl5sxDOk 94TDNoADAzLcG5y0u9juj0HCDjnq/ML+9BBEah99qo2Rp+Vza+rgi2IHn5 +OK4UptS93tXsf5/m7+v2+0kwloYKRg+EfJZT49ZfkQKODjgGQPyNWyaOQ Af7N5kMPTvYDkb3Zpf7PtkaNdEEIb1HYnLVRvg2RFCj9guwmPfUVUnhVnF iJ0yP5R+y0/v7033WHxxkRbg/c7nRswQNWfEJAL93UArWqHx3vZKJg== MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/17025 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/6A98A985-1B9F-4352-AEAF-E97FFC52BADD@kitterman.com Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 24 Jul 2019 21:37:39 +0000 X-Original-Message-ID: <6A98A985-1B9F-4352-AEAF-E97FFC52BADD@kitterman.com> X-Original-References: Xref: csiph.com linux.debian.maint.python:11530 On July 24, 2019 4:08:54 PM UTC, Scott Talbert wrote: >On Tue, 23 Jul 2019, Ondrej Novy wrote: > >> =C3=BAt 23=2E 7=2E 2019 v=C2=A011:40 odes=C3=ADlatel Scott Talbert >napsal: >> When removing leaf python2 packages for bullseye, is there >> anything >>=20 >>=20 >> __modules__ package :) >> =C2=A0 >> 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? >>=20 >>=20 >> * 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=2E The reason I asked about 'obsoleting' is because I wondered >about=20 >what will happen on the upgrade case=2E Say, I remove python-foo from=20 >bullseye=2E When a user running buster with python-foo installed >upgrades=20 >to bullseye, what will happen? Will apt try to remove python-foo? It depends (pun intended)=2E I've recently upgraded some Python applicati= ons to python3, so python-foo depends changed to python3-foo=2E If the onl= y reason python-foo was installed was because it was a dependency of the ap= plication, then it'll be eligible for apt autoremove=2E Scott K