Your message dated Wed, 16 Sep 2026 12:06:57 +0000
with message-id <[email protected]>
and subject line Bug#1147456: fixed in storm 1.3-1
has caused the Debian Bug report #1147456,
regarding storm: FTBFS against python 3.15rc2
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.)
--
1147456: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147456
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:storm
Version: 1.2-1
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that storm fails to build from source [1].
The error is: warning: ‘PyWeakref_GET_OBJECT’ is deprecated
[-Wdeprecated-declarations]
And the fix is to migrate away from PyWeakref_GET_OBJECT.
I've applied this fix in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587861/
[2]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Fix build with Python 3.15
PyWeakref_GET_OBJECT was removed in Python 3.15 (it was deprecated since
3.13). Use PyWeakref_GetRef, available since Python 3.13, instead.
Author: Maximiliano Curia <[email protected]>
Forwarded: no
Last-Update: 2026-09-10
Index: storm/storm/cextensions.c
===================================================================
--- storm.orig/storm/cextensions.c
+++ storm/storm/cextensions.c
@@ -23,6 +23,25 @@
#include <Python.h>
#include <structmember.h>
+/* PyWeakref_GET_OBJECT was removed in Python 3.15; PyWeakref_GetRef is
+ * available since Python 3.13. */
+#if PY_VERSION_HEX >= 0x030D0000
+#define Storm_WeakrefGetRef(ref, pobj) PyWeakref_GetRef((ref), (pobj))
+#else
+static int
+Storm_WeakrefGetRef(PyObject *ref, PyObject **pobj)
+{
+ PyObject *obj = PyWeakref_GET_OBJECT(ref);
+ if (obj == Py_None) {
+ *pobj = NULL;
+ return 0;
+ }
+ Py_INCREF(obj);
+ *pobj = obj;
+ return 1;
+}
+#endif
+
#define CATCH(error_value, expression) \
do { \
@@ -399,12 +418,15 @@ EventSystem_emit(EventSystemObject *self
args = PyTuple_GetSlice(all_args, 1, PyTuple_GET_SIZE(all_args));
if (args) {
/* owner = self._owner_ref() */
- PyObject *owner = PyWeakref_GET_OBJECT(self->_owner_ref);
+ PyObject *owner;
+ if (Storm_WeakrefGetRef(self->_owner_ref, &owner) < 0) {
+ Py_DECREF(args);
+ return NULL;
+ }
/* if owner is not None: */
- if (owner != Py_None) {
+ if (owner != NULL) {
/* callbacks = self._hooks.get(name) */
PyObject *callbacks = PyDict_GetItem(self->_hooks, name);
- Py_INCREF(owner);
/* if callbacks: */
if (callbacks && PySet_GET_SIZE(callbacks) != 0) {
/* for callback, data in tuple(callbacks): */
@@ -1904,8 +1926,11 @@ error:
static PyObject *
ObjectInfo_get_obj(ObjectInfoObject *self, PyObject *args)
{
- PyObject *obj = PyWeakref_GET_OBJECT(self->_obj_ref);
- Py_INCREF(obj);
+ PyObject *obj;
+ if (Storm_WeakrefGetRef(self->_obj_ref, &obj) < 0)
+ return NULL;
+ if (obj == NULL)
+ Py_RETURN_NONE;
return obj;
}
--- End Message ---
--- Begin Message ---
Source: storm
Source-Version: 1.3-1
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
storm, 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.
Colin Watson <[email protected]> (supplier of updated storm 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: Wed, 16 Sep 2026 12:31:55 +0100
Source: storm
Architecture: source
Version: 1.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1147456
Changes:
storm (1.3-1) unstable; urgency=medium
.
* New upstream release:
- Add support for Python 3.15 (closes: #1147456).
Checksums-Sha1:
e1cc429d8be9652771bdea9360dfdad8ccd2b7a0 2893 storm_1.3-1.dsc
25e766275f4106068f4fa7c721a11c60e83216b8 287125 storm_1.3.orig.tar.gz
13315dfd2ec624cd42e64b5af1acdd75c5778e28 833 storm_1.3.orig.tar.gz.asc
216f85da6a7ab2f0b513c0abba0428f5026c281e 15024 storm_1.3-1.debian.tar.xz
4ee4c24fcb8dbdaf629b72b52c07b9c3fd93d5f7 461644 storm_1.3-1.git.tar.xz
15a2910fdfcd42a97e63234a23f04626ce7ce13a 17652 storm_1.3-1_source.buildinfo
Checksums-Sha256:
ba76e88a5a16da4a1faa3d499397286b992f9802adf4d0ae9e4fc3212b7a37f7 2893
storm_1.3-1.dsc
b19370f83f21ba5bcd9d2402830ee55f76f0c827960be5a32049113331557171 287125
storm_1.3.orig.tar.gz
d93f5cd8a3dd281093a9ad56ed7c52ac06adde87e7dc44f8b960b0cbc286e724 833
storm_1.3.orig.tar.gz.asc
d39159075faf464f98f0505828e07400b86f5e2cfd7de14e0c419a81c0d96b1d 15024
storm_1.3-1.debian.tar.xz
13b55f15f599116b508d1b1788130adc4fa34dc2ce12be762fb2a164fffcbd03 461644
storm_1.3-1.git.tar.xz
6df2756e2f471eb057f59d0be105a61e5bd24a289721dae5a15d5f6d5778587b 17652
storm_1.3-1_source.buildinfo
Files:
fabc0e0a7db4c905779da740f7865c4d 2893 python optional storm_1.3-1.dsc
1608297bb611150760f15d59587e3e1a 287125 python optional storm_1.3.orig.tar.gz
a620ed9fdaf245f13cdb6037662d933c 833 python optional storm_1.3.orig.tar.gz.asc
ccdb7527d8715a26c1b8ed89fc8f405a 15024 python optional
storm_1.3-1.debian.tar.xz
210d4996d4dc94a907b8d7740d3e091a 461644 python None storm_1.3-1.git.tar.xz
9f9406d5685d1091f51c434965018ef6 17652 python optional
storm_1.3-1_source.buildinfo
Git-Tag-Info: tag=7e927e9614b131ed18d86360c7309ec98b96d0ce
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqqf0UACgkQYG0ITkaD
wHmsZRAAmnxwFLy9WvAnz5Kx5Jirm1AI9mVe6ZbJLdpp6ulIXFSOVN376zGi1qjv
ligKMlYP6XwqQyGygHjXpsQLWS8OJmUfwCyxfOlOtJGituwXQn7TTI/dTAruTgWq
rzDBRPxbQAnZD/SVSFuHBVZNHCbmsERXWbpbxGyWNZBisXwI2MPHUCOdkkPZVt2K
YjzMHtpeTEcKQ0OvyFTEd/D/svPJi1J/dt4Y/wpGKE16BHa1XnPZ3NZYc9THNrkq
1PyAhVid7ttpj3Z35IJdfWmVBhciWMzll/hY3oiaI8joxvj6hGMhxvRi8GgABVbx
RuGR4e7G9Gj3hoivsCYdNjn7iJzkpTNowTr9H5Vjr70q8fPgM6R6/AyfKaHjYdja
v96R0MyqWm+pwMrbipJV9WjAEWOKJOZatBmIZkEyjYTHcKWE48J/QNPKSwBdSzIM
Gwoj3Pp2jJdbZQfxvX+7ZL5/f2KnQJlSniTqML5Ul7YMNgVXiAlm+Xn0wmZESfyP
o8HUhLGD4MmotgVe2yrYPuF4QPL0TIrXFOLzXVlyugqFAXliHtb5aD9RqjTtdJwO
eANyuwzngO9aGSvRB4wCooHiS+MqXFtjwsOkgB1tnlgkyjhoe7qyB2C7QzxK2N6L
UTopCHCZEoWMjIkET6E/C/x+f8eJcpkx+Lrx6m+1IksaB8UwFBY=
=vrD/
-----END PGP SIGNATURE-----
pgpynDOUTMPAS.pgp
Description: PGP signature
--- End Message ---