mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1717645: Fix up_to_date for Python 3.6 r=ahal
Python 3.6 doesn't support the `capture_output` option, so use `stdout=subprocess.PIPE` instead. Differential Revision: https://phabricator.services.mozilla.com/D120027
This commit is contained in:
parent
d47142f492
commit
656826ef2f
@ -209,7 +209,7 @@ class VirtualenvManager(VirtualenvHelper):
|
||||
|
||||
if env_requirements.pypi_requirements:
|
||||
pip_json = self._run_pip(
|
||||
["list", "--format", "json"], capture_output=True
|
||||
["list", "--format", "json"], stdout=subprocess.PIPE
|
||||
).stdout
|
||||
installed_packages = json.loads(pip_json)
|
||||
installed_packages = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user