delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/04/13:05:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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 DOT turney AT dronecode DOT org DOT uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT 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 AT btinternet DOT 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
Subject: Re: [ANNOUNCEMENT] Updated: python packages
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <announce DOT e4da3142-6997-1081-fb52-5538133e5306 AT gmail DOT com>
<3a709c27-6756-ed6e-925b-d1d45b6c057b AT dronecode DOT org DOT uk>
<a7810ae481d9933115da8464d831ca1af9f7ccd9 DOT camel AT cygwin DOT com>
<b5053cfe-8f7b-af6b-f2e8-91e1e2c119e1 AT gmail DOT com>
<148cabcd-a890-d1bd-6fba-209225c5bb2c AT dronecode DOT org DOT uk>
<459f09e0-1b87-cf8f-7ab4-81950e80b353 AT cornell DOT edu>
<b9f45241-2ac4-cb6d-0a47-6ace97e41193 AT gmail DOT com>
<26e15f54-c5b1-06b4-281f-8b9ea899619f AT cornell DOT edu>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 144H5NUC026473

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.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019