Your message dated Tue, 08 Sep 2026 10:06:09 +0000
with message-id <[email protected]>
and subject line Bug#1145189: fixed in pyxdg 0.28-4
has caused the Debian Bug report #1145189,
regarding pyxdg: 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.)


-- 
1145189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145189
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pyxdg
Version: 0.28-3 User: [email protected]
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that pyxdg fails to build from source [1].
The upstream repository recently applied a fix that solves this problem
[2].

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on pyxdg, 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/4341416/
[2]: 
https://gitlab.freedesktop.org/xdg/pyxdg/-/commit/63033ac306aa26d32e1439417e59ae8f8a4c9820
[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 63033ac306aa26d32e1439417e59ae8f8a4c9820 Mon Sep 17 00:00:00 2001
From: Sam James <[email protected]>
Date: Sat, 31 May 2025 18:54:51 +0100
Subject: [PATCH] Menu: handle Python 3.15 deprecations

* Unknown keyword args will be fatal, so drop lineno/col_offset that
  is unused
* Set body= immediately as a keyword
---
 xdg/Menu.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/xdg/Menu.py b/xdg/Menu.py
index 71f5e61..8e1595c 100644
--- a/xdg/Menu.py
+++ b/xdg/Menu.py
@@ -419,7 +419,6 @@ class Rule:
                     ctx=ast.Load()
                 )]
             ),
-            lineno=1, col_offset=0
         )
         ast.fix_missing_locations(tree)
         rule = Rule(type, tree)
@@ -763,12 +762,10 @@ class XMLMenuBuilder(object):
 
     def parse_rule(self, node):
         type = Rule.TYPE_INCLUDE if node.tag == 'Include' else Rule.TYPE_EXCLUDE
-        tree = ast.Expression(lineno=1, col_offset=0)
+        tree = ast.Expression(body=_ast_const('False'))
         expr = self.parse_bool_op(node, ast.Or())
         if expr:
             tree.body = expr
-        else:
-            tree.body = _ast_const('False')
         ast.fix_missing_locations(tree)
         return Rule(type, tree)
 
-- 
GitLab


--- End Message ---
--- Begin Message ---
Source: pyxdg
Source-Version: 0.28-4
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyxdg, 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.
Stuart Prescott <[email protected]> (supplier of updated pyxdg 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: Tue, 08 Sep 2026 19:35:31 +1000
Source: pyxdg
Architecture: source
Version: 0.28-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1145189
Changes:
 pyxdg (0.28-4) unstable; urgency=medium
 .
   * Team upload.
   * Cherry-pick patch from upstream for Python 3.15 compatibility, with
     thanks to Maximiliano Curia for forwarding it (Closes: #1145189).
   * Update Standards-Version to 4.7.4 (no changes required).
Checksums-Sha1:
 9a88832ca8807272d5b160ef4cf85fbe61f221af 2563 pyxdg_0.28-4.dsc
 177373283f75e881483839505253f22f6d45a075 11296 pyxdg_0.28-4.debian.tar.xz
 89e521de6eada938bb14a921c9bbca9f35e87149 160748 pyxdg_0.28-4.git.tar.xz
 1f3c988da027ec2a25fd5bc3d1a48c69d33a8b0f 17656 pyxdg_0.28-4_source.buildinfo
Checksums-Sha256:
 bb1d3525a5cd2d4524366ef9ca0f256e1ba82f552bc86734fe7b48d005bbcda2 2563 
pyxdg_0.28-4.dsc
 b8f9e1617599043ed76b278f91d6f14acb972b6f84cb52cef6159f2062b5b3c7 11296 
pyxdg_0.28-4.debian.tar.xz
 74c8476275ed1d5c95be9dac3509f0e45ae6ce75e73df3a97d64b0cad13d56de 160748 
pyxdg_0.28-4.git.tar.xz
 672a823afa487049b37b589279bcee56014d4d0c28d8b9159b044436b96572dd 17656 
pyxdg_0.28-4_source.buildinfo
Files:
 76dad498dbe0f18e8b153405810662f1 2563 python optional pyxdg_0.28-4.dsc
 91600afd29c1465bcfd913d27ac054b2 11296 python optional 
pyxdg_0.28-4.debian.tar.xz
 2a1e2ccb51b765fecb7cd8b201b909ec 160748 python None pyxdg_0.28-4.git.tar.xz
 fa2ce00ba7c2c6049b726a89189ca241 17656 python optional 
pyxdg_0.28-4_source.buildinfo
Git-Tag-Info: tag=88194e7d8d5c85c12ec195bd134b81da32803fff 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqf2PkACgkQYG0ITkaD
wHknIBAAvQ1EKGxV9j+jM2g3loqo284993XudjGlfUfrGczpCIeg9HmO2fmSx02C
9WZTwJ3vrd7NKrfWpBn7AD0Y97I/ltJcQhzglfO0h2Vu1mRtMbPRBW6zOZTqBQ0/
yWeupHYiZTC8zQ3gk/e1dzc8EgE0P3G1uAEm8B/0xjYTJKSfR9L4EHd9kr5+aAsx
nOUFvxYhL4y1OCt1A1Lg+SDUpm3euPQfcwPKxsOLBdsRG9CheTASpzYyQHR5eD6n
MT6ZJcDIZh42m9jTM/vJpVDYB9rndtU3x3AQ/SYj3rEk0UpB8EXjUdLV77Og3tF1
pG9JHp6ltgpEmUyTd8AMP2fQfpJl3m4+hTzLjK/rS21eVAZsWK6igmfmY6MTvcqG
jVRPp2gK5DJeomTxL8U3mHNZ19pvjhvtBUTVj6IAYqul8bL7h3mdL1ckHf98JgfY
SJJiNBt8QkS0EotzUpeC3l0DC2k01fjPU4dUPqreYkGAw8x/3Kv1Pa/nG/Sr0TjZ
zkBKYx7rbew3ll0ARgcu+YcNZyV3tqs4RDo5bu1Wo1zMmfGQWIFZ/Ya8anP20V+R
WX6265kOodzFyaVIdpp/RXhRUWpsY0X2vI3qwgac5G+DNwb947VNA1p3L1NBWAfL
1kGcMKnxIGtk++Ha/vPTlGCX6/LxDpDe+qNJ7ZPT9XWVzsDol8s=
=A2wR
-----END PGP SIGNATURE-----

Attachment: pgpGjyIGsXdb2.pgp
Description: PGP signature


--- End Message ---

Reply via email to