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


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

Re: Policy Proposal python3-supported-(min|max) virtual packages

From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: Policy Proposal python3-supported-(min|max) virtual packages
Date 2023-01-14 21:00 +0100
Message-ID <FNUR3-q0l-9@gated-at.bofh.it> (permalink)
References <FNScx-ozq-1@gated-at.bofh.it> <FNSvT-oGO-3@gated-at.bofh.it> <FNUem-pMs-13@gated-at.bofh.it> <FNUxH-pT1-5@gated-at.bofh.it> <FNUR3-q0l-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On January 14, 2023 7:51:47 PM UTC, Stefano Rivera <stefanor@debian.org> wrote:
>Hi Scott (2023.01.14_19:34:59_+0000)
>> >dh_python3 would have been able to generate
>> >python3-tomli | python3-min-version (>= 3.11)
>> >
>> >instead of
>> >python3-tomli | python3 (>> 3.11)
>> >
>> >Then, once python3.10 was dropped from supported, python3 would
>> >Provides: python3-min-version (= 3.11), python3-max-version (= 3.11)
>> 
>> And python3-min-version is a virtual package, so dpgk doesn't need any special knowledge to do the right thing, right?  I think that's reasonable.
>
>Yeah.
>
>> Typically though doesn't the python interpreter package provide modules that are now incorporated?  If python3.11 provides python3-tomli, won't that mess this up?
>
>I can't recall how this was done historically, but the git history of
>python3 and python3-defaults doesn't show any provides like that. The
>only one I can see is python3-profiler, which is provided by python3,
>not python3.X.
>
Thanks for checking.  

I definitely recall it for Python2, but if it's not a Python3 thing, then I think it's good.  It would probably be beneficial to have the policy statement have a MUST NOT to say not to do it in the future as that would break this.

Scott K

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


Thread

Policy Proposal python3-supported-(min|max) virtual packages Stefano Rivera <stefanor@debian.org> - 2023-01-14 18:10 +0100
  Re: Policy Proposal python3-supported-(min|max) virtual packages Scott Kitterman <debian@kitterman.com> - 2023-01-14 18:30 +0100
    Re: Policy Proposal python3-supported-(min|max) virtual packages Stefano Rivera <stefanor@debian.org> - 2023-01-14 20:20 +0100
      Re: Policy Proposal python3-supported-(min|max) virtual packages Scott Kitterman <debian@kitterman.com> - 2023-01-14 20:40 +0100
        Re: Policy Proposal python3-supported-(min|max) virtual packages Scott Kitterman <debian@kitterman.com> - 2023-01-14 21:00 +0100
        Re: Policy Proposal python3-supported-(min|max) virtual packages Stefano Rivera <stefanor@debian.org> - 2023-01-14 21:00 +0100
        Re: Policy Proposal python3-supported-(min|max) virtual packages Julian Gilbey <julian@d-and-j.net> - 2023-01-14 21:50 +0100

csiph-web