Your message dated Thu, 03 Sep 2026 09:05:25 +0000
with message-id <[email protected]>
and subject line Bug#1146535: fixed in python-aodhclient 3.10.1-3
has caused the Debian Bug report #1146535,
regarding python-aodhclient: 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.)


-- 
1146535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-aodhclient
Version: 3.10.1-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-aodhclient fails to build from source [1]. I found that the upstream Commit 823d5e3 [2] fixes the issue.
I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on python-aodhclient, 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/4583572/
[2]: 
https://github.com/openstack/python-aodhclient/commit/823d5e3c223324eb65bf909bed15f6932847cd5d
[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 823d5e3c223324eb65bf909bed15f6932847cd5d Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <[email protected]>
Date: Sun, 12 Jul 2026 02:34:41 +0900
Subject: [PATCH] Replace deprecated pyparsing interfaces

These interfaces were deprecated in pyparsing 3.0.0[1].

[1] https://pyparsing-docs.readthedocs.io/en/latest/whats_new_in_3_0_0.html#api-changes
* camelCase names have been converted to PEP-8 snake_case names.

Change-Id: I241f33c51f9a463fc8d229e04eac65297f23f5d7
Signed-off-by: Takashi Kajinami <[email protected]>
---
 aodhclient/utils.py | 16 ++++++++--------
 requirements.txt    |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/aodhclient/utils.py b/aodhclient/utils.py
index 42580a4..c54d459 100644
--- a/aodhclient/utils.py
+++ b/aodhclient/utils.py
@@ -21,25 +21,25 @@ binary_operator = (">=", "<=", "!=", ">", "<", "=", "==", "eq", "ne",
 multiple_operators = ("and", "or")
 
 operator = pp.Regex("|".join(binary_operator))
-null = pp.Regex("None|none|null").setParseAction(pp.replaceWith(None))
+null = pp.Regex("None|none|null").set_parse_action(pp.replace_with(None))
 boolean = "False|True|false|true"
-boolean = pp.Regex(boolean).setParseAction(lambda t: t[0].lower() == "true")
+boolean = pp.Regex(boolean).set_parse_action(lambda t: t[0].lower() == "true")
 hex_string = lambda n: pp.Word(pp.hexnums, exact=n)  # noqa: E731
 uuid = pp.Combine(hex_string(8) + ("-" + hex_string(4)) * 3 +
                   "-" + hex_string(12))
 number = r"[+-]?\d+(:?\.\d*)?(:?[eE][+-]?\d+)?"
-number = pp.Regex(number).setParseAction(lambda t: float(t[0]))
+number = pp.Regex(number).set_parse_action(lambda t: float(t[0]))
 identifier = pp.Word(pp.alphas, pp.alphanums + "_")
 quoted_string = pp.QuotedString('"') | pp.QuotedString("'")
 comparison_term = pp.Forward()
 in_list = pp.Group(pp.Suppress('[') +
-                   pp.Optional(pp.delimitedList(comparison_term)) +
+                   pp.Optional(pp.DelimitedList(comparison_term)) +
                    pp.Suppress(']'))("list")
 comparison_term << (null | boolean | uuid | identifier | number |
                     quoted_string)
 condition = pp.Group(comparison_term + operator + comparison_term)
 
-expr = pp.infixNotation(condition, [
+expr = pp.infix_notation(condition, [
     ("not", 1, pp.opAssoc.RIGHT, ),
     ("and", 2, pp.opAssoc.LEFT, ),
     ("or", 2, pp.opAssoc.LEFT, ),
@@ -73,9 +73,9 @@ def _parsed_query2dict(parsed_query):
         elif part in uninary_operators:
             result = {part: result}
         elif isinstance(part, pp.ParseResults):
-            kind = part.getName()
+            kind = part.get_name()
             if kind == "list":
-                res = part.asList()
+                res = part.as_list()
             else:
                 res = _parsed_query2dict(part)
             if result is None:
@@ -88,7 +88,7 @@ def _parsed_query2dict(parsed_query):
 
 
 def search_query_builder(query):
-    parsed_query = expr.parseString(query)[0]
+    parsed_query = expr.parse_string(query)[0]
     return _parsed_query2dict(parsed_query)
 
 
diff --git a/requirements.txt b/requirements.txt
index d40f6f2..7e6559e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -10,4 +10,4 @@ oslo.serialization>=1.4.0 # Apache-2.0
 oslo.utils>=2.0.0 # Apache-2.0
 osprofiler>=1.4.0 # Apache-2.0
 keystoneauth1>=1.0.0
-pyparsing>2.1.0 # MIT
+pyparsing>3.0.0 # MIT
-- 
2.53.0

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

We believe that the bug you reported is fixed in the latest version of
python-aodhclient, 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-aodhclient 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, 03 Sep 2026 10:37:29 +0200
Source: python-aodhclient
Architecture: source
Version: 3.10.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1146535
Changes:
 python-aodhclient (3.10.1-3) unstable; urgency=medium
 .
   * Add Replace_deprecated_pyparsing_interfaces.patch (Closes: #1146535).
Checksums-Sha1:
 0d2cc95668ab7253b0b506e6ea54b7ac220d3d19 2675 python-aodhclient_3.10.1-3.dsc
 cb06f5f40d852dec1bc3fab6f8a59bb9070ca0a2 5864 
python-aodhclient_3.10.1-3.debian.tar.xz
 939b57775f1d474788f3d9b95e22af21a67a407c 15067 
python-aodhclient_3.10.1-3_amd64.buildinfo
Checksums-Sha256:
 92ea370027374e25936f340fcdfe69f903b0a8e60d67f88aa5c7e50883c592bf 2675 
python-aodhclient_3.10.1-3.dsc
 a85a57f09559b334f724606df3b1f2ac9d0064ded870445149fd6023d1d8c91a 5864 
python-aodhclient_3.10.1-3.debian.tar.xz
 8a147dc6c8c37e673d54a3256256b8bab4b01c92c5ae607526d4d1c3b817aa10 15067 
python-aodhclient_3.10.1-3_amd64.buildinfo
Files:
 1dd721e9a2566f8ff040d7cd089c8aeb 2675 python optional 
python-aodhclient_3.10.1-3.dsc
 e5d2294571784718fefdcacdc8d40223 5864 python optional 
python-aodhclient_3.10.1-3.debian.tar.xz
 4ba7363d4c67aee2946e1207c72a2908 15067 python optional 
python-aodhclient_3.10.1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqZMtsACgkQ1BatFaxr
Q/51+w/9H6qs+6Yni4nbvppWgeMt4keVdG9e1z4TysY493V6RIqXrlSPjrewNU4U
OnYikWspyODvYbTqQ2jHYy+HvudGQY0rNFPFUp1blG79kIi+BTJ79fmWCD7ThW4u
F08daeZYakuvj9oLPJepuKEHX+zEhhFPJDC4XRkY213GMc/SvphNCf3W4+MLqt/A
C4h6ybTliCX7KXxgHbYjbNyx0Q3qWQKex8KUTYkwe8kBLpCkQelEi7aSJUHT3FfJ
gLZVGMLFFYy9oXyyNeZchH2Kh4HLI26HXovipZ7auQRTH1pH/4C8K+vjz1XkSnUh
1v+XaZ0hPG53VA4gbsnlnVU5cV4tLgUTBlMfsDstfGRoCDVHijKioueUhKCPi1KG
Ca0oqRCl4d4lXIUnLKXoUWZ1P62l4WQJy18OvHCF0aEn4hiwjIC/pQmMgSr5ZK1v
a72lXiY15rppQcQm3JMn9YI6MGW2U5wh32FfhQsLSMmPk7/fy57VIxBh7dscm4by
SEcunKz5OTF0DR5gSvkmIW/2sWZgRwsH7siNfwf8R9wWDxGxwRFoyUe/jYTgRmz+
scKDu/qwaI3g53hKpcPE2rQjfbqxlVeBf03qi2fwkGWQQXgEKT6U0SQZ85gs9VEv
BDuCNBVmAhgKnPZG1sK1/MwPPKX3Hws3oke0+TeCfau8Ds9QpP0=
=o/Fo
-----END PGP SIGNATURE-----

Attachment: pgpvb41Lqxqpy.pgp
Description: PGP signature


--- End Message ---

Reply via email to