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


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

Re: Removing python2 packages

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Neil Williams <codehelp@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Removing python2 packages
Date Wed, 24 Jul 2019 20:10:02 +0200
Message-ID <yntSa-5o1-1@gated-at.bofh.it> (permalink)
References <yn4h3-5Wr-9@gated-at.bofh.it> <yn75g-7Kf-15@gated-at.bofh.it> <yns01-48A-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jul 24 18:03:26 2019
Old-Return-Path <codehelp@debian.org>
X-Amavis-Spam-Status No, score=-11.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, REMOVEDOT=3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Mailer Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; boundary="Sig_/Jk5ZrJxZVvbg7=JiyHTX3JT"; protocol="application/pgp-signature"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17023
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20190724190350.39776cb6@sylvester.codehelp
Approved robomod@news.nic.it
Lines 82
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 24 Jul 2019 19:03:50 +0100
X-Original-Message-ID <20190724190350.39776cb6@sylvester.codehelp>
X-Original-References <alpine.DEB.2.21.1907231036380.24532@bear.techie.net> <CAOO6c=w=DzXqpp4dJTMXouTQ8cx5Lq3eTqmb4ZQs+smoeqN4ew@mail.gmail.com> <alpine.DEB.2.21.1907241206540.5302@bear.techie.net>
Xref csiph.com linux.debian.maint.python:11528

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 24 Jul 2019 12:08:54 -0400 (EDT)
Scott Talbert <swt@techie.net> wrote:

> On Tue, 23 Jul 2019, Ondrej Novy wrote:
> 
> > út 23. 7. 2019 v 11:40 odesílatel Scott Talbert <swt@techie.net>
> > 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.

> 
> Scott


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

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


Thread

Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-23 16:50 +0200
  Re: Removing python2 packages Neil Williams <codehelp@debian.org> - 2019-07-23 19:50 +0200
  Re: Removing python2 packages Ondrej Novy <novy@ondrej.org> - 2019-07-23 19:50 +0200
    Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-24 18:10 +0200
      Re: Removing python2 packages Neil Williams <codehelp@debian.org> - 2019-07-24 20:10 +0200
        Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-24 20:50 +0200
        Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-26 15:50 +0200
      Re: Removing python2 packages Scott Kitterman <debian@kitterman.com> - 2019-07-24 23:40 +0200
    Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-30 15:50 +0200
      Re: Removing python2 packages Scott Talbert <swt@techie.net> - 2019-07-30 23:50 +0200
        Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:10 +0200
        Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:10 +0200
          Re: Removing python2 packages Samuel Thibault <sthibault@debian.org> - 2019-07-31 03:30 +0200
  Re: Removing python2 packages Jonathan Carter <jcc@debian.org> - 2019-07-23 21:30 +0200

csiph-web