Your message dated Sat, 03 Oct 2026 22:05:02 +0000
with message-id <[email protected]>
and subject line Bug#1149824: fixed in python-anyio 4.15.1-3
has caused the Debian Bug report #1149824,
regarding python-anyio: FTBFS:     | ValueError: server_hostname can only be 
specified in client mode
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.)


-- 
1149824: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149824
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-anyio
Version: 4.15.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

Note: DeepSeek tells me that this was fixed here yesterday:

https://github.com/agronholm/anyio/commit/818e4ac441fa27e9fac893496fc5a4fbe0a58689


About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-anyio, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
    |                             server_hostname=server_hostname, 
session=session)
    |                             
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/lib/python3.14/ssl.py", line 381, in _check_sslobject_params
    |     raise ValueError("server_hostname can only be specified "
    |                      "in client mode")
    | ValueError: server_hostname can only be specified in client mode
    +------------------------------------
_________________ test_gather_results_in_order[asyncio+eager] __________________
  + Exception Group Traceback (most recent call last):
  |   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 361, in 
from_call
  |     result: TResult | None = func()
  |                              ~~~~^^
  |   File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 250, in 
<lambda>
  |     lambda: runtest_hook(item=item, **kwds),
  |             ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in 
__call__
  |     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
firstresult)
  |            
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in 
_hookexec
  |     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  |            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in 
_multicall
  |     raise exception
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 865, in 
pytest_runtest_call
  |     yield
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 900, in 
pytest_runtest_call
  |     return (yield)
  |             ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 53, in 
run_old_style_hookwrapper
  |     return result.get_result()
  |            ~~~~~~~~~~~~~~~~~^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 103, in 
get_result
  |     raise exc.with_traceback(tb)
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 38, in 
run_old_style_hookwrapper
  |     res = yield
  |           ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in 
_multicall
  |     teardown.throw(exception)
  |     ~~~~~~~~~~~~~~^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 268, in 
pytest_runtest_call
  |     return (yield)
  |             ^^^^^
  |   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in 
_multicall
  |     res = hook_impl.function(*args)
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 183, in pytest_runtest_call
  |     collect_unraisable(item.config)
  |     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 81, in collect_unraisable
  |     raise ExceptionGroup("multiple unraisable exception warnings", errors)
  | ExceptionGroup: multiple unraisable exception warnings (4 sub-exceptions)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
190, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectReceiveStream at 7fd93ecaf890>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectReceiveStream.__del__ at 0x7fd940eb7b60>: None
    | 
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
321, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectSendStream at 7fd93ecaf5f0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectSendStream.__del__ at 0x7fd940ea4ca0>: None
    | 
    +---------------- 3 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
190, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectReceiveStream at 7fd93ed37110>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectReceiveStream.__del__ at 0x7fd940eb7b60>: None
    | 
    +---------------- 4 ----------------
    | Traceback (most recent call last):
    |   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/anyio/streams/memory.py", line 
321, in __del__
    |     warnings.warn(
    |     ~~~~~~~~~~~~~^
    |         f"Unclosed <{self.__class__.__name__} at {id(self):x}>",
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |     ...<2 lines>...
    |         source=self,
    |         ^^^^^^^^^^^^
    |     )
    |     ^
    | ResourceWarning: Unclosed <MemoryObjectSendStream at 7fd93e778bf0>
    | 
    | The above exception was the direct cause of the following exception:
    | 
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", 
line 67, in collect_unraisable
    |     warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
    |     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | pytest.PytestUnraisableExceptionWarning: Exception ignored while calling 
deallocator <function MemoryObjectSendStream.__del__ at 0x7fd940ea4ca0>: None
    | 
    +------------------------------------
