This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new b0611a123 ci: fix almalinux-8 build (#4061)
b0611a123 is described below

commit b0611a123166b1e3778e26258e75c8a46b0e903b
Author: David Li <[email protected]>
AuthorDate: Tue Mar 10 14:32:57 2026 +0900

    ci: fix almalinux-8 build (#4061)
---
 glib/tool/generate-version-header.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/glib/tool/generate-version-header.py 
b/glib/tool/generate-version-header.py
index d4f8036c6..e7e25a7b3 100755
--- a/glib/tool/generate-version-header.py
+++ b/glib/tool/generate-version-header.py
@@ -42,11 +42,14 @@ def main():
 
     args = parser.parse_args()
 
-    with (
-        open(args.input, "r", encoding="utf-8") as input_file,
-        open(args.output, "w", encoding="utf-8") as output_file,
-    ):
+    # don't let Ruff change this to the nicer syntax with parens (we still
+    # build with Python 3.6 on almalinux-8)
+    # fmt: off
+    with open(args.input, "r", encoding="utf-8") as input_file, open(
+        args.output, "w", encoding="utf-8"
+    ) as output_file:
         write_header(input_file, output_file, args.library, args.version)
+    # fmt: on
 
 
 def write_header(

Reply via email to