Your message dated Sun, 28 Jul 2024 02:46:36 +0000
with message-id <[email protected]>
and subject line Bug#1064992: fixed in sigil 2.2.1+dfsg-1
has caused the Debian Bug report #1064992,
regarding sigil <= 2.1.0 plugin support broken by Python 3.12
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1064992: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064992
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sigil
Version: 2.0.1+dfsg1-1
Severity: normal
Tags: sid
Hi!
A bit of a heads-up / pre-emptive bug reporting.
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.)
Hope this wasn't redundant! While 3.12 isn't yet the default Python in
sid, I'm not familiar with the release timing. Sigil 2.1.0 is estimated
to release after the end of March, so if sid switches /usr/bin/python3
(Sigil's default auto-detected interpreter path) to python3.12 before
Sigil 2.1.0 is imported, it'll result in broken plugins.
Thanks!
diff --git a/src/Resource_Files/plugin_launchers/python/pluginhunspell.py b/src/Resource_Files/plugin_launchers/python/pluginhunspell.py
index 341b434ed..2ef52a804 100644
--- a/src/Resource_Files/plugin_launchers/python/pluginhunspell.py
+++ b/src/Resource_Files/plugin_launchers/python/pluginhunspell.py
@@ -47,7 +47,7 @@ class HunspellChecker(object):
try:
# First use bundled hunspell location.
self.hunspell = cdll[hunspell_dllpath]
- except OSError:
+ except (OSError, AttributeError):
# No bundled (or incompatible bundled) libhunspell found.
# found. So search for system libhunspell.
self.hunspell = None
diff --git a/src/Resource_Files/plugin_launchers/python/pluginhunspellml.py b/src/Resource_Files/plugin_launchers/python/pluginhunspellml.py
index c7ce8a981..aa5378726 100644
--- a/src/Resource_Files/plugin_launchers/python/pluginhunspellml.py
+++ b/src/Resource_Files/plugin_launchers/python/pluginhunspellml.py
@@ -62,7 +62,7 @@ class HunspellMLChecker(object):
try:
# First use bundled hunspell location.
self.hunspell = cdll[hunspell_dllpath]
- except OSError:
+ except (OSError, AttributeError):
# No bundled (or incompatible bundled) libhunspell found.
# found. So search for system libhunspell.
self.hunspell = None
--- End Message ---
--- Begin Message ---
Source: sigil
Source-Version: 2.2.1+dfsg-1
Done: Mattia Rizzolo <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sigil, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated sigil package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 28 Jul 2024 10:45:08 +0900
Source: sigil
Architecture: source
Version: 2.2.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Mattia Rizzolo <[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Closes: 1064992 1069014
Changes:
sigil (2.2.1+dfsg-1) unstable; urgency=medium
.
[ Alexandre Detiste ]
* python3-six is deprecated and being slowly removed. Closes: #1069014
.
[ Mattia Rizzolo ]
* New upstream version 2.2.1+dfsg.
https://sigil-ebook.com/blog/sigil-2.0.2-released/
https://sigil-ebook.com/blog/sigil-2.1.0-released/
https://sigil-ebook.com/blog/sigil-2.2.0-released/
https://sigil-ebook.com/blog/sigil-2.2.1-released/
+ Support Python 3.12. Closes: #1064992
* Update copyright.
* Build sigil with Qt6.
* Bump Standards-Version to 4.7.0, no changes needed.
Checksums-Sha1:
a022cb102393f39b0ba33006409ff11e4c2cb99b 2107 sigil_2.2.1+dfsg-1.dsc
dff490ef9e4576bbb29132061879e9af065f86eb 5131900 sigil_2.2.1+dfsg.orig.tar.xz
19b245a1f06d4472238a2f957c4f6cb8675edecb 16604 sigil_2.2.1+dfsg-1.debian.tar.xz
e46f9e5437994b6fea7c2439fa5770eba335ce31 14981
sigil_2.2.1+dfsg-1_amd64.buildinfo
Checksums-Sha256:
a8cbff24333e62a2ee0a80e9ce02771862c819753d9c8545e46b8f2274f62977 2107
sigil_2.2.1+dfsg-1.dsc
a61b111bb1883a739d8e9d1652d82ab8bac7effab89ce60e7a9647c4bf556d59 5131900
sigil_2.2.1+dfsg.orig.tar.xz
0854d85f6c0a98149c91ab6aae654cf9cfe59a08f82ea36255e79c39791d8cd9 16604
sigil_2.2.1+dfsg-1.debian.tar.xz
6b8139a1146bd4e22bdb7ba4604c41954c14106d87c44f5de144506568f14db9 14981
sigil_2.2.1+dfsg-1_amd64.buildinfo
Files:
7f43534c71b9dc5354a3690e971cbe37 2107 editors optional sigil_2.2.1+dfsg-1.dsc
52d5021337545759f5d8069fbbedcefe 5131900 editors optional
sigil_2.2.1+dfsg.orig.tar.xz
8892f82cf42f1a42b16ec632fd298093 16604 editors optional
sigil_2.2.1+dfsg-1.debian.tar.xz
233ace373954745ac931a981db51ea71 14981 editors optional
sigil_2.2.1+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmalpEEACgkQCBa54Yx2
K61OEhAAuMoV/wwMDSsDpN+uTOgm9rifPmLhMWo24suWoxyAGU5wm0O5h4lIOB5i
fDTxAFVQm/bitq705lC2WnSfSPH+tI/6roXBZ511LfskYQ1Q3Ie/D0ZAWgP4QXQq
45NDeNPBxOLv/Kq1nIC42szFn6HW7UtSUEPnIEMm1lLA9YmWscuNA2rO9K0sDY1u
gVrSoB66NR7bPZK8wdexPmsPuK8i/eM8DZyEVRgWWtuzsoGenzPC5cIY1YZqOJlx
JgvdGLZabvxzqE/HGxab9bePk/BOa7ada/brh4N6ekjFDzCn90KOrfsCO8kUOXrh
6Ech9OQ5pI9UHiROuLBsuVIyhA4WJj8w2aVnZK+0lTuMp2shuwM1iUviSOsvo3R5
ZQlHAU37GuM/kChbxXOQDv/o2aYGKDNiXlDg5f7Wxn9qSS+P1Y+PqCjwpbLmXDIw
zPai7O7gfMQsSazz3g9MHDXkprr0aE2y9AIJPYNwq5LeKKA2M9RiPsK5T4pFFqW9
emVkFvc9Awt8reHXb8ntiJ5tlhwqkWAZYRH+6MqF0xe+CUaQNqa1+N+XDo5Y1FVY
P4Ky6YEr1V3UP9jWTmXnOHFZfdnriGBcc5pnqoTnPHiG4FuLPmPWGmTLVE/6UZE7
LCc5T9TCqjNxmVE3RE45YL6jX4ikhAEP5TiPdoWflk9/QMMpBs0=
=ziMG
-----END PGP SIGNATURE-----
pgpp3b139pEqK.pgp
Description: PGP signature
--- End Message ---