=========================== short test summary info ============================
SKIPPED [1] tests/test_debugging.py:104: Generator based coroutines have been 
removed in Python 3.11
SKIPPED [1] tests/test_eventloop.py:134: winloop not installed
SKIPPED [1] tests/test_fileio.py:202: Drive only makes sense on Windows
SKIPPED [1] tests/test_fileio.py:247: Only makes sense on Windows
SKIPPED [4] tests/test_fileio.py:317: Could not find a suitable block device
SKIPPED [4] tests/test_fileio.py:684: os.lchmod() is not available
SKIPPED [4] tests/test_from_thread.py:744: This test is known to hang often on 
CI
SKIPPED [1] tests/test_subprocesses.py:377: the 'user' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:377: the 'group' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_subprocesses.py:377: the 'umask' argument is not 
supported by uvloop yet
SKIPPED [1] tests/test_taskgroups.py:1438: Generator based coroutines have been 
removed in Python 3.11
SKIPPED [3] tests/test_taskgroups.py:1459: Generator based coroutines have been 
removed in Python 3.11
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager--1]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[trio-0]
FAILED 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[trio--1]
FAILED tests/streams/test_tls.py::TestTLSStream::test_extra_attributes[asyncio]
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio] - ValueError(...
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio+uvloop] - Valu...
FAILED tests/streams/test_tls.py::test_tls_connectable[asyncio+eager] - Value...
FAILED tests/streams/test_tls.py::test_tls_connectable[trio] - ValueError('se...
FAILED 
tests/test_concurrency_utils.py::test_gather_results_in_order[asyncio+eager]
ERROR 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+uvloop-0]
ERROR 
tests/streams/test_tls.py::TestTLSStream::test_receive_invalid_max_bytes[asyncio+eager--1]
ERROR tests/streams/test_tls.py::test_tls_connectable[asyncio+eager] - Except...
= 14 failed, 2916 passed, 23 skipped, 1 deselected, 5 xfailed, 3 errors in 
57.80s =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests 
--deselect=tests/test_lazyimport.py::test_sourceless_install 
--ignore=tests/test_sockets.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=2 returned exit code 13
make: *** [debian/rules:39: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-anyio
Source-Version: 4.15.1-3
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: Sat, 03 Oct 2026 22:45:55 +0100
Source: python-anyio
Architecture: source
Version: 4.15.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1149824
Changes:
 python-anyio (4.15.1-3) unstable; urgency=medium
 .
   * Team upload.
   * Don't pass `hostname` to TLSStream.wrap() for the server stream (closes:
     #1149824).
Checksums-Sha1:
 2980ba3a860bbbd3ea504858385a93b02c3eebc8 2853 python-anyio_4.15.1-3.dsc
 e0e6eca0c32e1a65c154831e61d6692417c3ec41 5588 
python-anyio_4.15.1-3.debian.tar.xz
 acab022607457dfe447106e88a1d3f40279bb091 625176 
python-anyio_4.15.1-3.git.tar.xz
 6c2c155917984465950769c1af5d37b27dda3810 17748 
python-anyio_4.15.1-3_source.buildinfo
Checksums-Sha256:
 a23bb0d26d71c17e7c936ed1912c5561febd35d529538309d9fb05857c4ad218 2853 
python-anyio_4.15.1-3.dsc
 4bd7b46c2360c5aac490185ce4b267d0389bd05806eb596e6826627f97efc70c 5588 
python-anyio_4.15.1-3.debian.tar.xz
 273acc0e3f9bc474e9a62e1e7e6a083a70998f60b00095558dde6f5162592d4b 625176 
python-anyio_4.15.1-3.git.tar.xz
 2e942428b41c9cf91b11f462400b74fc37fd118b21c56721de31022a13c2448b 17748 
python-anyio_4.15.1-3_source.buildinfo
Files:
 c0e32f71e2025fe813b3fd003e2d6e15 2853 python optional python-anyio_4.15.1-3.dsc
 de0dd4da6bef57b52c29f21a25a33da5 5588 python optional 
python-anyio_4.15.1-3.debian.tar.xz
 ae4c4b442ca58105d2990bc5d2652d48 625176 python None 
python-anyio_4.15.1-3.git.tar.xz
 4f04917a37ca0ea2122ac24841a91878 17748 python optional 
python-anyio_4.15.1-3_source.buildinfo
Git-Tag-Info: tag=0786cc52b3dd084be56f099481ba90b7fea30856 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrBeMoACgkQYG0ITkaD
wHmUGw//YS+pS24fHhBP1+KIrSYzHeeRUVnz1ESEoZpVXLwiMR36ztqi8LAUS5Sx
7uYvgmx1R3dQH7PJxDZ0b/9kVhkp1sUvCvq/q98l/GdAqbbGm+S1DC3cTTJQKy7a
wQKMlw36wUchFqqIiXZKl8OogOK0IBCDuFG8/Gxk9NZkRN6vb4iuPNsDTLv1BkRy
Bj8kEkDexwISImEBhhtJpYU5eBFQbq1Huwbga+AprBkdcvxrvuw9Csf20g/pjafA
xUlIxHYbdh4WVW3HHPJx9t4OUafwB4xiRWmBM5Q1vtIAJ/AMoKJB/iy5XQMJd7MS
yCPgi4NxhAiKkELocHBPi0ngt9rlEqg7VqbbmX58y50qWpDjFiNeJtk7sqRk8Qqf
p50mHWRhE/jUzxdu8ZR4X2LNq+3tI+eDvNWmSopOmqiuyjDi7z1P7TM1ApmwBU1h
qf6yAxTK0S/O10B8C1AfGPtZo0AFeOpjsyH/0NQ9F6kCWn9/00wTNMfTBETSyjcC
GQTAjZD3ufqLPI5dDRJLtiPrQ3B0O7N66FWuDInNiE2xb/ItgukPdF9cOBLg1L+S
rNXI9MipIaK+2yiVL3xlQ8vuD3BdMpZQo7GBY3w5rBOztV8sEnbPPh1I1qGI7s4q
hnN7IZpoXe6jVLDX7M0JXG7teKSseM7mnw+0wwB3WgvIVw60D7s=
=oWyU
-----END PGP SIGNATURE-----

Attachment: pgpZV0j03dADD.pgp
Description: PGP signature


--- End Message ---

Reply via email to