X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D12E33951C03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1614717961; bh=uHh3ZoFxeGaq/PafZPppt3v6lCVBKEskhl6pc5yOTXg=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=jHKcvlOha+hdQ9OpQIiCvP3xlRnn+6ZTW3aWkTRFmbEOmHsSjhXzizFFDxUck7SI2 Ni+V6Y/Ugh7zEZ3AjzgF8WdyImaOXFTQtplPi1860Yrz42OUrFzws75fOiVOxoo8ZK cTs032un8rslir8tcxWBqNZsH/oN3U82okzwuuKw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 456573861026 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JT/HWOgYM8ehmEXtRaNjNw6HnvOv35+ur4QDQr1JkAI=; b=eZk1QGo7owzl9+SBUcCkwsnoYZHvlJ3Ab66H46wFEKctDNeq5b4AdVbE3dmeZ1QfSc BtF876zrKxrsCZM1pX1MgSjclqIlPxYVwNraGRnZJFRRcetoEb75RiPT+kyZwQdswMYT GGEWVinO/U4W6aMSiMqOUpafabY3rLwkxy9JOBwjDx8oiXHo+6uRWqQyTaBA1/Y85SXI X7+tcvuq1SLuTmDlXe8KLS8vjeaWiV02nOwGH+vlCe32wUgEviShvR70OZjmi2G4vuiS sg2TrP+Ppx39O0havC8INjoe2N7EO1g69lQFThqrc8zx2mSTi39NcM9hl9UFk/YOeH13 HFdw== X-Gm-Message-State: AOAM531H6UkyNATpUXGYBp+UqV8BTk4pITIooihuOgo+PwxO49vzkB3D xXTwRl25oWRu7btV0I2rPSLiGBokdot5MA== X-Google-Smtp-Source: ABdhPJxI7utRcrs4pkfbnaGn6jxEO/uycm64nB5bpmTgQEjxM4s2np6UqcR2oFiQD+a4LlWqbTnu2A== X-Received: by 2002:a05:600c:35c1:: with SMTP id r1mr4538543wmq.60.1614717957405; Tue, 02 Mar 2021 12:45:57 -0800 (PST) Subject: Re: Uninstall python 2.7 fails - alternative dependencies To: cygwin AT cygwin DOT com References: Message-ID: Date: Tue, 2 Mar 2021 21:45:55 +0100 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: Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 02.03.2021 18:32, Doug Henderson via Cygwin wrote: > I attempted to remove all packages related to Python 2.7 from my > cygwin installation. > > I am unable to remove four packages. > > python2 > python27 > python27-pip > python27-setuptools Question: you can not remove because they are cross dependent or because they are pulled by other packages ? > There are over 500 packages that require python2 and over 700 packages > which depend2 on python2. much less $ cygcheck-dep -S -q -n python2| wc -w 124 $ cygcheck-dep -S -q -n python27| wc -w 145 and most are python2-* or python27-* packages > There are also around 90 packages that refer to both python2 and > python3 packages. I have many of these packages installed. I suspect > that at least some of these actually require either python2 or > python3, but do not require both. are you sure ? May be you are counting different releases ? Usually they should pull only one version of python. > To assist in supporting this kind of requirement, is there a way to > create a package whose requirements are resolved by either of several > other packages? Not that I am aware > For instance, could we have a package e.g. python-alternatives, that > when required is satisfied by either python2 or python3. This > mechanism might be useful for dealing with any set of packages that > work with the alternatives system. > > Thanks for your consideration, > Doug > -- 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