Path: csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: Policy Proposal python3-supported-(min|max) virtual packages Date: Sat, 14 Jan 2023 20:40:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Jan 14 19:35:48 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.2 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, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/20698 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/43805CAE-004D-457D-A98A-DF637D7118D8@kitterman.com Approved: robomod@news.nic.it Lines: 32 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 14 Jan 2023 19:34:59 +0000 X-Original-Message-ID: <43805CAE-004D-457D-A98A-DF637D7118D8@kitterman.com> X-Original-References: <20230114170817.bcyfhgpvrupjdvjd@satie.tumbleweed.org.za> <70685CFF-B8F9-420D-B0BF-87644B7C3232@kitterman.com> <20230114191233.w5o3eu3ecdiyails@satie.tumbleweed.org.za> Xref: csiph.com linux.debian.maint.python:14819 On January 14, 2023 7:12:33 PM UTC, Stefano Rivera = wrote: >Hi Scott (2023=2E01=2E14_17:22:42_+0000) >> Take the example in #1027947=2E 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 (>=3D 3=2E11) > >instead of >python3-tomli | python3 (>> 3=2E11) > >Then, once python3=2E10 was dropped from supported, python3 would >Provides: python3-min-version (=3D 3=2E11), python3-max-version (=3D 3=2E= 11) > >The >=3D vs >> isn't particularly relevant here=2E At the moment python3 = (>> 3=2E11) >effectively means >=3D 3=2E11, because it's always 3=2E11=2Esomething-som= ething=2E And python3-min-version is a virtual package, so dpgk doesn't need any spe= cial knowledge to do the right thing, right? I think that's reasonable=2E Typically though doesn't the python interpreter package provide modules th= at are now incorporated? If python3=2E11 provides python3-tomli, won't tha= t mess this up? Scott K