Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Stefano Rivera 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: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Jan 14 19:52:06 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-106.861 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Mail-Followup-To: Scott Kitterman , debian-python@lists.debian.org X-Gpg-Public-Key: http://www.rivera.za.net/stefano.gpg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20201127 X-Mailing-List: archive/latest/20699 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20230114195147.mrydehm7ovba2oyv@satie.tumbleweed.org.za Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sat, 14 Jan 2023 19:51:47 +0000 X-Original-Message-ID: <20230114195147.mrydehm7ovba2oyv@satie.tumbleweed.org.za> 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> Xref: csiph.com linux.debian.maint.python:14821 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. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272