delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/28/09:20:13

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AE8838618B8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1606573160;
bh=uspXnbJIatoaQIC4lIRSpqOJfhNjSkCJzH4O/MQPbBM=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=LhutSrGiBIg2lujmsqAUyGuhTLallcB2d8tdd2hRJE7ZdKR7JXpNpYC1uLcXpdqit
zcgLLjHaQMwCmP4Rol3wUtMZpNSwLBA4WtCzpL4uivPc0tgTsdWHuKU3FiTKusAVZO
XAp4eMUzbvfg/Q/ClxeeoVESo9ubckAm41yUQ+u4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EE3013858C27
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=nyrMlgQzQR0M88YsgHa/ysG4bPpeRtV1hOuUF6QkfsY=;
b=RRcXwTVaebdIOAQwZtE2ZRGaGKwWhtSuz8QjOHIjNFtY1l9anMw+2ulWqph6brIFt/
imPoC3weum/yxqE/R5cobU1lUkErv07V76/0JEqWdqjr8MvrOZiblbU886mCB/y7OYZg
cWXjftq34uy1AYjv6/wUn3KDRugEtRyEXOMYoLNcGYwpGEq6R68XPKdOS5Q/k19BhBHW
51J8GnxKdx7Cqvj8fpYDHVXgT1R/hh8ZvpofxA6aXdPN+DGcSLfLwKdtTO0BXA8Vsn59
TYhtBjEgkN7ZLAVQxBSg29QA3voh665A8Ngvd/DjCPDEK8hrSqiNK9Ydbv9bd51Q+NvN
HSpw==
X-Gm-Message-State: AOAM531kZOA5B9EmoQjNgXuijW4iasTFcPSL64RgqHEVcRlA1uyWx6Pr
R+EYz3AmBYan3IrtktO5TlbFg32t5nziPazMFZ7Q9B/RYhZQwA==
X-Google-Smtp-Source: ABdhPJxWQbcb173qDo3nVldt/sd83ytx/010kaD3v/cy2ReuV52Wu6a+lfQOwervkI+w+8dnwTqAE7zC0D0w5rN/xvY=
X-Received: by 2002:adf:ea45:: with SMTP id j5mr12594498wrn.171.1606573155909;
Sat, 28 Nov 2020 06:19:15 -0800 (PST)
MIME-Version: 1.0
Date: Sat, 28 Nov 2020 15:18:22 +0100
Message-ID: <CAEhDDbCfa06owmc_g7jpfBAmJemtUHi_P2cCHr-g5C+FQb3hyw@mail.gmail.com>
Subject: pip newer version available
To: cygwin list <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-3.3 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 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
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>
From: Csaba Raduly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Csaba Raduly <rcsaba AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi all,

I recently installed python27-pip (20.2.2-1) and did a "pip install
grip", and at the end, pip displayed the following warning (or maybe
it's just an advertisement)

WARNING: You are using pip version 20.1.1; however, version 20.2.4 is available.
You should consider upgrading via the
'c:\users\csaba\appdata\local\programs\python\python38\python.exe -m
pip install --upgrade pip
' command.

Is it a good idea doing this upgrade ("behind the back" of the Cygwin
installer), or should I ignore this message until pip 20.2.4 (or
higher) becomes available as a Cygwin package?

Also, why is there a discrepancy between Cygwin's pip version and
pip's own version?

$ which python
/usr/bin/python
$ python -V
Python 2.7.18
$ which pip
/cygdrive/c/Users/Csaba/AppData/Local/Programs/Python/Python38/Scripts/pip

Whoops!

$ which grip
/cygdrive/c/Users/Csaba/AppData/Local/Programs/Python/Python38/Scripts/grip

$ find /usr -name pip -type f
$

Check https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython27-pip%2Fpython27-pip-20.2.2-1&grep=%5Cbpip%5Cb

$ which pip2
/usr/bin/pip2

Aha!

$ pip2 install grip
... lots of output ...
WARNING: You are using pip version 20.2.2; however, version 20.2.4 is available.
You should consider upgrading via the '/usr/bin/python2.7 -m pip
install --upgrade pip' command.

$ which grip
/usr/bin/grip

Finally, sanity returns. Still, the question remains whether upgrading
pip like this is advisable or not.

Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
--
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