From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id EE3013858C27 for ; Sat, 28 Nov 2020 14:19:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EE3013858C27 Received: by mail-wr1-x42d.google.com with SMTP id 64so8584467wra.11 for ; Sat, 28 Nov 2020 06:19:16 -0800 (PST) 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 From: Csaba Raduly Date: Sat, 28 Nov 2020 15:18:22 +0100 Message-ID: Subject: pip newer version available To: cygwin list Content-Type: text/plain; charset="UTF-8" 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@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: Sat, 28 Nov 2020 14:19:18 -0000 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)