[From nobody Thu Oct 22 06:51:05 2026
Received: (at submit) by bugs.debian.org; 1 Oct 2026 12:36:26 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,FOURLA,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 95; hammy, 150; neutral, 122; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;marga@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:39060)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xCG1R-000btn-2u
 for submit@bugs.debian.org; Thu, 01 Oct 2026 12:36:26 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :Message-ID:Subject:To:From:Date:MIME-Version:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=dECUDnSbT0LnF1IbnGAMxE/IDAhTqflEfufUYt72wjA=; b=a8Q4Rfo7ATbfP8g1yMRvW3rmDq
 IwnmtYyPXF0X/yCQIKMsTfIFJ0Baj4frFkDctrf8iXIxhSx/90Wr4UM6grhlibrgACNATv2VUg4M5
 oavdSSGMrTy+X+UNB68Kh3YUwnID94NaHObUD+s7hC//mxuBrDDIr2CFAzlyxwn/go+NnvaIa6c58
 QRXlvROruZn0Cn+1A/3Kfcfc7R4wwbmVUvhOcWfoBNW2COBkWtMrSzoAi9XLqfG8jTEuEZNgl7tAh
 Oqjj/mefM6N/PrRzzU8YMyZZDMb537oeNJd2QZyNyrBmsDDe1HAZ2OmZJVAEhnlj9IzX/VOK8fekM
 26fd6IfQ==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xCG1O-0005vJ-32
 for submit@bugs.debian.org; Thu, 01 Oct 2026 12:36:24 +0000
Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral
Received: from nefele.gnuservers.com.ar (localhost [127.0.0.1])
 by nefele.gnuservers.com.ar (Postfix) with ESMTPSA id 01E561B38A40
 for &lt;submit@bugs.debian.org&gt;; Thu, 01 Oct 2026 12:36:19 +0000 (UTC)
MIME-Version: 1.0
Date: Thu, 01 Oct 2026 14:36:19 +0200
From: Margarita Manterola &lt;marga@debian.org&gt;
To: submit@bugs.debian.org
Subject: python-pyqtgraph: FTBFS against python 3.15rc2 (test_reload: Function
 did not reload)
Message-ID: &lt;25e94e8011ae9ebc485455c200f52613@debian.org&gt;
X-Sender: marga@debian.org
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: marga
Delivered-To: submit@bugs.debian.org

Package: src:python-pyqtgraph
Version: 0.14.0-7
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 
version we found that python-pyqtgraph fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4933030/

 From the log, the error seems to be:

=================================== FAILURES 
===================================
_________________________________ test_reload 
__________________________________
[gw3] linux -- Python 3.15.0 /usr/bin/python3.15

tmp_module = '/tmp/pytest-of-sbuild/pytest-0/popen-gw3/test_reload0'

     @pytest.mark.skipif(
         (
             pg.Qt.QT_LIB.startswith(&quot;PySide&quot;) and
             parse(pg.Qt.QtVersion) &lt; Version('6.6.0') and # not sure 
when exactly fixed
             platform != 'Darwin' # seems to work on macOS
         ),
         reason=&quot;Unknown Issue&quot;
     )
     # 
https://www.riverbankcomputing.com/pipermail/pyqt/2024-August/045989.html
     @pytest.mark.qt_log_ignore(&quot;Registering dynamic slot&quot;)
     @pytest.mark.usefixtures(&quot;tmp_module&quot;)
     def test_reload(tmp_module):
         # write a module
         mod = os.path.join(tmp_module, 'reload_test_mod.py')
         print(&quot;\nRELOAD FILE:&quot;, mod)
         with open(mod, &quot;w&quot;) as file_:
             file_.write(code.format(path_repr=pgpath_repr, msg=&quot;C.fn() 
Version1&quot;))

         # import the new module
         import reload_test_mod
         print(&quot;RELOAD MOD:&quot;, reload_test_mod.__file__)

         c = reload_test_mod.C()
         c.sig.connect(c.fn)
         v1 = (reload_test_mod.C, reload_test_mod.C.sig, 
reload_test_mod.C.fn, c.sig, c.fn, c.fn.__func__)

         # write again and reload
         with open(mod, &quot;w&quot;) as file_:
             file_.write(code.format(path_repr=pgpath_repr, msg=&quot;C.fn() 
Version 2&quot;))
         time.sleep(1.1)
         #remove_cache(mod)
         _ = pg.reload.reloadAll(tmp_module, debug=True)
         v2 = (reload_test_mod.C, reload_test_mod.C.sig, 
reload_test_mod.C.fn, c.sig, c.fn, c.fn.__func__)

         oldcfn = pg.reload.getPreviousVersion(c.fn)
         if oldcfn is None:
             # Function did not reload; are we using pytest's assertion 
rewriting?
&gt;           raise Exception(&quot;Function did not reload. (This can happen 
&gt; when using py.test&quot;
                 &quot; with assertion rewriting; use --assert=plain for this 
test.)&quot;)
E           Exception: Function did not reload. (This can happen when 
using py.test with assertion rewriting; use --assert=plain for this 
test.)

tests/test_reload.py:73: Exception

Please note that while we ran into this error during the rebuild against 
Python 3.15, that doesn't mean that the root cause for the failure is 
necessarily the new Python version.

Setting the severity to important for now. Once Python 3.15 is released 
and later added to python3-defaults, this bug will become release 
critical.

-- 
Regards,
Marga
]