[SRU] python-eventlet/python-gevent fall back to old behavior if SSLContext is not available
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
python-eventlet (Ubuntu) | ||||||
Trusty |
Fix Released
|
Undecided
|
Unassigned | |||
Utopic |
Fix Released
|
Medium
|
Unassigned | |||
python-gevent (Ubuntu) | ||||||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
When backporting the utopic version of python-eventlet to the ubuntu cloud archive on trusty (to pick up the fix for bug #1419117) the build for python-eventlet failed. The build failed because SSLContext() is not defined for Python 2.7 in trusty, whereas it is defined for Python 2.7 and 3.4 in utopic.
Use of SSLContext was introduced in the utopic packaging branch in the following patch: debian/
[Test Case]
Build python-eventlet for both trusty and utopic, which will also run the test suite.
[Regression Potential]
Should be zero, as the version of python-eventlet in trusty is running without the sslwrap.diff patch, and when the utopic version falls back to the original behavior, it will result in the same code.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 114 lines (+53/-20)3 files modifieddebian/changelog (+7/-0)
debian/patches/sslwrap.diff (+25/-12)
eventlet/green/ssl.py (+21/-8)
- Ubuntu Development Team: Pending requested
-
Diff: 114 lines (+53/-20)3 files modifieddebian/changelog (+7/-0)
debian/patches/sslwrap.diff (+25/-12)
eventlet/green/ssl.py (+21/-8)
Changed in python-eventlet (Ubuntu Utopic): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
no longer affects: | python-eventlet (Ubuntu) |
no longer affects: | python-gevent (Ubuntu Utopic) |
no longer affects: | python-gevent (Ubuntu) |
summary: |
- [SRU] python-eventlet fall back to old behavior if SSLContext is not - available + [SRU] python-eventlet/python-gevent fall back to old behavior if + SSLContext is not available |
The upload in the -proposed queue for Utopic isn't based off 0.13.0-1ubuntu3.1 so ends up removing the changes it made e.g.:
diff -Nru python- eventlet- 0.13.0/ debian/ changelog python- eventlet- 0.13.0/ debian/ changelog eventlet- 0.13.0/ debian/ changelog 2015-02-09 13:31:24.000000000 +0000 eventlet- 0.13.0/ debian/ changelog 2015-02-19 20:23:21.000000000 +0000
--- python-
+++ python-
@@ -1,9 +1,9 @@
-python-eventlet (0.13.0-1ubuntu3.1) utopic; urgency=medium
+python-eventlet (0.13.0-1ubuntu4) utopic-proposed; urgency=medium
- * debian/ patches/ socket- timeout. patch: Cherry-pick patch to provide patches/ sslwrap. diff: Fall back to old behavior if SSLContext
- socket_timeout support (LP: #1419117).
+ * debian/
+ not available (LP: #1423675).
- -- Corey Bryant <email address hidden> Mon, 09 Feb 2015 13:31:20 +0000
+ -- Corey Bryant <email address hidden> Thu, 19 Feb 2015 13:51:36 -0500
python-eventlet (0.13.0-1ubuntu3) utopic; urgency=medium
diff -Nru python- eventlet- 0.13.0/ debian/ patches/ series python- eventlet- 0.13.0/ debian/ patches/ series eventlet- 0.13.0/ debian/ patches/ series 2015-02-09 13:24:52.000000000 +0000 eventlet- 0.13.0/ debian/ patches/ series 2015-02-19 20:21:57.000000000 +0000 tests.patch on-sphinx- build.patch timeout. patch
--- python-
+++ python-
@@ -1,4 +1,3 @@
skip-failing-
fix-FTBFS-
sslwrap.diff
-socket-