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


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

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 20:40 +0100
Message-ID <FNUxH-pT1-5@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>
Organization linux.* mail to news gateway

Show all headers | View raw



On January 14, 2023 7:12:33 PM UTC, Stefano Rivera <stefanor@debian.org> wrote:
>Hi Scott (2023.01.14_17:22:42_+0000)
>> Take the example in #1027947.  If this proposal had been in place
>> already, what would he have been the generated dependency and how
>> would it have worked?
>
>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)
>
>The >= vs >> isn't particularly relevant here. At the moment python3 (>> 3.11)
>effectively means >= 3.11, because it's always 3.11.something-something.

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.

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?

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