Merge ~mylesjp/ubuntu/+source/python-eventlet:merge-lp2139641-resolute into ubuntu/+source/python-eventlet:debian/sid

Proposed by Myles Penner
Status: Needs review
Proposed branch: ~mylesjp/ubuntu/+source/python-eventlet:merge-lp2139641-resolute
Merge into: ubuntu/+source/python-eventlet:debian/sid
Diff against target: 68 lines (+34/-1)
4 files modified
debian/changelog (+12/-0)
debian/control (+2/-1)
debian/patches/openssl-3.4.0-compat.patch (+19/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Nick Rosbrook (community) Needs Information
git-ubuntu import Pending
Review via email: mp+499707@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Myles Penner (mylesjp) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for working on this!

Did you happen to test whether that remaining patch is still necessary? If it is, I would expect Debian to have some version of it too by now.

And, through the comments on bug 2091540, which resulted in this patch being introduced, it sounds like this would ultimately be fixed in Python or elsewhere.

Besides that, one comment inline about the changelog, which you can ignore if we discover this remaining patch is no longer necessary, in which case we can just sync from Debian.

review: Needs Information
Revision history for this message
Myles Penner (mylesjp) wrote :

Hey Nick, I just rebuilt this package in my PPA[1] without that patch and it seems to work fine. It looks like it was resolved upstream. I re-ran the autopkgtests as well and they pass[2]. Since we are dropping the CVE patch, we longer have a delta from Debian. Can we now just do a straight sync? Should I update this MR to drop the Maintainer change as well as the openssl patch?

[1]https://launchpad.net/~mylesjp/+archive/ubuntu/gazpacho-test/+build/32237650
[2]https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-mylesjp-gazpacho-test/resolute/amd64/p/python-eventlet/20260206_183711_11c73@/log.gz

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for confirming that! So we can just sync indeed.

You do not need to update the MP further, since I will just initiate a sync on my end, which basically force copies Debian's version over ours.

Thanks again.

Unmerged commits

ef580d3... by Myles Penner

d/changelog: Merge from Debian 0.40.3-2 (LP: #2139641)

Update maintainer field and add changelog entry for merge.

c26cd2b... by Myles Penner

d/p/openssl-3.4.0-compat.patch: OpenSSL >= 3.4.0 compatibility

Resolve test compatibility issues with newer versions of OpenSSL -
as the server is shutdown OpenSSL returns an [SYS] unknown error
which is handled differently and raised an SSLError exception.

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-eventlet/+bug/2091540

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 48ee8d1..a07116f 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,15 @@
6+python-eventlet (0.40.3-2ubuntu1) resolute; urgency=medium
7+
8+ * Merge from Debian unstable (LP: #2139641).
9+ * d/p/openssl-3.4.0-compat.patch: Refresh for new upstream. Add
10+ ssl.SSLError to exception handling in test_ssl_close() for
11+ OpenSSL >= 3.4.0 compatibility.
12+ * Drop changes:
13+ - d/p/CVE-2025-58068.patch: HTTP request smuggling fix.
14+ [Fixed in 0.40.3-1]
15+
16+ -- Myles Penner <myles.penner@canonical.com> Mon, 02 Feb 2026 15:08:07 -0800
17+
18 python-eventlet (0.40.3-2) unstable; urgency=medium
19
20 * Uploading to unstable.
21diff --git a/debian/control b/debian/control
22index 003e897..c619433 100644
23--- a/debian/control
24+++ b/debian/control
25@@ -1,7 +1,8 @@
26 Source: python-eventlet
27 Section: python
28 Priority: optional
29-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
30+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
31+XSBC-Original-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
32 Uploaders:
33 Thomas Goirand <zigo@debian.org>,
34 Build-Depends:
35diff --git a/debian/patches/openssl-3.4.0-compat.patch b/debian/patches/openssl-3.4.0-compat.patch
36new file mode 100644
37index 0000000..40d5085
38--- /dev/null
39+++ b/debian/patches/openssl-3.4.0-compat.patch
40@@ -0,0 +1,19 @@
41+Description: OpenSSL >= 3.4.0 compatibility
42+ Resolve test compatibility issues with newer versions
43+ of OpenSSL - as the server is shutdown OpenSSL returns
44+ an [SYS] unknown error which is handled differently and
45+ raised an SSLError exception.
46+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-eventlet/+bug/2091540
47+Forwarded: no
48+
49+--- a/tests/ssl_test.py
50++++ b/tests/ssl_test.py
51+@@ -80,7 +80,7 @@
52+ sock.recv(8192)
53+ try:
54+ self.assertEqual(b'', sock.recv(8192))
55+- except (greenio.SSL.ZeroReturnError,
56++ except (greenio.SSL.ZeroReturnError, ssl.SSLError,
57+ BrokenPipeError):
58+ pass
59+
60diff --git a/debian/patches/series b/debian/patches/series
61index 3408c30..dffa5bb 100644
62--- a/debian/patches/series
63+++ b/debian/patches/series
64@@ -16,3 +16,4 @@ neutralize-test_017_ssl_zeroreturnerror.patch
65 install-all-files.patch
66 fix-detecting-version.patch
67 remove-python-3.13-classifier.patch
68+openssl-3.4.0-compat.patch

Subscribers

People subscribed via source and target branches