summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--src/python/seccomp.pyx2
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 05d34a5..1dc8e5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,8 +109,8 @@ AC_ARG_ENABLE([python],
[build the python bindings, requires cython])])
AS_IF([test "$enable_python" = yes], [
# cython version check
- AS_IF([test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 16], [
- AC_MSG_ERROR([python bindings require cython 0.16 or higher])
+ AS_IF([test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 29], [
+ AC_MSG_ERROR([python bindings require cython 0.29 or higher])
])
AM_PATH_PYTHON
])
diff --git a/src/python/seccomp.pyx b/src/python/seccomp.pyx
index 771b9c3..121a0d6 100644
--- a/src/python/seccomp.pyx
+++ b/src/python/seccomp.pyx
@@ -19,6 +19,8 @@
# along with this library; if not, see <http://www.gnu.org/licenses>.
#
+# cython: language_level = 3str
+
""" Python bindings for the libseccomp library
The libseccomp library provides and easy to use, platform independent,