delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/16/06:46:29

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.4.1 sourceware.org EB9A13858D3C
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=Q7tgvpCrW39qKpA09IPw07jFawI80jWvVmevW5x+ui0=;
b=UKdwGTpjQa9uGeC9HP0If+vFovmnvLKAQucx8bPZga2r71fGumXwVm3wAdfdUxF60V
53A+goLZViJlXEIvL8s9x76lLgjvYNo9xYHZL75w5OKO4tR6I7yIYidVDUGZkD9mVVts
iyMSZE7dlGi9xt0stJD73U2XILjlT1BmIVZFw2GJBObO2YfnThm0RX6lK3SVotX/fzjP
M63By4dpYSJjRGfaDDG8D5Wb7n3u29kOCJMzh3YmrEsRT8XMdxi7jVlZSwM5/HPsaCUb
AWN1opbYxZD4Gs+zVbVc/VgpqBvpTuAM8ryphroQJInyTjhxrtp8TmiVgpcE9toMsKnI
ROPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=Q7tgvpCrW39qKpA09IPw07jFawI80jWvVmevW5x+ui0=;
b=TSSozMUb7YyMFhoNv1rA/YZrcBBfnkTqPXm0PY4HDHhnRe2iajRez17qO775Qxb8K/
k3LjkmBNmxoYMjjS/vZLFKo5CqLygvOy+ZJeUHf6xd47nryJnp/0mPrE9hDIGKwZoZM6
7Qpywlc38RvIuXFmXtEgm1V739IUbX2CE9mUb2pYkrI4kDzBqWcZWv0BaryfzLpalCET
5m/t7LDhO1KZEIWB9pd4Z3uPiRsnAhjxJsLyftGRnCYKWkpR7msn8pG08iyDet7QJ/eG
IQ0y3yhnUF4k407Y2YUCgDu0l2DqeAs+rsp+xgt8GQ67oTwpR+xYVBiMPZw7WFGhyyU1
TECg==
X-Gm-Message-State: AOAM533Bhk7rTUzBcu+7uiV3OIjFI0yBMQrGzCZXiFQRLAqDl19UqU2L
710wUub/B7IfyFnCBYB/AGyqVZ1RuTsQTnsQp6s=
X-Google-Smtp-Source: ABdhPJyTrUky7AicOnKPi2fpLcanATDXg8Qv4ZiBq3oRtvC7pG2q+tzfdvzebnk+5qukzWjr+RNRQ0uGhStcx2WWZak=
X-Received: by 2002:a17:906:2846:b0:6ce:21cd:5398 with SMTP id
s6-20020a170906284600b006ce21cd5398mr2000811ejc.49.1645011968907; Wed, 16 Feb
2022 03:46:08 -0800 (PST)
MIME-Version: 1.0
References: <20220216111059 DOT ve7myugtwi7bjggb AT lucy DOT dinwoodie DOT org>
In-Reply-To: <20220216111059.ve7myugtwi7bjggb@lucy.dinwoodie.org>
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
Date: Wed, 16 Feb 2022 12:45:58 +0100
Message-ID: <CAB8Xom-B=w0o3dNTkAOfdeGD_LRaLfte+6hO29gCAuxbw-Qb_w@mail.gmail.com>
Subject: Re: Inconsistent handling of python3-module vs python3x-module
packages
To: Adam Dinwoodie <adam AT dinwoodie DOT org>
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-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>
Cc: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Wed, Feb 16, 2022 at 12:11 PM Adam Dinwoodie  wrote:
>
> While wrangling a bunch of Python packages for my Cygwin installation,
> I've noticed an inconsistency about how python3 vs python3x packages are
> installed.

Only one ? ;-)

> As an example: the python3 package itself describes itself as a
> meta-package; the package itself is almost empty, and the key thing
> selecting the package does is depend on the latest python3x package,
> currently python39.  The same behaviour is in place with, for example,
> python3-tkinter.

Yes, these are real meta packages that pull the latest version

> However the python3-pytest package is marked as obsolete, and is
> obsoleted by python36-pytest.  If I select python3-pytest for
> installation, the package that's actually installed is python36-pytest,
> even though there's a python39-pytest package available.
>
> This inconsistency means that someone naively installing python3-tkinter
> and python3-pytest will end up with both python3.9 and python3.6
> installed, with neither installation having access to both the pytest
> and tkinter modules.

This is an artifact of of cygport creating python3-xxxx packages
also for packages that never had a real package called like that.
We had  a discussion if it was worth to make the  python3-xxxx pulling the
 python39-xxxx instead of python39-xxxx and it was decided against it.

> I think this inconsistency is liable to cause confusion; it certainly
> confused me until I worked out what was going on.  In my ideal world,
> we'd be in a situation where I could specify `python3-foo` to an install
> script and it'd automatically pick up the latest Python version
> available; I could specify `python3x-foo` if I wanted a specific older
> release.  But at the very least, I'd really like to see these packages
> being handled consistently one way or another.

I expect no one looking for a package will look for obsolete packages.

> Adam

Regards
Marco

-- 
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