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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: Policy Proposal python3-supported-(min|max) virtual packages
Date Sat, 14 Jan 2023 21:00:01 +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>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Jan 14 19:56:13 2023
Old-Return-Path <debian@kitterman.com>
X-Amavis-Spam-Status No, score=-7.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20700
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/42B209B8-AE25-486C-9F84-4F292FE6C1F5@kitterman.com
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 14 Jan 2023 19:55:21 +0000
X-Original-Message-ID <42B209B8-AE25-486C-9F84-4F292FE6C1F5@kitterman.com>
X-Original-References <20230114170817.bcyfhgpvrupjdvjd@satie.tumbleweed.org.za> <70685CFF-B8F9-420D-B0BF-87644B7C3232@kitterman.com> <20230114191233.w5o3eu3ecdiyails@satie.tumbleweed.org.za> <43805CAE-004D-457D-A98A-DF637D7118D8@kitterman.com> <20230114195147.mrydehm7ovba2oyv@satie.tumbleweed.org.za>
Xref csiph.com linux.debian.maint.python:14820

Show key headers only | 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