From 82dc1b8e59891a7ca0f1a5e67a3db952b918561c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 11 Sep 2019 16:47:42 -0400 Subject: Upgrade pylint (#2917) depot_tools is removing pylint from its distribution so we must maintain our own copy. --- tools/third_party.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tools/third_party.py') diff --git a/tools/third_party.py b/tools/third_party.py index 2333c3147..7ee8f22e4 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -3,11 +3,11 @@ # This script contains helper functions to work with the third_party subrepo. import os +from os import path import site import sys -from os import path -from util import add_env_path, find_exts, make_env, rmtree, root_path, run from tempfile import mkdtemp +from util import add_env_path, find_exts, make_env, rmtree, root_path, run # Helper function that returns the full path to a subpath of the repo root. @@ -129,6 +129,13 @@ def run_pip(): ], cwd=third_party_path, merge_env=pip_env) + + run([ + sys.executable, "-m", "pip", "install", "--upgrade", "--target", + python_packages_path, "pylint==1.5.6" + ], + cwd=third_party_path, + merge_env=pip_env) # Remove the temporary pip installation. rmtree(temp_python_home) -- cgit v1.2.3