update-python-libraries: quiet nix stderr output
We query lots of derivation attributes, most of which do not exist, so logging stderr causes a lot of noise for no gain.
This commit is contained in:
parent
50311a8d07
commit
ac82700414
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ def _get_attr_value(attr_path: str) -> Optional[Any]:
|
|||
f"{NIXPKGS_ROOT}/default.nix",
|
||||
"--json",
|
||||
f"{attr_path}",
|
||||
]
|
||||
],
|
||||
stderr=subprocess.DEVNULL,
|
||||
)
|
||||
return json.loads(response.decode())
|
||||
except (subprocess.CalledProcessError, ValueError):
|
||||
|
|
Loading…
Reference in a new issue