#1146532 python-blessed: FTBFS against python 3.15rc1

#1146532#5
Date:
2026-09-02 19:57:50 UTC
From:
To:
Hi!

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

The error is: DeprecationWarning: This process (pid=1990) is
multi-threaded, use of forkpty() may lead to deadlocks in the child.

In order to fix it, I had to apply two changes:
- Upstream Commit cee680f: Ignore deprecation warnings fro pty.fork [2]
- Run tests against the tests directory (otherwise a patch in the tests
   tries to run the tests in .pc)

I applied these fixes in the sandbox [3] to be able to build the
packages that depend on python-blessed, please consider applying the
patch to support the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4434437/
[2]: https://github.com/jquast/blessed/commit/cee680ff7fb3ad31f42ae98582ba74629f1fd6b0
[3]: https://debusine.debian.net/debian/r-python-python3.15/