Public bug reported:

(Ubuntu 24.04 daily)

Due to a rather poorly documented API change in Python's ctypes module
in 3.12.0a4 and newer, Sigil versions less than the yet to be released
2.1.0 exhibit broken plugin support when running using Python 3.12 as
their interpreter.

The issue was identified and is currently fixed in upstream master, in a
manner backwards compatible with all Python versions.

Details on the cause of the problem in this upstream Github issue:
https://github.com/Sigil-Ebook/Sigil/issues/741

Fix in this upstream pull request: https://github.com/Sigil-
Ebook/Sigil/pull/742

with the two fixing commits also attached as a patch to this bug report
(I'm the PR author, if it matters in any way for accountability etc
reasons.)

The patch will cleanly apply to 2.0.1 as well, the affected .py files
haven't changed since.

The next Sigil release to carry the fix will be 2.1.0, estimated to ship
only after the end of March, and due to the 3.12 transition this is
affecting noble now. I've also reported this upstream in Debian at
https://bugs.debian.org/1064992 , however since sid hasn't yet switched
over to Python 3.12 I expect it'll take longer to bubble up, while it'll
definitely be an issue in noble.

Thank you!

** Affects: sigil (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

** Patch added: "python3.12.patch"
   
https://bugs.launchpad.net/bugs/2055345/+attachment/5750422/+files/python3.12.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055345

Title:
  sigil <= 2.1.0 plugin support broken by Python 3.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sigil/+bug/2055345/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to