Please make use of Python's stable C API

Bug #2050881 reported by Lukas Märdian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
In Progress
Wishlist
Unassigned
netplan.io (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Building a _netplan_cffi.abi3.so allow usage in multiple compatible Python version, so it avoids hiccups during python3 transitions.

This feature is available as of meson 1.3.

https://docs.python.org/3/c-api/stable.html
https://github.com/mesonbuild/meson/pull/11745

Tags: patch
Revision history for this message
Lukas Märdian (slyon) wrote :
Revision history for this message
Lukas Märdian (slyon) wrote :

We should apply this patch to upstream Netplan, once meson 1.3 is widely available, so that we can make use of it in our upstream CI, too.

Changed in netplan.io (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Changed in netplan:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netplan.io - 0.107.1-3

---------------
netplan.io (0.107.1-3) unstable; urgency=medium

  * d/t/prep-testbed.sh: Improve autopkgtest reliability
  * d/p/python-limited-stable-api.patch: Build Python module against stable API
    (LP: #2050881)
  * d/patches: Cleanup DEP-3 headers

 -- Lukas Märdian <email address hidden> Tue, 23 Jan 2024 11:13:19 +0100

Changed in netplan.io (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Lukas Märdian (slyon) wrote :

This should go hand-in-hand with an upgrade of the meson build-dependency to 1.3.0 and "meson_version: '>= 1.3.0' in meson.build

Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in netplan:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.