Silence the pip version warnings

This commit is contained in:
Joe Rickerby
2021-01-24 15:08:46 +00:00
parent 00eed5aac5
commit 4dddd9e648
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -143,6 +143,8 @@ def setup_python(python_configuration: PythonConfiguration, dependency_constrain
str(installation_path / 'Scripts'),
env['PATH']
])
env['PIP_DISABLE_PIP_VERSION_CHECK'] = '1'
# update env with results from CIBW_ENVIRONMENT
env = environment.as_dictionary(prev_environment=env)