From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-041.btinternet.com (mailomta31-sa.btinternet.com [213.120.69.37]) by sourceware.org (Postfix) with ESMTPS id 1CC473968C3A for ; Tue, 4 May 2021 17:05:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1CC473968C3A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from sa-prd-rgout-005.btmx-prd.synchronoss.net ([10.2.38.8]) by sa-prd-fep-041.btinternet.com with ESMTP id <20210504170517.CJMN25478.sa-prd-fep-041.btinternet.com@sa-prd-rgout-005.btmx-prd.synchronoss.net> for ; Tue, 4 May 2021 18:05:17 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-SNCR-Rigid: 60387180096EF568 X-Originating-IP: [81.153.98.246] X-OWM-Source-IP: 81.153.98.246 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedgudduudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepleeigeehgefhveefvefhvdeiudfgvdeuhfejheetjefffefhueduteehuefgfffhnecukfhppeekuddrudehfedrleekrddvgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduuddungdpihhnvghtpeekuddrudehfedrleekrddvgeeipdhmrghilhhfrhhomhepoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqecuuefqffgjpeekuefkvffokffogfdprhgtphhtthhopeeotgihghifihhnsegthihgfihinhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (81.153.98.246) by sa-prd-rgout-005.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 60387180096EF568 for cygwin@cygwin.com; Tue, 4 May 2021 18:05:17 +0100 Subject: Re: [ANNOUNCEMENT] Updated: python packages To: The Cygwin Mailing List References: <3a709c27-6756-ed6e-925b-d1d45b6c057b@dronecode.org.uk> <148cabcd-a890-d1bd-6fba-209225c5bb2c@dronecode.org.uk> <459f09e0-1b87-cf8f-7ab4-81950e80b353@cornell.edu> <26e15f54-c5b1-06b4-281f-8b9ea899619f@cornell.edu> From: Jon Turney Message-ID: <3f39b5ef-5357-e9b2-420f-73949fed048a@dronecode.org.uk> Date: Tue, 4 May 2021 18:04:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <26e15f54-c5b1-06b4-281f-8b9ea899619f@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3571.0 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_ASCII_DIVIDERS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 17:05:19 -0000 On 07/03/2021 20:44, Ken Brown via Cygwin wrote: > On 3/7/2021 2:34 PM, Marco Atzeri via Cygwin wrote: >> On 07.03.2021 17:58, Ken Brown via Cygwin wrote: >> >>>> I have a CI job which runs 'setup -q -P python3,python3-lxml'.  It's >>>> nice if that gets me something where "python3 -c 'import lxml'" >>>> works, and doesn't require changing every time the default python >>>> version is updated. >>> >>> Currently python3 is a meta-package whose main purpose is to require >>> the default python version (currently python38).  Marco, couldn't you >>> just make python3-foo a meta-package that requires the corresponding >>> python*-foo (currently python38-foo)? >> >> the issue is that Cygport creates the "obsolete" python3-foo >> that is replaced by python36-foo automatically. >> >> we should change cygport to use python38 instead >> --------------------------------------------------- >> $ cat python3-lxml/python3-lxml-4.6.2-1.hint >> category: _obsolete >> requires: python36-lxml >> sdesc: "Obsoleted by python36-lxml" >> ldesc: "The python3-lxml package is obsolete.  Selecting this package for >> installation will cause the python36-lxml package, which replaces this >> one, to be installed instead." >> external-source: python-lxml >> --------------------------------------------------- > > As long as you have to patch cygport anyway, maybe it would be better to > have cygport create an empty (but not obsolete) package.  I think users > might find it confusing that they have to install an obsolete package to > get what they want.  Also, obsolete packages are normally hidden in the > setup UI. Yeah. I've wanted to improve how things in this area for a while (since there are some checks which calm does for 'should this package be obsolete') which are thwarted by this kind of package. So, I've added 'Virtual' to the list of package categories that calm permits, if you want to use it for this kind of meta-package.