[From nobody Mon Sep 14 12:51:05 2026
Received: (at maintonly) by bugs.debian.org; 8 Sep 2025 19:44:40 +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=-105.0 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FROMDEVELOPER,
 MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,WEIRD_PORT autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 148; hammy, 150; neutral, 257; 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;roehling@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:38178)
 by buxtehude.debian.org with utf8esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;roehling@debian.org&gt;) id 1uvhn6-00ASoJ-07
 for maintonly@bugs.debian.org; Mon, 08 Sep 2025 19:44:40 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:To:From:Subject:MIME-Version:
 Content-Transfer-Encoding:Content-Type:Message-ID:Date:Reply-To:Cc:Content-ID
 :Content-Description:In-Reply-To:References;
 bh=Hh8GqLWcsM6vTzNKsCjwNEyB16W6rcDdu4iQK3ryAYo=; b=hiYzuJBRd+dU1TE2EmmUyEfwQL
 zndgcI7DGR3rgdUNatsIza2HyVchB1V5wtBMC6hQ3EvjDPmqjKw8i/NL+9q6d4+f4lSZvTwxIZJ18
 gYwB6cpfgwe0fCz40Wir4cfs5rxwjiDTRFL7JibnL0QHLCTrOzrXR7rCNUITeYB5sk01r+BaTMEqm
 p6c8tEmrRsuvJVwowK2GehJ6KvKvPN5bembFqOjARITV9297BT1vET7FJVt8+m1YdGEPq/SPjxt8A
 /ZcgTYWVdHTcRlDG/h9Y9wepBZW0t5hbSKguKy6UMQPfkYstHKCU7p5vziyj/g8QkaLB3NEdlCMV0
 ujelIcGA==;
Received: from authenticated user by stravinsky.debian.org with utf8esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;roehling@debian.org&gt;)
 id 1uvhn4-006iNz-GD
 for maintonly@bugs.debian.org; Mon, 08 Sep 2025 19:44:38 +0000
Date: Mon, 08 Sep 2025 21:44:38 +0200
Message-ID: &lt;9f070d7cbabfb9552df8df91bd075536@debian.org&gt;
Received: from roehling3.cms.fkie.fraunhofer.de (localhost.localdomain
 [127.0.0.1])
 by localhost.localdomain [127.0.0.1] (msmtpd) with ESMTP;
 Mon, 08 Sep 2025 21:44:37 +0200
Content-Type: text/plain; charset=&quot;utf-8&quot;
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: python-pymeasure: FTBFS with NumPy 2.3
From: roehling@debian.org
To: maintonly@bugs.debian.org
X-Debian-User: roehling
Delivered-To: maintonly@bugs.debian.org

Source: python-pymeasure
Version: 0.14.0-2
Severity: important
User: debian-python@lists.debian.org
Usertags: numpy2.3
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for NumPy 2.3, python-pymeasure failed to rebuild.

Log Summary:
-----------------------------------------------------------------------------=
--
[...]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=
 _=20

self =3D &lt;pymeasure.adapters.protocol.ProtocolAdapter object at 0x7f30c72ee4e=
0&gt;
header_bytes =3D 0, termination_bytes =3D None, dtype =3D &lt;class 'numpy.uint8=
'&gt;
kwargs =3D {}, binary =3D b'DAT2,#9000000002\x01\x01\n\n'
data =3D b'DAT2,#9000000002\x01\x01\n\n'

    def read_binary_values(self, header_bytes=3D0, termination_bytes=3DNone,
                           dtype=3Dnp.float32, **kwargs):
        &quot;&quot;&quot; Returns a numpy array from a query for binary data
   =20
        :param int header_bytes: Number of bytes to ignore in header.
        :param int termination_bytes: Number of bytes to strip at end of mess=
age or None.
        :param dtype: The NumPy data type to format the values with.
        :param \\**kwargs: Further arguments for the NumPy fromstring method.
        :returns: NumPy array of values
        &quot;&quot;&quot;
        binary =3D self.read_bytes(-1)
        # header =3D binary[:header_bytes]
        data =3D binary[header_bytes:termination_bytes]
