1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
From: =?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com>
Date: Tue, 19 Mar 2024 12:49:11 +0100
Subject: Make use of Python's stable C API (abi3.so)
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2050881
Forwarded: https://pad.lv/2050881
---
meson.build | 2 +-
python-cffi/netplan/meson.build | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 68c740f..16f8166 100644
--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@ project('netplan', 'c',
'warning_level=2',
'werror=true',
],
- meson_version: '>= 0.61.0',
+ meson_version: '>= 1.3.0',
)
glib = dependency('glib-2.0')
diff --git a/python-cffi/netplan/meson.build b/python-cffi/netplan/meson.build
index 2f820d1..17b6614 100644
--- a/python-cffi/netplan/meson.build
+++ b/python-cffi/netplan/meson.build
@@ -24,6 +24,7 @@ cffi_pyext = python.extension_module(
link_with: [libnetplan],
subdir: 'netplan',
install: true,
+ limited_api: '3.10',
)
bindings_sources = [
|