Your message dated Wed, 23 Sep 2026 10:33:51 +0000
with message-id <[email protected]>
and subject line Bug#1145839: fixed in python-anyio 4.15.1-1
has caused the Debian Bug report #1145839,
regarding python-anyio: 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.)


-- 
1145839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145839
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-anyio
Version: 4.12.1-3
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-anyio fails to build from source [1].
I backported the relevant parts of the upstream commits that add support
for 3.15 [2] [3]. Note that upstream disables blockbuster in the
pyproject.toml, but that doesn't work for our builds. Also, blockbuster
will get support for python 3.15 once forbiddenfruit add it[5].

I applied the upstream fixes in the sandbox [4] to be able to build the
packages that depend on python-anyio, please consider applying the
patches to support the upcoming 3.15 version.

Happy hacking,

[1]: 
https://debusine.debian.net/debian/r-python-python3.15/work-request/1113809/
[2]: 
https://github.com/agronholm/anyio/commit/2370032396438b0279bacb3ff2f5c4ae2886f0d0
[3]: 
https://github.com/agronholm/anyio/commit/25b417fb497f1af25487cdcb7a89fe1e5f91b59d
[4]: https://debusine.debian.net/debian/r-python-python3.15/
[5]: https://github.com/clarete/forbiddenfruit/pull/86
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
From: Alex Grönholm <[email protected]>
Date: Wed, 3 Jun 2026 19:40:04 +0300
Subject: Added Python 3.15 support (#1159)

Blockbuster does not yet work on 3.15, so it was disabled for that version.
Uvloop doesn't work with 3.15 yet either.
Origin: upstream, https://github.com/agronholm/anyio/commit/2370032396438b0279bacb3ff2f5c4ae2886f0d0

Index: python-anyio/pyproject.toml
===================================================================
--- python-anyio.orig/pyproject.toml
+++ python-anyio/pyproject.toml
@@ -124,6 +124,8 @@ filterwarnings = [
     "ignore:unclosed transport <_ProactorSocketTransport.*:ResourceWarning",
     # Workaround for Python 3.9.7 (see https://bugs.python.org/issue45097)
     "ignore:The loop argument is deprecated since Python 3\\.8, and scheduled for removal in Python 3\\.10\\.:DeprecationWarning:asyncio",
+    # Ignore deprecation warning occurring under coverage.py on Python 3.15
+    "ignore:Module globals; __loader__ != __spec__.loader:DeprecationWarning:",
 ]
 markers = [
     "network: marks tests as requiring Internet access",
Index: python-anyio/tests/conftest.py
===================================================================
--- python-anyio.orig/tests/conftest.py
+++ python-anyio/tests/conftest.py
@@ -89,6 +89,10 @@ for backend_name in get_all_backends():
 
 @pytest.fixture(autouse=True)
 def blockbuster() -> Iterator[BlockBuster | None]:
+    if sys.version_info >= (3, 15):
+        yield None
+        return
+
     try:
         from blockbuster import blockbuster_ctx
     except ImportError:
From: Varun Chawla <[email protected]>
Date: Sun, 8 Feb 2026 14:00:48 -0800
Subject: Handled Python 3.15 path API changes (#1065)

- Conditionally remove is_reserved() on Python 3.15+ (removed in CPython)
- Add __vfspath__() on Python 3.15+ (new in CPython)
- Skip test_is_reserved on Python 3.15+

Fixes #1061.
Origin: upstream, https://github.com/agronholm/anyio/commit/25b417fb497f1af25487cdcb7a89fe1e5f91b59d

Index: python-anyio/src/anyio/_core/_fileio.py
===================================================================
--- python-anyio.orig/src/anyio/_core/_fileio.py
+++ python-anyio/src/anyio/_core/_fileio.py
@@ -301,6 +301,11 @@ class Path:
     def __fspath__(self) -> str:
         return self._path.__fspath__()
 
+    if sys.version_info >= (3, 15):
+
+        def __vfspath__(self) -> str:
+            return self._path.__vfspath__()
+
     def __str__(self) -> str:
         return self._path.__str__()
 
@@ -561,8 +566,10 @@ class Path:
             os.path.ismount, self._path, abandon_on_cancel=True
         )
 
-    def is_reserved(self) -> bool:
-        return self._path.is_reserved()
+    if sys.version_info < (3, 15):
+
+        def is_reserved(self) -> bool:
+            return self._path.is_reserved()
 
     async def is_socket(self) -> bool:
         return await to_thread.run_sync(self._path.is_socket, abandon_on_cancel=True)
Index: python-anyio/tests/test_fileio.py
===================================================================
--- python-anyio.orig/tests/test_fileio.py
+++ python-anyio/tests/test_fileio.py
@@ -302,6 +302,10 @@ class TestPath:
         assert not await Path("/gfobj4ewiotj").is_mount()
         assert await Path("/").is_mount()
 
+    @pytest.mark.skipif(
+        sys.version_info >= (3, 15),
+        reason="is_reserved() was removed in Python 3.15",
+    )
     @pytest.mark.filterwarnings("ignore::DeprecationWarning")
     def test_is_reserved(self) -> None:
         expected_result = platform.system() == "Windows"

--- End Message ---
--- Begin Message ---
Source: python-anyio
Source-Version: 4.15.1-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-anyio, 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 python-anyio 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, 23 Sep 2026 11:10:33 +0100
Source: python-anyio
Architecture: source
Version: 4.15.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1145839 1148561
Changes:
 python-anyio (4.15.1-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release (closes: #1148561):
     - CVE-2026-63349: Fixed extra_groups not being passed to backend
       open_process().
     - CVE-2026-63374: Fixed TLSStream.wrap() using IDNA 2003 to encode host
       names.
     - CVE-2026-64847: Fixed stderr writes in a worker subprocess causing a
       deadlock.
     - Added support for Python 3.15 (closes: #1145839).
Checksums-Sha1:
 2110db19ce119aa862f132b3f3bd503f3e07b747 2853 python-anyio_4.15.1-1.dsc
 9b346640fcf19a0a153dec02352a4c73138684c6 270969 python-anyio_4.15.1.orig.tar.gz
 2bd6af374c03e8c985bf46c841c4b1385900ca8e 4728 
python-anyio_4.15.1-1.debian.tar.xz
 ae8a56dea84dbe4b1f76aef2cb8a2eb2152f1dbb 621552 
python-anyio_4.15.1-1.git.tar.xz
 741f19399e0ff1e23519b0877b295ed3350da323 17746 
python-anyio_4.15.1-1_source.buildinfo
Checksums-Sha256:
 79bdc88eb8715aaf7f6710f492cb7e69f1fc101b423f026e7e7cb1d320b94f99 2853 
python-anyio_4.15.1-1.dsc
 aa3b2dcf1e0dcdef16b9995a17afd4f8594d2b0c8e58721d7ab8a5b5fdb70ebf 270969 
python-anyio_4.15.1.orig.tar.gz
 c240ccd9212ca9164775549bc58b85f045770350c506908290ccc2f4ec896f8d 4728 
python-anyio_4.15.1-1.debian.tar.xz
 7a3046853a14e0e8b7f1cb4be62274b99f339c10a4eae99d84b5d2f760b6f23a 621552 
python-anyio_4.15.1-1.git.tar.xz
 6a94c3e64a74273e26b0a622deddeb751d607422b6d4c42b29fae0f3ed958397 17746 
python-anyio_4.15.1-1_source.buildinfo
Files:
 ef211b6fa90e525c97ecf38c06580ab6 2853 python optional python-anyio_4.15.1-1.dsc
 d514ae047d6d6f465114a3f9b79164fc 270969 python optional 
python-anyio_4.15.1.orig.tar.gz
 51dd83b3e2c0699398bac5d12e800583 4728 python optional 
python-anyio_4.15.1-1.debian.tar.xz
 bfb23d351c4ab8848242689c0c12b023 621552 python None 
python-anyio_4.15.1-1.git.tar.xz
 269d4b970684bb12b6fb4f0db47814bf 17746 python optional 
python-anyio_4.15.1-1_source.buildinfo
Git-Tag-Info: tag=cba1c76a791307793446ac9650759024f7d61b83 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqzpfoACgkQYG0ITkaD
wHn/ABAA4lCe0ani8zNzcGdufz0eLtSiiKLk0ObrCASWOjt3hQV/qZF517Mz/tkE
axfYD3nB1fzDhyMgzDFi+4Rd1nlLDbha1qRqNHyWOID2qLn0rR32VZK4wFA2AD42
Cf/BScuDLXNHnLr4nf2GyVPLQeLxFiMIT2jBstfV+Ls/IcrLs+LnNyL69VekTBoC
frparQHyMmRUBae5pMXG1I0Asav7IKN5HJ4OW14hFVkehBN+B0G/oxBBuDMhCR5u
SPYHl0sqNrXIOG2LbouuuyaE8FKcwSiLJsh5jTBHP5Rl7cfMniYvf6eLmEdO976s
VmqhXkyfAXWbWplwaB0re3lJY/zInu9myBO4nWrAsbPul3Z50Rr8e7ZZImsaI9xh
aBRYDOYUvJV3+jwqp8am1f7h7F9l/VDFprsXo3pZddZ7JtsKdwGh2owTh645eiKv
3/FtQr9yKT4ThBuKB64AHZNxOHTK5a9/e31943iB4qwo4LpnHBhjahWgvIkohfqH
Z97ETqlbdd9we5xuH9BR126/M1YgocoqZwBIPkezXUdAPRFmXmOZV89tsXmwlYuS
ebNF50aECfpXqEKacnRZw618cSGJXl0pYyBDDiTlk7F5QQtANHzFBNPsPMWL5Raj
6g458GRVkUvTqkKs7cOn3hkqnT9Z8iCEzuh7bLZBeepkd5ple4w=
=ZtgT
-----END PGP SIGNATURE-----

Attachment: pgpHoO4E1yT7G.pgp
Description: PGP signature


--- End Message ---

Reply via email to