Your message dated Mon, 26 Oct 2026 16:06:30 +0000
with message-id <[email protected]>
and subject line Bug#1147118: fixed in pyvisa 1.14.1-2
has caused the Debian Bug report #1147118,
regarding pyvisa: 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.)


-- 
1147118: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147118
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pyvisa
Version: 1.14.1-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 pyvisa fails to build from source [1].
The error is:
      assert "unsupported format character" in ex.exconly()
E       AssertionError: assert 'unsupported format character' in 'ValueError: 
unsupported format %m at position 0'
E        +  where 'ValueError: unsupported format %m at position 0' = exconly()
E        +    where exconly = <ExceptionInfo ValueError('unsupported format %m at 
position 0') tblen=3>.exconly

This is due to the fact that exception texts were improved in python
3.15, so the test needs to be updated. I have created a patch to do
this, which should be forwarded upstream.

I've applied the 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/4429734/
[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 test_invalid_string_converter for Python 3.15
 In Python 3.15, the ValueError message for unsupported % formatting
 codes changed from "unsupported format character..." to "unsupported format...".
 Check for "unsupported format" instead.
Author: Maximiliano Curia <[email protected]>
Forwarded: not-needed
Last-Update: 2026-09-07

Index: pyvisa/pyvisa/testsuite/test_util.py
===================================================================
--- pyvisa.orig/pyvisa/testsuite/test_util.py
+++ pyvisa/pyvisa/testsuite/test_util.py
@@ -234,7 +234,7 @@ class TestParser(BaseTestCase):
     def test_invalid_string_converter(self):
         with pytest.raises(ValueError) as ex:
             util.to_ascii_block([1, 2], "m")
-        assert "unsupported format character" in ex.exconly()
+        assert "unsupported format" in ex.exconly()
         with pytest.raises(ValueError) as ex:
             util.from_ascii_block("1,2,3", "m")
         assert "Invalid code for converter" in ex.exconly()

--- End Message ---
--- Begin Message ---
Source: pyvisa
Source-Version: 1.14.1-2
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyvisa, 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.
Bastian Germann <[email protected]> (supplier of updated pyvisa 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: Mon, 26 Oct 2026 16:49:44 +0100
Source: pyvisa
Architecture: source
Version: 1.14.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1147118
Changes:
 pyvisa (1.14.1-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Maximiliano Curia ]
   * Fix test_invalid_string_converter for Python 3.15 (Closes: #1147118)
Checksums-Sha1:
 3a629b58c658b982864ffa0b92a07b38e4784775 1938 pyvisa_1.14.1-2.dsc
 f363a378d04382b7c24fb6e9ae3e3ff9d5fb78d7 5452 pyvisa_1.14.1-2.debian.tar.xz
 b7ca304a067dd3853ee57e960def5e1f0075529d 6559 pyvisa_1.14.1-2_source.buildinfo
Checksums-Sha256:
 e9bb8d12660d7858e11e3ce48c87b12bde33b8172ea629850f3ba331b5de6244 1938 
pyvisa_1.14.1-2.dsc
 7f850b1282f680cc3cabc274bf0514da062eb15d665fa62220b83c82d6b194c2 5452 
pyvisa_1.14.1-2.debian.tar.xz
 1475c9c80cb05818700002f43fbdf3f5f448f3d99b098b0e606c1ee3f65ae42c 6559 
pyvisa_1.14.1-2_source.buildinfo
Files:
 3411cc97e418774fcfdfb45fb0ad2ab5 1938 python optional pyvisa_1.14.1-2.dsc
 9721b1359586409559f35cc30dac7a14 5452 python optional 
pyvisa_1.14.1-2.debian.tar.xz
 256ee8f2c458d5df403ea02c8e809a6c 6559 python optional 
pyvisa_1.14.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmrfdskQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFHm0DACfCkHtGVcqvmc1yhBHZzQcHcijNv8EXLjs
XQUALfcrYZxYy1DEYexohBPc1VhbgN/tmL8zbcX1lKB7Yls2SOTZhPoJ/ez1V6km
ERiw7BMdczwzysySNP4y7KufE5rKheNEHjX8u+fQpSQp95M4MbBKk89tOy+tQtFM
ecRpcJmpQMSy7Lug6nIe5weWzWCJhYabfmlxYDGtq+8+XUnBnlaLyPO2cPh5UH03
OsxhHpUKghh1VT2MlyPMXrzzFXRwbZNqUzktWD7OnZa8nI0s4xvvXA50CbUgjNj1
C82vz4doGAjDXXlJy87DjrlAP+UeE3hJ63Qb2SA/DQ4ZYcezHPaFetJGnnXJBD7N
d9WE4/v4Xsh+HHiiWkIoQ7T6fqE/m61WzcLgt78nBkaClVLvil4aUs8EfbHh7kvW
DumTDv1G7xuLgcgSYbkolfIyDnkU4g7fKaoQ5/6qP6CuScPBLKQ+E3W+u0YxXJVa
gRcnWuZno4TcRQhQWRPYRACJrpDwGqQ=
=UHEz
-----END PGP SIGNATURE-----

Attachment: pgplHGqnuNiXU.pgp
Description: PGP signature


--- End Message ---

Reply via email to