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


Groups > linux.debian.maint.python > #11954 > unrolled thread

Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

Started byNeil Williams <codehelp@debian.org>
First post2019-10-27 18:10 +0100
Last post2019-12-08 22:10 +0100
Articles 8 — 5 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#943666: python3: Update Python Policy for removal of the Python 2 stack Neil Williams <codehelp@debian.org> - 2019-10-27 18:10 +0100
    Re: Bug#943666: python3: Update Python Policy for removal of the  Python 2 stack Matthias Klose <doko@debian.org> - 2019-11-03 15:10 +0100
      Re: Bug#943666: python3: Update Python Policy for removal of the  Python 2 stack Neil Williams <codehelp@debian.org> - 2019-11-03 15:10 +0100
        Re: Bug#943666: python3: Update Python Policy for removal of the  Python 2 stack Matthias Klose <doko@debian.org> - 2019-11-03 15:20 +0100
          Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack Brian May <bam@debian.org> - 2019-11-06 22:00 +0100
            Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack Nicholas D Steeves <nsteeves@gmail.com> - 2019-11-06 22:10 +0100
              Re: Bug#943666: python3: Update Python Policy for removal of the  Python 2 stack Matthias Klose <doko@debian.org> - 2019-11-06 23:50 +0100
                Re: Bug#943666: python3: Update Python Policy for removal of the  Python 2 stack Stéphane Blondon <stephane.blondon@gmail.com> - 2019-12-08 22:10 +0100

#11954 — Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromNeil Williams <codehelp@debian.org>
Date2019-10-27 18:10 +0100
SubjectBug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<yVUdb-6Jq-1@gated-at.bofh.it>
Package: python3
Version: 3.7.5-1
Severity: normal

As discussed on IRC and alongside the post to debian-devel-announce, please
review and include this amendment to the Debian Python Policy to cover
the removal of the Python 2 stack as outlined at https://wiki.debian.org/Python/2Removal

https://salsa.debian.org/codehelp/python3-defaults/commit/9b1dabbdc7105486e8a2132a100066e4c225a874

Thanks.

[toc] | [next] | [standalone]


#11977 — Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromMatthias Klose <doko@debian.org>
Date2019-11-03 15:10 +0100
SubjectRe: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<yYoJP-4tG-1@gated-at.bofh.it>
In reply to#11954
[discussing this outside the bug report on the ML]

On 03.11.19 14:39, Neil Williams wrote:
> Actually, that's a good catch. I was mixing up the defaults package
> with the general advice on python3 migration to not remove
> python-foo-doc just to rename it to python3-foo-doc.

where did you read that? IMO we don't want to rename the -doc packages.

> Removing the defaults package python-doc seems right to me. I've
> updated that paragraph.

[toc] | [prev] | [next] | [standalone]


#11978 — Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromNeil Williams <codehelp@debian.org>
Date2019-11-03 15:10 +0100
SubjectRe: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<yYoJQ-4tG-11@gated-at.bofh.it>
In reply to#11977

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

On Sun, 3 Nov 2019 15:00:17 +0100
Matthias Klose <doko@debian.org> wrote:

> [discussing this outside the bug report on the ML]
> 
> On 03.11.19 14:39, Neil Williams wrote:
> > Actually, that's a good catch. I was mixing up the defaults package
> > with the general advice on python3 migration to not remove
> > python-foo-doc just to rename it to python3-foo-doc.  
> 
> where did you read that? IMO we don't want to rename the -doc
> packages.

https://wiki.debian.org/Python/2Removal

Check list

* if documentation was in python-foo - move it to python3-foo or python-foo-doc
  * if it was automatically placed there by dh_installdocs, it will automatically move to python-foo-doc: you don't need to do anything, unless you had links to it that need un-breaking
  * do not remove python-foo-doc or rename it to python3-foo-doc

> 
> > Removing the defaults package python-doc seems right to me. I've
> > updated that paragraph.  


-- 


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

[toc] | [prev] | [next] | [standalone]


#11979 — Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromMatthias Klose <doko@debian.org>
Date2019-11-03 15:20 +0100
SubjectRe: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<yYoTw-4x5-9@gated-at.bofh.it>
In reply to#11978
On 03.11.19 15:09, Neil Williams wrote:
> On Sun, 3 Nov 2019 15:00:17 +0100
> Matthias Klose <doko@debian.org> wrote:
> 
>> [discussing this outside the bug report on the ML]
>>
>> On 03.11.19 14:39, Neil Williams wrote:
>>> Actually, that's a good catch. I was mixing up the defaults package
>>> with the general advice on python3 migration to not remove
>>> python-foo-doc just to rename it to python3-foo-doc.
>>
>> where did you read that? IMO we don't want to rename the -doc
>> packages.
> 
> https://wiki.debian.org/Python/2Removal
> 
> Check list
> 
> * if documentation was in python-foo - move it to python3-foo or python-foo-doc
>    * if it was automatically placed there by dh_installdocs, it will automatically move to python-foo-doc: you don't need to do anything, unless you had links to it that need un-breaking
>    * do not remove python-foo-doc or rename it to python3-foo-doc

