From 4d1a578dd5348909ade2a853d806272326d228d7 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 9 Feb 2023 14:56:38 -0800 Subject: [PATCH] Raise minimum required version of Python from 2.6 to 3.0 Trying to build with Python 2.7.14 fails with: File "./c_client.py", line 2270 key = (*self.name[:-1], field.enum) ^ SyntaxError: invalid syntax Fixes: 33f3dbe ("Fix handling of documented enum parameters") Signed-off-by: Alan Coopersmith --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index be9b523..206ab69 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AC_CONFIG_HEADERS([src/config.h]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-xz]) -AM_PATH_PYTHON([2.6]) +AM_PATH_PYTHON([3.0]) # Set common system defines for POSIX extensions, such as _GNU_SOURCE # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)