wpt.fyi icon indicating copy to clipboard operation
wpt.fyi copied to clipboard

gsutil will drop support for Python 2 starting with version 5.x.

Open KyleJu opened this issue 4 years ago • 1 comments

Received an email as follow:

Install Python 3 by October 1, 2021; gsutil will drop support for Python 2 starting with version 5.x. Hello Google Cloud Storage Customer,

We are writing to let you know that the release of gsutil version 5.x will take place around October 1, 2021. gsutil version 5.x and all subsequent versions will drop support for Python 2 as it has been deprecated by the Python Software Foundation.

Our records indicate that you have some projects that use gsutil versions relying on Python 2.x for your Cloud Storage workloads. We advise you to install Python 3.x on all environments where gsutil is installed before October 1, 2021.

KyleJu avatar Jul 21 '21 17:07 KyleJu

Taken from the email thread:

I am unaware if we are using gsutil as a stand-alone product (didn't see anything in Cron job), but we do use gsutil as a part of Cloud SDK in result-processor. This should be fine because result-processor runs on python 3.7. In the worst case, older versions of gsutil will continue to support Python 2 and I will look into it again when the depreciation happens on October 1

KyleJu avatar Aug 11 '21 02:08 KyleJu