From 5a81d2440fb133c84a066b0aba26ea835ccc05f6 Mon Sep 17 00:00:00 2001 From: Zorvalt Date: Mon, 8 Jul 2024 21:46:23 +0200 Subject: [PATCH] Fix build fetching git_timestamp if git log.showsignature=true --- methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods.py b/methods.py index 99c47ca0770..b6cae393657 100644 --- a/methods.py +++ b/methods.py @@ -268,7 +268,7 @@ def get_version_info(module_version_string="", silent=False): if os.path.exists(".git"): try: version_info["git_timestamp"] = subprocess.check_output( - ["git", "log", "-1", "--pretty=format:%ct", githash] + ["git", "log", "-1", "--pretty=format:%ct", "--no-show-signature", githash] ).decode("utf-8") except (subprocess.CalledProcessError, OSError): # `git` not found in PATH.