TL;DR

We are officially deprecating pylint 1.5 in depot_tools. pylint-2.7 will be
the new default pylint version. You can opt-in to use pylint 1.5 until its
full removal on 2022-07-11.

Hi all,

The last release of pylint 1.5 was in 2016 and it's not compatible with
python3. In the past several quarters, we made significant progress to migrate
everything to python3
<https://chromium.googlesource.com/chromium/src/+/f5e2f920afb299d8d59f44fde26cbe2c179b8d1f/docs/python3_migration.md>.
As part of those efforts, we also asked users to move from pylint 1.5 to
pylint 2.6 (bugs
<https://bugs.chromium.org/p/chromium/issues/list?q=label%3AGetPylint&can=1&sort=status>
).

Today, we are officially announcing that pylint 1.5 is deprecated and
should no longer be used. You can expect to see warnings once your
depot_tools is updated (you can manually update by calling
update_depot_tools script). You can opt-in to use version 2.7 now by
passing version='2.7' when calling input_api.canned_checks.GetPylint.

On 2022-06-13, we will make pylint-2.7 the default version. This will
affect all GetPylint that don't specify the pylint version. If your
presubmit checks break because of this change, you can change presubmit to
use pylint-1.5 by passing version='1.5' when calling
input_api.canned_checks.GetPylint. We will be removing pylint-1.5 on
2022-07-11. Therefore, you will need to update your codebase to be
pylint-2.7 compatible before pylint-1.5 is completely removed, otherwise
your presubmit check will start to fail. You can remove the pylint
presubmit check as a last resort.

If you encounter any bugs, please file them under Infra>SDK
<https://bugs.chromium.org/p/chromium/issues/entry?components=Infra%3ESDK>.

Thanks,

Gavin and Josip, on behalf of Chops Source

-- 
You received this message because you are subscribed to the Google Groups 
"infra-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to infra-announce+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/infra-announce/CAJiyOiinShsR4_0%2B01M0jNqoO1m%3DuiMf9Jb7tRDuutjm0Zyssg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJiyOiinShsR4_0%2B01M0jNqoO1m%3DuiMf9Jb7tRDuutjm0Zyssg%40mail.gmail.com.

Reply via email to