delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/07/16:20:16

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 E9B133857039
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca
X-Authority-Analysis: v=2.4 cv=cagXElPM c=1 sm=1 tr=0 ts=60454384
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19
a=QEXdDO2ut3YA:10
To: 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: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: [ANNOUNCEMENT] Updated: python packages
Message-ID: <92bd22a2-df5d-0de4-1b45-14dede184546@SystematicSw.ab.ca>
Date: Sun, 7 Mar 2021 14:20:03 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <26e15f54-c5b1-06b4-281f-8b9ea899619f@cornell.edu>
X-CMAE-Envelope: MS4xfBu4o/96y34ry92quwy35qFkIVne3Isgbr6bKSyg3m006RLp065qzhYiVKVe4rDesfqB0mTr7xoZ0wBexChnIRnaYr528ggnsMJm39K5gfHBCo6oplcS
KoGxFukgtPKgQs5eJpqLTxW8JRChblRbwMkyQrO3ytXUTUt7Tm+F3k0Gc2S8zmDHO9WceF4RxCqLRFExgPfC7/jBll6cLCq7akU=
X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
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>
Reply-To: cygwin AT cygwin DOT com
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 127LKF3p018332

On 2021-03-07 13: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.

Hidden generic/virtual package selections in Debian apt/-get and other package 
managers are annoying as users (I!) don't know how to do anything when they find 
out about them e.g.

	$ apt show exim
	Package: exim
	State: not a real package (virtual)
	N: Can't select candidate version from package exim as it has no candidate
	N: Can't select versions from package 'exim' as it is purely virtual
	N: No packages found

Suggest adding a category like ~Generic or ~Virtual to sort out of the way but 
be selectable if you search for Python, Perl, Ruby, etc.

I have been unable to find any definitive category list where that might be 
checked, except in cygwin-apps/calm/genini, and I believe that is not being used 
any more, as it is missing Debug but includes obsolete Mingw.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
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