[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 |
Undecided
|
Unassigned | |||
| | Utopic |
Medium
|
Unassigned | |||
| python-gevent (Ubuntu) | ||||||
| | Trusty |
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 2015-02-19
-
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 2015-02-20
-
Diff: 114 lines (+53/-20)3 files modifieddebian/changelog (+7/-0)
debian/patches/sslwrap.diff (+25/-12)
eventlet/green/ssl.py (+21/-8)
| Brian Murray (brian-murray) wrote : | #1 |
| Corey Bryant (corey.bryant) wrote : | #2 |
Ugh, I'm not sure why that never got merged. I have a new merge request here. I'll ask Chuck to review it in the morning. https:/
| Corey Bryant (corey.bryant) wrote : Re: [Bug 1423675] Re: [SRU] python-eventlet fall back to old behavior if SSLContext is not available | #3 |
Bryan, Can you take a look again? Chuck Short just upload the following
merge:
https:/
On Fri, Feb 20, 2015 at 10:03 AM, Launchpad Bug Tracker <
<email address hidden>> wrote:
> ** Branch linked: lp:~corey.bryant/ubuntu/utopic/python-
> eventlet/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [SRU] python-eventlet fall back to old behavior if SSLContext is not
> available
>
> Status in python-eventlet package in Ubuntu:
> New
>
> 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/
> enable the backport is to fall back to the original behavior in this
> patch if SSLContext is not available.
>
> [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.
>
> To manage notifications about this bug go to:
>
> https:/
>
--
Regards,
Corey
| Corey Bryant (corey.bryant) wrote : Re: [SRU] python-eventlet fall back to old behavior if SSLContext is not available | #4 |
Bryan, Can you take a look again? Chuck Short just uploaded the following merge:
https:/
Hello Corey, or anyone else affected,
Accepted python-eventlet into utopic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: | added: verification-needed |
| Corey Bryant (corey.bryant) wrote : Re: [SRU] python-eventlet fall back to old behavior if SSLContext is not available | #6 |
Testing has successfully completed against python-eventlet 0.13.0-1ubuntu3.2.
| tags: |
added: verification-done removed: verification-needed |
| Changed in python-eventlet (Ubuntu Utopic): | |
| status: | New → Fix Committed |
| importance: | Undecided → Medium |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package python-eventlet - 0.13.0-1ubuntu3.2
---------------
python-eventlet (0.13.0-1ubuntu3.2) utopic; urgency=medium
* debian/
not available (LP: #1423675).
-- Corey Bryant <email address hidden> Fri, 20 Feb 2015 09:42:26 -0500
| Changed in python-eventlet (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for python-eventlet has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| 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 |
Hello Corey, or anyone else affected,
Accepted python-gevent into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in python-gevent (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| tags: | removed: verification-done |
| tags: | added: verification-needed |
| Changed in python-eventlet (Ubuntu Trusty): | |
| status: | New → Fix Committed |
| Chris J Arges (arges) wrote : | #10 |
Hello Corey, or anyone else affected,
Accepted python-eventlet into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Matthias Klose (doko) wrote : | #11 |
verified that the code both works with python2.7 in trusty, and with 2.7.10 in the ubuntu-
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package python-eventlet - 0.13.0-1ubuntu2.3
---------------
python-eventlet (0.13.0-1ubuntu2.3) trusty-proposed; urgency=medium
* SRU: LP: #1423675, LP: #1371291 (taken from 0.13.0-1ubuntu3.2).
* Fix build failure with python2.7 and PEP 466.
-- Matthias Klose <email address hidden> Sat, 12 Dec 2015 13:54:08 +0100
| Changed in python-eventlet (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package python-gevent - 1.0-1ubuntu1.1
---------------
python-gevent (1.0-1ubuntu1.1) trusty-proposed; urgency=medium
* SRU: LP: #1423675
* Fix build failure with python2.7 and PEP 466.
-- Matthias Klose <email address hidden> Sat, 12 Dec 2015 14:34:10 +0100
| Changed in python-gevent (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |


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-