Your message dated Sun, 30 Nov 2025 16:49:13 +0000
with message-id <[email protected]>
and subject line Bug#1121095: fixed in pyxdg 0.28-3
has caused the Debian Bug report #1121095,
regarding pyxdg: FTBFS with Python 3.14
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.)
--
1121095: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121095
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyxdg
Version: 0.28-2
Severity: important
Tags: ftbfs patch
User:[email protected]
Usertags: python3.14
Hi Maintainer
pyxdg will FTBFS once Python 3.14 is added as a supported version in Debian.
The issue has been fixed upstream
inhttps://gitlab.freedesktop.org/xdg/pyxdg/-/commit/9291d419
I've cherry-picked that patch for Ubuntu and I'm attaching the change as a
debdiff
Cheers,
diff -Nru pyxdg-0.28/debian/changelog pyxdg-0.28/debian/changelog
--- pyxdg-0.28/debian/changelog 2022-12-11 07:16:54.000000000 +0100
+++ pyxdg-0.28/debian/changelog 2025-11-20 23:01:08.000000000 +0100
@@ -1,3 +1,10 @@
+pyxdg (0.28-3) UNRELEASED; urgency=medium
+
+ * debian/patches/git-python314-compat.patch:
+ - cherry pick an upstream fix for python 3.14
+
+ -- Sebastien Bacher <[email protected]> Thu, 20 Nov 2025 23:01:08 +0100
+
pyxdg (0.28-2) unstable; urgency=medium
* Team upload
diff -Nru pyxdg-0.28/debian/patches/git-python314-compat.patch
pyxdg-0.28/debian/patches/git-python314-compat.patch
--- pyxdg-0.28/debian/patches/git-python314-compat.patch 1970-01-01
01:00:00.000000000 +0100
+++ pyxdg-0.28/debian/patches/git-python314-compat.patch 2025-11-20
22:59:24.000000000 +0100
@@ -0,0 +1,41 @@
+From 9291d419017263c922869d79ac1fe8d423e5f929 Mon Sep 17 00:00:00 2001
+From: Sam James <[email protected]>
+Date: Sat, 31 May 2025 18:52:45 +0100
+Subject: [PATCH] Menu: handle Python 3.14 ast.Str changes
+
+ast.Str is gone and replaced by ast.Constant.
+---
+ xdg/Menu.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+Index: pyxdg-0.28/xdg/Menu.py
+===================================================================
+--- pyxdg-0.28.orig/xdg/Menu.py 2025-11-20 22:59:24.057479564 +0100
++++ pyxdg-0.28/xdg/Menu.py 2025-11-20 22:59:24.077746392 +0100
+@@ -411,7 +411,7 @@
+ def fromFilename(cls, type, filename):
+ tree = ast.Expression(
+ body=ast.Compare(
+- left=ast.Str(filename),
++ left=ast.Constant(filename),
+ ops=[ast.Eq()],
+ comparators=[ast.Attribute(
+ value=ast.Name(id='menuentry', ctx=ast.Load()),
+@@ -808,7 +808,7 @@
+ elif tag == 'Category':
+ category = node.text
+ return ast.Compare(
+- left=ast.Str(category),
++ left=ast.Constant(category),
+ ops=[ast.In()],
+ comparators=[ast.Attribute(
+ value=ast.Name(id='menuentry', ctx=ast.Load()),
+@@ -819,7 +819,7 @@
+ elif tag == 'Filename':
+ filename = node.text
+ return ast.Compare(
+- left=ast.Str(filename),
++ left=ast.Constant(filename),
+ ops=[ast.Eq()],
+ comparators=[ast.Attribute(
+ value=ast.Name(id='menuentry', ctx=ast.Load()),
diff -Nru pyxdg-0.28/debian/patches/series pyxdg-0.28/debian/patches/series
--- pyxdg-0.28/debian/patches/series 2022-12-11 07:16:54.000000000 +0100
+++ pyxdg-0.28/debian/patches/series 2025-11-20 22:58:54.000000000 +0100
@@ -3,3 +3,4 @@
test-Skip-mimetype-symlink-tests.patch
Add-an-xdg-5-compatibility-layer.patch
test-Use-importlib-instead-of-imp.patch
+git-python314-compat.patch
--- End Message ---
--- Begin Message ---
Source: pyxdg
Source-Version: 0.28-3
Done: Colin Watson <[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.
Colin Watson <[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: Sun, 30 Nov 2025 16:28:29 +0000
Source: pyxdg
Architecture: source
Version: 0.28-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1121095
Changes:
pyxdg (0.28-3) unstable; urgency=medium
.
* Team upload.
* Menu: handle Python 3.14 ast.Str changes (closes: #1121095).
* Drop "Rules-Requires-Root: no", default as of dpkg-dev 1.22.13.
* Standards-Version: 4.7.2.
Checksums-Sha1:
2c2a559bfb37a38becbaec140c9703bd2e7960d4 2563 pyxdg_0.28-3.dsc
86734784afc665dae46096db3943e1b9b8350fcb 10860 pyxdg_0.28-3.debian.tar.xz
0a8a16ded24868fdadfd0d0b9c9694a4f7d100f5 158188 pyxdg_0.28-3.git.tar.xz
912419c5c98f77ef49e516bbf035e3fa7424f704 18206 pyxdg_0.28-3_source.buildinfo
Checksums-Sha256:
218a92fec46101d1c7869b882a4425d4b6f45dca36ace90e66d125a3b2557215 2563
pyxdg_0.28-3.dsc
c9f8bc2d514c5aad18800b44c3228924fd9999d2353170eef0d2d60945cfad1f 10860
pyxdg_0.28-3.debian.tar.xz
0a29160214d604b4a4a4cdea739b448d3177ba444d22898d1fb98588b4944855 158188
pyxdg_0.28-3.git.tar.xz
310c86f5e7433665437d4bc667de5d59355fd101d1f82d2a8e0c4a989c72a8b1 18206
pyxdg_0.28-3_source.buildinfo
Files:
aaeee5db19c652fc7eb3e5c353696e13 2563 python optional pyxdg_0.28-3.dsc
828ecebfee1cb63eddd4cf69105c3837 10860 python optional
pyxdg_0.28-3.debian.tar.xz
fb0ecb70e62d24137ecc85025f2747c9 158188 python optional pyxdg_0.28-3.git.tar.xz
3f21caa08671244b9d5717995bb561c9 18206 python optional
pyxdg_0.28-3_source.buildinfo
Git-Tag-Info: tag=c4ade963ec35c6e0f2918563bca35c30d594cb02
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmkscS8ACgkQYG0ITkaD
wHmriBAAmVqefGdvokYTpymrSrYZy3Tn1MD7+8MS9g0jib9BUSadxhHdgtiMorZy
bAV4nPGAJqTd2Rv4VP/jUGI5UERyjw71aaCn/xg+YZ1LI0/siw4iiuofpqBBNWOv
nst79+ONrUmtJc+ZeOza/AXifUr8K6eXnzOva0wodfFH9xwbKdnKo4hgjF2Gu66q
WE9cX6YYWdvt8LsL+JhrdR8cGb/b7ldGeUPeraSHXpTBOWY/Elb+lrRufaZVGcbE
RCMzTHFu58lIaxe0FnkVwu5FT+bmSFdqRqsG7mC3w68aINDlqHAreKYZrHOVe/Ml
Y0VTshmvFoV7ViyNHRqlz0pXxeKwUo6qJ3K6/a8X7A4D2ZN6FgACB4ieKTuqZCWp
K41qIKd7k/W9POwuNjxweFe/ZD6XJHOCzTU7nVWC7nJLhxAwMzUIciod44kct/LI
qJDcAUUF+IXw8d/X7Qmfgv4vYUMoKwEIiKt+Vh6+WdXofmW1Sa02rAS4GlkYaxh5
+9MQM/ikkWZKsUwUWWrCXQe8l5gIQlX0RUtamAHXbQqkzFVC6N3cxDnS5K0Ewcif
xPf332u5utw2TIb18e4msDsY7gGDuZ/Fpn+kktlIiecRc22hdMuCzwypgFssuzoa
iUDXbGRfrKwsOipZShA/+HVPlSkddOP5CqE4VuLrVx4sejt2kOk=
=/bYY
-----END PGP SIGNATURE-----
pgpYKzytQInmc.pgp
Description: PGP signature
--- End Message ---