Your message dated Wed, 02 Sep 2026 12:35:01 +0000
with message-id <[email protected]>
and subject line Bug#1146427: fixed in python-openstacksdk 4.10.0-3
has caused the Debian Bug report #1146427,
regarding python-openstacksdk: 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.)


-- 
1146427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146427
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-openstacksdk
Version: 4.10.0-2
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-openstacksdk 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 openstacksdk as they
expect some specific wordings.

Upstream already includes a fix for this in Commit 405e2d7 [2]: fix
hashlib ValueError message check for py3.15

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-openstacksdk, 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/4578106/
[2]: 
https://github.com/openstack/openstacksdk/commit/405e2d7836a2777eb59f06f95f4025faa058f166
[3]: 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 /\/\ /\ >< `/
From 405e2d7836a2777eb59f06f95f4025faa058f166 Mon Sep 17 00:00:00 2001
From: Steve Traylen <[email protected]>
Date: Sat, 18 Apr 2026 11:48:49 +0200
Subject: [PATCH] fix hashlib ValueError message check for py3.15

I realise python3.15 is is not supported yet but this allows tests
to pass on 3.15a8.

Python 3.15 changed the ValueError message raised by hashlib.new() for
unknown algorithms from "unsupported hash type <name>" to "unsupported
hash algorithm <name>",

Replace the prefix check with a test for the algorithm name in
the exception message

Python change:

https://github.com/python/cpython/commit/6be49ee517258281357aa6846d2564bc5626b7ca

Change-Id: I404e47f5a4f2ec3b1b4bbb81f6a676c1921ff3c4
Signed-off-by: Steve Traylen <[email protected]>
---
 openstack/image/_download.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: python-openstacksdk/openstack/image/_download.py
===================================================================
--- python-openstacksdk.orig/openstack/image/_download.py
+++ python-openstacksdk/openstack/image/_download.py
@@ -119,7 +119,7 @@ class DownloadMixin:
                 expected_hash = meta_hash_value
                 hash_algo = meta_hash_algo
             except ValueError as ve:
-                if not str(ve).startswith('unsupported hash type'):
+                if str(meta_hash_algo) not in str(ve):
                     raise exceptions.SDKException(
                         f"Unsupported hash algorithm '{meta_hash_algo}': {ve}"
                     )

--- End Message ---
--- Begin Message ---
Source: python-openstacksdk
Source-Version: 4.10.0-3
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-openstacksdk, 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-openstacksdk 
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, 02 Sep 2026 14:16:51 +0200
Source: python-openstacksdk
Architecture: source
Version: 4.10.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1146427
Changes:
 python-openstacksdk (4.10.0-3) unstable; urgency=medium
 .
   * Add fix_hashlib_ValueError_message_check_for_py3.15.patch
     (Closes: #1146427).
Checksums-Sha1:
 499469180ce2bbab8e402fd440210f2c4866f3cf 3102 python-openstacksdk_4.10.0-3.dsc
 cf43d371e83a21523f23a62530160208c942e443 7616 
python-openstacksdk_4.10.0-3.debian.tar.xz
 c40765d2d0e505c3fb49c010157a4159d68ceabc 17291 
python-openstacksdk_4.10.0-3_amd64.buildinfo
Checksums-Sha256:
 00a5041425c7ec7df22bfa46624a363d091662f7b3d99991e46e3c10e036e2c8 3102 
python-openstacksdk_4.10.0-3.dsc
 40ceb8e8e9cd19b09dbe15aeae56ae32b389345853d9a593b75a8758cc3239ec 7616 
python-openstacksdk_4.10.0-3.debian.tar.xz
 f5eb31ac3b57e988e255dba2b65be92e39efa3b0ee837e0b6a7ce9d88d1e208f 17291 
python-openstacksdk_4.10.0-3_amd64.buildinfo
Files:
 a631197cab53a5047bb6fd9e4267ef0c 3102 python optional 
python-openstacksdk_4.10.0-3.dsc
 d6cac47b52f6eac8afd2abd3b8347fab 7616 python optional 
python-openstacksdk_4.10.0-3.debian.tar.xz
 78967f502d8b6bcee4ee8570fdc3ee45 17291 python optional 
python-openstacksdk_4.10.0-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqYFN4ACgkQ1BatFaxr
Q/4rXg/+McB6/9pY2Ax2a7wD7UciPUQNiqy7TslkiQMEEznoGQEopiXAPgZrpNeK
l2SOg28WCQVB4b6zSHL/U7/iciC5Dd5GxD87VCzm4TPtJF0qejGdy+EGb5TpJiPx
AxmfAr9UuUyo42N5ZPCm6O3eQp3/iUbJZrZbtpuHS1eiBzvS0VOonWW8GCjz3cKC
iDOnTxF52dlT8bhR6IOgqTpwQBTofrxueVSCeanWcXm47RrM1Rbco94A3CgAXvza
TlpcpjaY3b2ATNHYYfV+tmc0NpTEfIHvPnL9kjaz/gGIqDgd/H87qPcfOfFwBTNo
6rv4Dc+kWRjQRRYWQ5/GPBAQAVGK5bViD1nEr4eb9YoLlW2WYSmT/F8uAn2atICZ
E+ransKOU0rtjreIN4s5+MBeGgDzHFnJL3vDS2o/4FVJnwVcJJUL7C3g0oSZMTSM
TxfHJKW0T+3AiZhBEQK5CYS1lsj5yRq42RAmgQr9uoc25BNEDjiQJlzaMQa8YJ5D
Ri/scfk4nnyJSSU5BIz+lmdapkJ4axP2Ewx0rLqHpsstnZpR4APDpQe88+xyZTTI
kGWlq0agp95tH2VYdWzC5n8Ku0dnBRWQeFLbnPj1T4Xbs6Fd6iT3NQfRTI/BigOi
rejCEYEugdUI10k2VBl1Yfn1swsVS3gU8XHBYHwh70FjVM1jJiE=
=Zc2I
-----END PGP SIGNATURE-----

Attachment: pgpjguzU4kgxz.pgp
Description: PGP signature


--- End Message ---

Reply via email to