Your message dated Thu, 17 Sep 2026 22:35:30 +0000
with message-id <[email protected]>
and subject line Bug#1146428: fixed in python-glanceclient 1:4.13.0-2
has caused the Debian Bug report #1146428,
regarding python-glanceclient: FTBFS against python 3.15rc1
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.)


-- 
1146428: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146428
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-glancepoint
Version: 1:4.11.0-3
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that python-glancepoint fails to build from source [1].
The issue happens because it fails to match ValueError message with the
expected text. Python 3.15 updated the text in some of the exceptions to
make them clearer, this affected the tests in python-glanceclient as
they expect some specific wordings. I prepared a patch so that the test
now expects a match in a regular expression compatible with both
wordings.

I applied the fix in the sandbox [2] to be able to build the packages
that depend on python-glancepoint, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4583032/
[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: Support Python 3.15 hashlib error message change
 In Python 3.15, hashlib raises ValueError with 'unsupported hash algorithm'
 instead of 'unsupported hash type'.
Author: Maximiliano Curia <[email protected]>
Forwarded: no

Index: python-glanceclient/glanceclient/tests/unit/v2/test_images.py
===================================================================
--- python-glanceclient.orig/glanceclient/tests/unit/v2/test_images.py
+++ python-glanceclient/glanceclient/tests/unit/v2/test_images.py
@@ -1188,8 +1188,10 @@ class TestController(testtools.TestCase)
             body = self.controller.data('badalgo-db27-11e1-a1eb-080027cbe205')
             self.fail('bad os_hash_algo did not raise an error.')
         except ValueError as e:
-            msg = 'unsupported hash type not_an_algo'
-            self.assertIn(msg, str(e))
+            self.assertThat(
+                str(e),
+                testtools.matchers.MatchesRegex(
+                    r'unsupported hash (type|algorithm) not_an_algo'))
 
     def test_data_with_checksum(self):
         for prefix in ['headeronly', 'chkonly', 'multihash']:
Index: python-glanceclient/glanceclient/v2/images.py
===================================================================
--- python-glanceclient.orig/glanceclient/v2/images.py
+++ python-glanceclient/glanceclient/v2/images.py
@@ -268,7 +268,8 @@ class Controller(object):
                                                     meta_hash_value)
                 check_md5sum = False
             except ValueError as ve:
-                if (str(ve).startswith('unsupported hash type') and
+                if (str(ve).startswith(('unsupported hash type',
+                                        'unsupported hash algorithm')) and
                         allow_md5_fallback):
                     check_md5sum = True
                 else:

--- End Message ---
--- Begin Message ---
Source: python-glanceclient
Source-Version: 1:4.13.0-2
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-glanceclient, 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.
Thomas Goirand <[email protected]> (supplier of updated python-glanceclient 
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: Thu, 17 Sep 2026 17:03:24 +0200
Source: python-glanceclient
Architecture: source
Version: 1:4.13.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1146428
Changes:
 python-glanceclient (1:4.13.0-2) experimental; urgency=medium
 .
   * Support Python 3.15 hashlib error message change (Closes: #1146428).
Checksums-Sha1:
 d259b862006d6bdba235883f118cf4a0d5696312 2758 python-glanceclient_4.13.0-2.dsc
 3f24adb0216efe09e94c6fbac823005230eb7138 29328 
python-glanceclient_4.13.0-2.debian.tar.xz
 9ab9ded43b819ed37bf8e082e73524755ec485a3 14514 
python-glanceclient_4.13.0-2_amd64.buildinfo
Checksums-Sha256:
 5bac6ad442081b3413e380bc74e674ce5fdb4696a4603028ef83e845cb239976 2758 
python-glanceclient_4.13.0-2.dsc
 5085bf9de9c867b70fd2fa082e49f2aac8c1771ca07773b0e422915fb97322de 29328 
python-glanceclient_4.13.0-2.debian.tar.xz
 b1837ed57256497a60be6709d1bb1ae418ac4e65ec2e6f64a853f304ac4d1544 14514 
python-glanceclient_4.13.0-2_amd64.buildinfo
Files:
 80f92fd99f3e975396547a51e7519fa2 2758 python optional 
python-glanceclient_4.13.0-2.dsc
 118d4353986dc195808bcff4eb261bba 29328 python optional 
python-glanceclient_4.13.0-2.debian.tar.xz
 8588a074b8f92d2b4b676c486c6255e2 14514 python optional 
python-glanceclient_4.13.0-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqsZlAACgkQ1BatFaxr
Q/7PJRAAlJGxIDUEoDvAs/cG19HjXl6TJsPPdUbwTgzQ5Ap9gYbL/ouMX5ADQKnQ
iGEAAnM8WGuiVMiJ6s6/Exw/usoiH+3FOJJMC3fr6cYdvUMP8kc43c6f/gOJNpRI
8ImemlnxyS+coE7g1PEsEYs+8yVpxxxmkX/ziBlevCuKcuW0hWgQGB8T/3EWDyU9
g+GiAKSYAvRw+7x//rTAvIJ41P1YADun15q6Kp4bzuSWfYju/hsAk0VE9E271Jdq
+a552siSlEOFDDZ8AF9ZbYqC262JQ4EglvNq2/NWt04PvKOaij3NUmxfG3yMKKQY
wgi1Hz0l33ApASmjvltdKWAkeo6GUqYBlQUqzFbccaPeQ/WuAzhQas6Xt3Ue3QKE
DI/CnI/x4Xq/my7x6Cu7UArWJmIcNIh/eULwaa2STnOoWNGUIsR2wgP/YEeKWgQQ
g5ieyIwLYPMjX+/3x7f7MvZGl6nm6obizvHrTijG/W8F83wiuIAiIey3HYN7nH4a
Z+2ZkE421Je45jOsTuMMsTbZSpmrmQAUCWwAUVj1s/1wN/zBtwd6xl5m5d+2jMKf
XmrBdLfHansWj3jEwixJi7ou+09ifBOY/KBcZi0T0nazWn8Z7EcBq1yXH9t/HKbm
ghyxgBfAOx8nkju/Yc7dLFHE1Cnq8At5/4jt47vALKBPUzOSxdg=
=euuA
-----END PGP SIGNATURE-----

Attachment: pgpQkLNACuxwu.pgp
Description: PGP signature


--- End Message ---

Reply via email to