#1144997 python-websockets: FTBFS building against python 3.15

#1144997#5
Date:
2026-08-21 10:01:42 UTC
From:
To:
Package: src:python-websockets
Version: 16.0-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

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

This is due to a change in 3.15 in the requirements on how the buffers need to
be present in memory. Upstream already applied a fix for this included
in the release 16.1.

I'm attaching the upstream patch that I'm using the sandbox, please
consider either adding this patch or updating the version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/999586/