mattly / bork

the Bash-Operated Reconciling Kludge
Other
218 stars 29 forks source link

Fix pip deprecation warning Add environment variable to force legacy listing #91

Closed frdmn closed 6 years ago

frdmn commented 7 years ago

pip in version 9.0.0 introduced a new listing type for pip list (see https://github.com/pypa/pip/pull/3654 and https://pip.pypa.io/en/stable/news/) which generates a default deprecation warning if no preference is set:

$ bork do ok pip
DEPRECATION: The default format will switch to columns in the future. You can use --format=legacy (or define a list_format in your pip.conf) to disable this warning.
ok: pip

This PR fixes said issue by passing the PIP_FORMAT=legacy variable to bake