Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:pytest-httpbin
User: [email protected]
Usertags: pu

[ Reason ]
Fix Bug #1137653. Build failure due to flaky test. There are also
failures for the same test in ci.debian.org.

[ Impact ]
Anybody trying to build the package may find that it fails due to the flaky 
test.

[ Tests ]
I've tested that the fixed package builds ok where it used to fail.

[ Risks ]
Very low. No real code changes. Only a test has been disabled.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Disable "test_dont_crash_on_handshake_timeout".

[ Other info ]
Package is already uploaded.
diff -Nru pytest-httpbin-2.1.0/debian/changelog 
pytest-httpbin-2.1.0/debian/changelog
--- pytest-httpbin-2.1.0/debian/changelog       2024-09-28 19:11:27.000000000 
+0200
+++ pytest-httpbin-2.1.0/debian/changelog       2026-05-31 20:58:44.000000000 
+0200
@@ -1,3 +1,10 @@
+pytest-httpbin (2.1.0-1+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Disable flaky test. Closes: #1137653.
+
+ -- Santiago Vila <[email protected]>  Sun, 31 May 2026 21:00:00 +0200
+
 pytest-httpbin (2.1.0-1) unstable; urgency=medium
 
   * Team upload
diff -Nru pytest-httpbin-2.1.0/debian/patches/disable-flaky-test.patch 
pytest-httpbin-2.1.0/debian/patches/disable-flaky-test.patch
--- pytest-httpbin-2.1.0/debian/patches/disable-flaky-test.patch        
1970-01-01 01:00:00.000000000 +0100
+++ pytest-httpbin-2.1.0/debian/patches/disable-flaky-test.patch        
2026-05-31 20:57:01.000000000 +0200
@@ -0,0 +1,16 @@
+From: Santiago Vila <[email protected]>
+Subject: Disable flaky test
+Bug-Debian: https://bugs.debian.org/1137653
+Forwarded: https://github.com/kevin1024/pytest-httpbin/issues/99
+Last-Update: 2026-05-31
+
+--- a/tests/test_server.py
++++ b/tests/test_server.py
+@@ -54,6 +54,7 @@
+     )
+ 
+ 
[email protected](reason="flaky test")
+ def test_dont_crash_on_handshake_timeout(httpbin_secure, capsys):
+     with socket.socket() as sock:
+         sock.connect((httpbin_secure.host, httpbin_secure.port))
diff -Nru pytest-httpbin-2.1.0/debian/patches/series 
pytest-httpbin-2.1.0/debian/patches/series
--- pytest-httpbin-2.1.0/debian/patches/series  1970-01-01 01:00:00.000000000 
+0100
+++ pytest-httpbin-2.1.0/debian/patches/series  2026-05-31 20:57:01.000000000 
+0200
@@ -0,0 +1 @@
+disable-flaky-test.patch

Reply via email to