&gt;       return np.fromstring(data, dtype=3Ddtype, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       ValueError: The binary mode of fromstring is removed, use frombuffer =
instead

pymeasure/adapters/adapter.py:232: ValueError
------------------------------ Captured log call ----------------------------=
---
INFO     pymeasure.instruments.instrument:instrument.py:104 Initializing LeCr=
oy T3DSO1204 Oscilloscope.
__________________ TestWaiting.test_binary_values_calls_wait ________________=
___

self =3D &lt;test_instrument.TestWaiting object at 0x7f30eef7fe10&gt;
instr =3D &lt;test_instrument.TestWaiting.instr.&lt;locals&gt;.Faked object at 0x7f30c=
fcc5010&gt;

    def test_binary_values_calls_wait(self, instr):
        instr.adapter.comm_pairs =3D [(&quot;abc&quot;, &quot;abcdefgh&quot;)]
&gt;       instr.binary_values(&quot;abc&quot;)

tests/instruments/test_instrument.py:234:=20
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=
 _=20
pymeasure/instruments/common_base.py:434: in binary_values
    return self.read_binary_values(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pymeasure/instruments/instrument.py:196: in read_binary_values
    return self.adapter.read_binary_values(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=
 _=20

self =3D &lt;pymeasure.adapters.protocol.ProtocolAdapter object at 0x7f30cfac9e2=
0&gt;
header_bytes =3D 0, termination_bytes =3D None, dtype =3D &lt;class 'numpy.float=
32'&gt;
kwargs =3D {}, binary =3D b'abcdefgh', data =3D b'abcdefgh'

    def read_binary_values(self, header_bytes=3D0, termination_bytes=3DNone,
                           dtype=3Dnp.float32, **kwargs):
        &quot;&quot;&quot; Returns a numpy array from a query for binary data
   =20
        :param int header_bytes: Number of bytes to ignore in header.
        :param int termination_bytes: Number of bytes to strip at end of mess=
age or None.
        :param dtype: The NumPy data type to format the values with.
        :param \\**kwargs: Further arguments for the NumPy fromstring method.
        :returns: NumPy array of values
        &quot;&quot;&quot;
        binary =3D self.read_bytes(-1)
        # header =3D binary[:header_bytes]
        data =3D binary[header_bytes:termination_bytes]
&gt;       return np.fromstring(data, dtype=3Ddtype, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       ValueError: The binary mode of fromstring is removed, use frombuffer =
instead

pymeasure/adapters/adapter.py:232: ValueError
------------------------------ Captured log setup ---------------------------=
---
INFO     pymeasure.instruments.instrument:instrument.py:104 Initializing fake=
d.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D warnings summary =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
tests/experiment/test_procedure.py::test_procedure_wrapper
tests/experiment/test_results.py::test_procedure_filestorage
  &lt;frozen importlib._bootstrap&gt;:530: DeprecationWarning: the load_module() me=
thod is deprecated and slated for removal in Python 3.15; use exec_module() i=
nstead

tests/instruments/activetechnologies/test_AWG401x.py: 3 warnings
tests/instruments/advantest/test_advantestR624X.py: 3 warnings
tests/instruments/agilent/test_agilent33500.py: 31 warnings
tests/instruments/aimtti/test_aimttl.py: 8 warnings
tests/instruments/ametek/test_ametek7270.py: 107 warnings
tests/instruments/anritsu/test_anritsuMG3692C.py: 7 warnings
tests/instruments/anritsu/test_anritsuMS2090A.py: 3 warnings
tests/instruments/anritsu/test_anritsuMS464xB.py: 12 warnings
tests/instruments/hp/test_hp33120A.py: 23 warnings
tests/instruments/hp/test_hp34401a.py: 68 warnings
tests/instruments/keithley/test_keithley2000.py: 5 warnings
tests/instruments/keithley/test_keithley2200.py: 4 warnings
tests/instruments/keithley/test_keithley2306.py: 6 warnings
tests/instruments/lakeshore/test_lakeshore211.py: 7 warnings
tests/instruments/lecroy/test_lecroyT3DSO1204.py: 21 warnings
tests/instruments/lecroy/test_lecroyT3DSO1204_with_device.py: 1 warning
tests/instruments/parker/test_parkerGV6.py: 1 warning
tests/instruments/pendulum/test_cnt91.py: 27 warnings
tests/instruments/siglenttechnologies/test_siglent_spd1168x.py: 8 warnings
tests/instruments/siglenttechnologies/test_siglent_spd1305x.py: 5 warnings
tests/instruments/tektronix/test_afg3152.py: 2 warnings
tests/instruments/teledyne/test_teledyneMAUI.py: 5 warnings
tests/instruments/temptronic/test_temptronic_base.py: 1 warning
tests/instruments/test_all_instruments.py: 280 warnings
  /build/reproducible-path/python-pymeasure-0.14.0/.pybuild/cpython3_3.13_pym=
easure/build/pymeasure/instruments/generic_types.py:110: FutureWarning: It is=
 not known whether this device support SCPI commands or not. Please inform th=
e pymeasure maintainers if you know the answer.
    warn(&quot;It is not known whether this device support SCPI commands or not. P=
lease inform &quot;

tests/instruments/activetechnologies/test_AWG401x.py: 3 warnings
tests/instruments/test_all_instruments.py: 1 warning
tests/instruments/test_channel.py: 10 warnings
tests/instruments/test_connection_configuration.py: 2 warnings
tests/instruments/test_instrument.py: 20 warnings
tests/test_expected_protocol.py: 10 warnings
tests/test_generator.py: 5 warnings
  /build/reproducible-path/python-pymeasure-0.14.0/.pybuild/cpython3_3.13_pym=
easure/build/pymeasure/instruments/instrument.py:95: FutureWarning: It is dep=
recated to specify `includeSCPI` implicitly, use `includeSCPI=3DFalse` or inh=
erit the `SCPIMixin` class instead.
    warn(&quot;It is deprecated to specify `includeSCPI` implicitly, use &quot;

tests/instruments/thyracont/test_smartline_v2.py: 37 warnings
  /build/reproducible-path/python-pymeasure-0.14.0/.pybuild/cpython3_3.13_pym=
easure/build/pymeasure/adapters/protocol.py:143: UserWarning: Breaking on ter=
mination character in `read_bytes` cannot be tested. You have to separate the=
 message parts in the com_pairs.
    warn((&quot;Breaking on termination character in `read_bytes` cannot be tested=
. &quot;

tests/instruments/toptica/test_ibeamsmart.py::test_setting_failed
  /build/reproducible-path/python-pymeasure-0.14.0/.pybuild/cpython3_3.13_pym=
easure/build/pymeasure/instruments/toptica/ibeamsmart.py:57: FutureWarning: T=
his property is deprecated, use channels instead.
    warn(&quot;This property is deprecated, use channels instead.&quot;, FutureWarning)

tests/test_process.py::test_process_stopping
tests/test_process.py::test__process_joining
  /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: T=
his process (pid=3D107) is multi-threaded, use of fork() may lead to deadlock=
s in the child.
    self.pid =3D os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D short test summary info =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAILED tests/adapters/test_adapter.py::test_binary_values_deprecation_warning
FAILED tests/instruments/lecroy/test_lecroyT3DSO1204.py::test_download_one_po=
int
FAILED tests/instruments/lecroy/test_lecroyT3DSO1204.py::test_download_two_po=
ints
FAILED tests/instruments/test_instrument.py::TestWaiting::test_binary_values_=
calls_wait
=3D 4 failed, 2300 passed, 809 skipped, 3770 deselected, 1 xfailed, 731 warni=
ngs in 14.50s =3D
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=3D1: cd=
 /build/reproducible-path/python-pymeasure-0.14.0/.pybuild/cpython3_3.13_pyme=
asure/build; python3.13 -m pytest -k 'not (test_property_docstrings or test_l=
ocale_settings)'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 =
returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status=
 2
-----------------------------------------------------------------------------=
---
Build finished at 2025-09-08T08:25:50Z

-----------------------------------------------------------------------------=
--

The above is just how the build ends and not necessarily the most relevant pa=
rt.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/debian/developers-roehling.numpy/artifact/2455444/

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/debian/developers-roehling.numpy/work-request/163=
938/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Cheers
Timo
]