Debian Patches

Status for python-gevent/26.9.0-1

Patch Description Author Forwarded Bugs Origin Last update
use-local-intersphinx-inventory.patch use local intersphinx inventory Use the offline copies under debian/ instead of downloading inventories. Laszlo Boszormenyi (GCS) <gcs@debian.org> not-needed 2026-10-31
fix-Hurd-FTBFS.patch define PATH_MAX if needed
Fix FTBFS for Hurd/i386.
Laszlo Boszormenyi (GCS) <gcs@debian.org> no 2026-03-20
fix-error-running_tests-docs.patch do not run python -mgevent.tests --help The command fails and results in a error message in the generated HTML.
Additionally, it's a cause for unreproducible builds.
===================================================================
Emanuele Rocca <ema@debian.org> no 2022-08-31
forward-fileobject-keywords.patch Forward keyword arguments when loading FileObject
Pass encoding and errors through the first lazy FileObject call.
Test the first pipe creation in a fresh interpreter.
Boyuan Yang <byang@debian.org> no 2026-10-30
fix-subprocess-timeout.patch Honor subprocess timeouts with inherited pipes
Keep raw partial output for run() and check_output(), then reap the child
without waiting for descendants to close their inherited pipes. Disable
text decoding during timeout cleanup to preserve TimeoutExpired.

Apply the remaining timeout budget to communicate() process waiting,
while preserving its existing text buffering and retry behavior.
Add regression coverage for these paths.
Boyuan Yang <byang@debian.org> no 2026-10-30
include-python315-subprocessdata.patch Include helper scripts for the copied Python 3.15 subprocess tests https://deb.debian.org/debian/pool/main/p/python3.15/libpython3.15-testsuite_3.15.2-1_all.deb

The copied test_subprocess.py uses five scripts from subprocessdata, but
gevent's source distribution does not include them. When the interpreter's
full testsuite is unavailable, support.findfile() returns a nonexistent
relative path and the descriptor tests fail.

Include the unmodified helper scripts supplied with Debian's Python 3.15
3.15.2-1 source. They are byte-for-byte identical to the helpers in Debian's
Python 3.14 3.14.10-1 source. Their PSF license is covered by the existing
src/greentest/3.*/* entry in debian/copyright.

diff --git a/src/greentest/3.15/subprocessdata/fd_status.py b/src/greentest/3.15/subprocessdata/fd_status.py
new file mode 100644
index 0000000000000000000000000000000000000000..90e785981aeab0f3730b373a3b5d05bd694e5a0a
Boyuan Yang <byang@debian.org> no other, Debian python3.15 source version 3.15.2-1; 2026-10-30
fix-timer-resolution-test.patch Use an idle connected socket for the timer resolution test
An unconnected socket is immediately readable on Linux. Running the loop
once then cancels the timer before it expires, so the assertion depends
on incidental execution overhead. Keep both ends of an idle socket pair
open to test timer resolution alongside an active I/O watcher.
Boyuan Yang <byang@debian.org> no 2026-10-30

All known versions for source package 'python-gevent'

Links