sigil < 2.1.0 plugin support broken by Python 3.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sigil (Debian) |
New
|
Unknown
|
|||
sigil (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
(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:/
Fix in this upstream pull request: https:/
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:/
Thank you!
summary: |
- sigil <= 2.1.0 plugin support broken by Python 3.12 + sigil < 2.1.0 plugin support broken by Python 3.12 |
Changed in sigil (Debian): | |
status: | Unknown → New |
The attachment "python3.12.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]