Re: [RELEASE] Python 3.8.0 is now available

On 10/14/2019 9:26 PM, Glenn Linderman wrote:
On 10/14/2019 1:23 PM, Łukasz Langa wrote:
On behalf of the Python development community and the Python 3.8 release team, I’m pleased to announce the availability of Python 3.8.0. I look forward to using Python 3.8.0.
However, having installed it, I then needed to install brotli, so I ran pip install brotli, and that worked, but I was very surprised to get told:
You are using pip version 18.1, however version 19.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
The upgrade worked, but why would the newest, just-released version of Python not include the newest version of pip?
Glenn
Hmm. "worked" above only means "completed without reporting errors". Excuse the noise, I accidentally ran Python3.6\Scripts\pip.exe. But now running the one from Python3.8 the error message from pip references pip version 19.2.3 as the "old version", so it is still true that Python 3.8 doesn't seem to include the latest pip. But with the numbers being closer, I suppose that means that pip had a release after the Python 3.8 code freeze. And sadly, I'm too fast at trying to install brotli for 3.8: it apparently doesn't have a wheel yet, so tried to compile from source, and couldn't find a C compiler on my machine.

On 10/15/2019 12:37 AM, Glenn Linderman wrote:
And sadly, I'm too fast at trying to install brotli for 3.8: it apparently doesn't have a wheel yet, so tried to compile from source, and couldn't find a C compiler on my machine.
System? https://www.lfd.uci.edu/~gohlke/pythonlibs/ has wheels for Windows for a few hundred packages, including brotli. Christoph Gohlke starts trying to compile for 3.x at least by the beta stage. -- Terry Jan Reedy

On 15 Oct 2019, at 06:37, Glenn Linderman <v+python@g.nevcal.com> wrote:
I look forward to using Python 3.8.0.
However, having installed it, I then needed to install brotli, so I ran pip install brotli, and that worked, but I was very surprised to get told:
You are using pip version 18.1, however version 19.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
The upgrade worked, but why would the newest, just-released version of Python not include the newest version of pip?
Glenn
The reason why ensurepip is complaining on 3.8 (and it is) is that pip 19.3 was released on the same day as 3.8.0. Like any other part of CPython, it takes a while to stabilize ensurepip and I wouldn't update it for 3.8.0 at any point after RC1 was released unless it fixed a critical bug. Admittedly, it is a bit surprising to say the least to have pip outdated from Day 1. However, keep in mind that pip is a relatively fast-moving external project and it was a matter of time for ensurepip to go out of date. In fact, it's pretty much guaranteed to happen sooner or later. I wouldn't worry about it. - Ł
participants (3)
-
Glenn Linderman
-
Terry Reedy
-
Łukasz Langa