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