Your message dated Sun, 20 Sep 2026 02:38:56 +0000
with message-id <[email protected]>
and subject line Bug#1145088: fixed in aiofile 3.12.3-1
has caused the Debian Bug report #1145088,
regarding aiofile: FTBFS building against python 3.15
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.)


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

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that aiofile fails to build from source [1].

This is due to the way the module metadata is processed, that's already
fixed upstream and included since the release 3.10.1.

I'm attaching the upstream patch used in the sandbox to allow building
the packages that depend on aiofile.

Please consider including this patch or updating the package to the new
upstream release.

Happy hacking,

[1]: 
https://debusine.debian.net/debian/r-python-python3.15/work-request/1063575/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Fix KeyError when reading package metadata on Python 3.15
 PEP 621 authors table generates Author-email (e.g. "Name <email>")
 but not a standalone Author field. Similarly, license as an SPDX
 string maps to License-Expression, not License. Use .get() with
 fallbacks to handle both old and new metadata formats.
Origin: upstream, https://github.com/mosquito/aiofile/commit/c27fdc7e82756e87b8814cc0f9aedc21c0425487
Author: Paulus Schoutsen <[email protected]>, Yuri Konotopov <[email protected]>
Last-Update: 2026-08-21
--- a/aiofile/version.py
+++ b/aiofile/version.py
@@ -1,13 +1,26 @@
 import importlib.metadata
+from email.utils import parseaddr
 
 
 package_metadata = importlib.metadata.metadata("aiofile")
 
-__author__ = package_metadata["Author"]
+_author_email_raw = package_metadata.get("Author-email", "")
+_author_name, _author_email_addr = parseaddr(_author_email_raw)
+
+__author__ = package_metadata.get("Author", _author_name)
 __version__ = package_metadata["Version"]
-author_info = [(package_metadata["Author"], package_metadata["Author-email"])]
-package_info = package_metadata["Summary"]
-package_license = package_metadata["License"]
-project_home = package_metadata["Home-page"]
-team_email = package_metadata["Author-email"]
+author_info = [(__author__, _author_email_addr or _author_email_raw)]
+package_info = package_metadata.get("Summary", "")
+package_license = package_metadata.get(
+    "License-Expression", package_metadata.get("License", ""),
+)
+project_home = next(
+    (
+        url.split(",")[1].strip()
+        for url in package_metadata.get_all("Project-URL", [])
+        if "homepage" in url.lower()
+    ),
+    "",
+)
+team_email = _author_email_addr or _author_email_raw
 version_info = tuple(map(int, __version__.split(".")))

--- End Message ---
--- Begin Message ---
Source: aiofile
Source-Version: 3.12.3-1
Done: Yuri Konotopov <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aiofile, 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.
Yuri Konotopov <[email protected]> (supplier of updated aiofile 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: Fri, 18 Sep 2026 18:58:36 +0000
Source: aiofile
Architecture: source
Version: 3.12.3-1
Distribution: unstable
Urgency: medium
Maintainer: Yuri Konotopov <[email protected]>
Changed-By: Yuri Konotopov <[email protected]>
Closes: 1145088
Changes:
 aiofile (3.12.3-1) unstable; urgency=medium
 .
   * Moved Debian packaging to a subfolder
   * New upstream version 3.12.3:
     - Switched build backend to Hatchling
     - Enabled tests now that upstream includes them in the sdist
     - Marked test build deps with <!nocheck>
     - Added d/p/event_loop.patch to fix pytest-asyncio incompatibility
   * Update dh-compat to v14, d/watch to v5 and drop d/control optional fields
   * Closes: #1145088
Checksums-Sha1:
 85f849b3897e3e95518fdde571cc91a2a171f040 2097 aiofile_3.12.3-1.dsc
 ff4149546a72930bc9e0627a7ffae51db00e6811 21600 aiofile_3.12.3.orig.tar.gz
 5184f418180162698358270429185ccf6bc1996a 3020 aiofile_3.12.3-1.debian.tar.xz
 4a878966814911dde61cd0b3de5832e3f5344533 6299 aiofile_3.12.3-1_source.buildinfo
Checksums-Sha256:
 57c60ae271719e5cfac2c1d501b4065c25fa346485ae2b8e8c207b47acab15ac 2097 
aiofile_3.12.3-1.dsc
 caa6aa746b5e47e2165f7abd741b6415e49cf4d44fddc0f61844612cc3924d41 21600 
aiofile_3.12.3.orig.tar.gz
 3d52cde30a565e26397159b3c3d5165bd4d87665a7689d5922ac71dbdb727747 3020 
aiofile_3.12.3-1.debian.tar.xz
 1edd0cfa58331972405ca652208df7acbe1b30b3a3c1fc4a789719a1bce918f0 6299 
aiofile_3.12.3-1_source.buildinfo
Files:
 90e3e3fae38dc14c738f335c24a7de43 2097 python optional aiofile_3.12.3-1.dsc
 8aa8481c2fa0a14b72e4f45276b10797 21600 python optional 
aiofile_3.12.3.orig.tar.gz
 ee83ae524d5994d9a6d531b63478fe7f 3020 python optional 
aiofile_3.12.3-1.debian.tar.xz
 c08d00c40117b915ff9020556e143ac1 6299 python optional 
aiofile_3.12.3-1_source.buildinfo

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

iQIzBAEBCgAdFiEEvGv7H5NUQYeSuhtTJ2Egg8PSprAFAmqvQYIACgkQJ2Egg8PS
prC+HQ//ST92G4D3bm/uU+Qes76Me1IiBc25Opb42OvcO4t17Rvrx0/99JX47Jjk
zx7wwsntfwzDkuz8wMqmRjL4GUkgj1/iwaYG5Rk2/qy2KylDdDRv9HZus1CbF2TQ
p0824bdTJv8uGlAl6Y15VjZ4FBC5+NEp9RLmsgK6Lnu1HsooIPZ4hVR/HsRuIyd0
kODxkQprwdLbnK64jwNKuu0+us//uUhR2wvZuMAx6t4qhJ25+7B8N1Wg3j3sAGFD
R3ZmLhYa8VPdMjp6Mt41x54JM1+FiaEhCtpq8KLYgaPB3YWLg4elq65NaIF0UGpo
mDbqUX68YFALoPzLDq3uexGs6jiQN0rAvvpPO3Px/2qVO87o6gGr+IDV/IcTeBUa
c+vPRNQueaPT9dwUPZy+Yh3/0hxdOiLSC8A9qHWfay2qG2Udbcfit3pJJaECfveV
JvzNJdle1yKq924JhnELoIDWZHM/0fUii3UWgXcnPlduY+dFeUtA58qRFy+2L8lE
/TNdncDnoJ0NwXZxOWlkkMM4kiYIygoUSV8rFerw3mmAaKTzTzquQDO1g/22WSBz
MA+IYlY+ydGJma+A/GMt61yrdFXdPWR9uAYjKhppqgoxQsYA0PIajsTCsygTdadc
S5sO+JN/AuaA1TNtbNK0NY7nnmez78F9DU5HRCOg+ZwFJl2Q2uM=
=gQV4
-----END PGP SIGNATURE-----

Attachment: pgpHDwLOCF8VP.pgp
Description: PGP signature


--- End Message ---

Reply via email to