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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user