From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id EB9A13858D3C for ; Wed, 16 Feb 2022 11:46:09 +0000 (GMT) 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 Received: by mail-ej1-x635.google.com with SMTP id d10so3958489eje.10 for ; Wed, 16 Feb 2022 03:46:09 -0800 (PST) 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.ve7myugtwi7bjggb@lucy.dinwoodie.org> In-Reply-To: <20220216111059.ve7myugtwi7bjggb@lucy.dinwoodie.org> From: marco atzeri Date: Wed, 16 Feb 2022 12:45:58 +0100 Message-ID: Subject: Re: Inconsistent handling of python3-module vs python3x-module packages To: Adam Dinwoodie Cc: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" 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@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: Wed, 16 Feb 2022 11:46:11 -0000 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