yes, but this tells you not to rename it to python3-foo-doc.

[toc] | [prev] | [next] | [standalone]


#11981

FromBrian May <bam@debian.org>
Date2019-11-06 22:00 +0100
Message-ID<yZAzg-8bZ-7@gated-at.bofh.it>
In reply to#11979
Stéphane Blondon <stephane.blondon@gmail.com> writes:

> Perhaps there is a doubt how to read it?
> - do not (remove python-foo-doc or rename it to python3-foo-doc)
> - (do not remove python-foo-doc) or (rename it to python3-foo-doc)
>
> Would it be better if we remove the indentation and use this sentence(?):
> if documentation is in python-foo-doc, do not move it

Myself, I read it as the first option.

I would personally use:

- Do not remove python-foo-doc and do not rename it to python3-foo-doc.

Or maybe even expand as two bullet points:

- Do not remove python-foo-doc.
- Do not rename it to python3-foo-doc.

I think this makes it very explicit what was intended.
--
Brian May <bam@debian.org>

[toc] | [prev] | [next] | [standalone]


#11982

FromNicholas D Steeves <nsteeves@gmail.com>
Date2019-11-06 22:10 +0100
Message-ID<yZAIW-8v3-11@gated-at.bofh.it>
In reply to#11981

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

Brian May <bam@debian.org> writes:

> Stéphane Blondon <stephane.blondon@gmail.com> writes:
>
>> Perhaps there is a doubt how to read it?
>> - do not (remove python-foo-doc or rename it to python3-foo-doc)
>> - (do not remove python-foo-doc) or (rename it to python3-foo-doc)
>>
>> Would it be better if we remove the indentation and use this sentence(?):
>> if documentation is in python-foo-doc, do not move it
>
> Myself, I read it as the first option.
>
> I would personally use:
>
> - Do not remove python-foo-doc and do not rename it to python3-foo-doc.
>
> Or maybe even expand as two bullet points:
>
> - Do not remove python-foo-doc.
> - Do not rename it to python3-foo-doc.
>
> I think this makes it very explicit what was intended.

+1.  I also read it as (do (not (remove python-foo-doc) or (not (rename
to python3-foo-doc)))).  In natural language that "or" should be a
"nor", but breaking it into two negated bullet points may be clearer to
those whose first language doesn't possess a negative list operator.

Cheers,
Nicholas

[toc] | [prev] | [next] | [standalone]


#11983 — Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromMatthias Klose <doko@debian.org>
Date2019-11-06 23:50 +0100
SubjectRe: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<yZChH-Rw-1@gated-at.bofh.it>
In reply to#11982
On 06.11.19 22:04, Nicholas D Steeves wrote:
> Brian May <bam@debian.org> writes:
> 
>> Stéphane Blondon <stephane.blondon@gmail.com> writes:
>>
>>> Perhaps there is a doubt how to read it?
>>> - do not (remove python-foo-doc or rename it to python3-foo-doc)
>>> - (do not remove python-foo-doc) or (rename it to python3-foo-doc)
>>>
>>> Would it be better if we remove the indentation and use this sentence(?):
>>> if documentation is in python-foo-doc, do not move it
>>
>> Myself, I read it as the first option.
>>
>> I would personally use:
>>
>> - Do not remove python-foo-doc and do not rename it to python3-foo-doc.
>>
>> Or maybe even expand as two bullet points:
>>
>> - Do not remove python-foo-doc.
>> - Do not rename it to python3-foo-doc.
>>
>> I think this makes it very explicit what was intended.
> 
> +1.  I also read it as (do (not (remove python-foo-doc) or (not (rename
> to python3-foo-doc)))).  In natural language that "or" should be a
> "nor", but breaking it into two negated bullet points may be clearer to
> those whose first language doesn't possess a negative list operator.

please could one of you open an issue with a patch to track the change?

Thanks, Matthias

[toc] | [prev] | [next] | [standalone]


#12129 — Re: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack

FromStéphane Blondon <stephane.blondon@gmail.com>
Date2019-12-08 22:10 +0100
SubjectRe: Bug#943666: python3: Update Python Policy for removal of the Python 2 stack
Message-ID<zbbYu-5Bz-3@gated-at.bofh.it>
In reply to#11983
Le mer. 6 nov. 2019 à 23:49, Matthias Klose <doko@debian.org> a écrit :
>
> On 06.11.19 22:04, Nicholas D Steeves wrote:
> > Brian May <bam@debian.org> writes:
> >> Or maybe even expand as two bullet points:
> >>
> >> - Do not remove python-foo-doc.
> >> - Do not rename it to python3-foo-doc.
> >>
> >> I think this makes it very explicit what was intended.
> >
>
> please could one of you open an issue with a patch to track the change?

As we were discussing about sentences in
https://wiki.debian.org/Python/2Removal, I only modified the page
according to Brian's last proposal.

-- 
Stéphane

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web