mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: disable pip version warning during environment scan
- made some tests fail if pip is not the latest version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user