fix: disable pip version warning during environment scan

- made some tests fail if pip is not the latest version
This commit is contained in:
Arthur Meyre
2021-10-12 10:41:35 +02:00
parent fd40a8b951
commit 1dbc961dbb

View File

@@ -146,7 +146,9 @@ class CompilationArtifacts:
# wrapt 1.12.1
# zipp 3.5.0
pip_process = subprocess.run(["pip", "list"], stdout=subprocess.PIPE, check=True)
pip_process = subprocess.run(
["pip", "--disable-pip-version-check", "list"], stdout=subprocess.PIPE, check=True
)
dependencies = iter(pip_process.stdout.decode("utf-8").split("\n"))
# skip 'Package ... Version' line