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


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

Re: Removing python2 packages

From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: Removing python2 packages
Date 2019-07-24 23:40 +0200
Message-ID <ynx9n-7ow-5@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>
Organization linux.* mail to news gateway

Show all headers | View raw



On July 24, 2019 4:08:54 PM UTC, 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?

It depends (pun intended).  I've recently upgraded some Python applications to python3, so python-foo depends changed to python3-foo.  If the only reason python-foo was installed was because it was a dependency of the application, then it'll be eligible for apt autoremove.

Scott K

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