[warning: crosspost]
If you are not using Windows; lucky you, you can skip this email.
As announced on
chromium-dev and
blink-dev, I'm updating the python version embedded in depot_tools for Windows to 2.7.5. After successful trial on chromium.win where I actively deleted depot_tools\python_bin (2.6), I'll go forward with the transition. I'll soon commit the
CL that will switch the default to auto-upgrade
unless DEPOT_TOOLS_PYTHON_275=0.
There is still some level of uncertainty where I may have revert if it breaks build slaves and only reapply after fixing. Let's consider the upgrade is a fatality, it's just a matter of hammering hard enough.
FAQ
Won't it kill buildbot slaves or other python processes currently running?
No, because it's adding it aside in depot_tools\python275_bin and leaving depot_tools\python_bin intact. It was necessary to not kill the buildbot slaves mid-build anyway. It's up to you to delete depot_tools\python_bin when you are fine with the upgrade.
Yo dawg, Y U SO SLOW?
First, it was somewhat tricky. For example, there were a few assumptions about depot_tools\python_bin sprinkled through the source code. Thanks to Michael Moss for catching one of the nastiest one. I'm also naturally slow. I also happen to work on
other things that are actually fun to work on.
Can I assertIs already?
Not yet. I'll do a follow up when I think it's safe.
I have trouble downloading
What's in the zip?
Look at python275_bin\README.chromium to get the steps used to reproduce the exact same zip. I'm just trying to save you the trouble.
I don't want your python package
Read the
batch file, you'll see the check is simple: it looks if both "python275_bin" and "python.bat" exist. So make sure they exist.
Thanks,
M-A