[Xcb-commit] libxcb: configure.ac

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 10 15:20:28 UTC 2023


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4d1a578dd5348909ade2a853d806272326d228d7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Feb 9 14:56:38 2023 -0800

    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 <alan.coopersmith at oracle.com>

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)


More information about the xcb-commit mailing list