Your message dated Sun, 10 Oct 2021 16:27:21 -0400
with message-id 
<cab4xwxxocf+oujykracppmq1knbfbnxxipkam801nh7gi84...@mail.gmail.com>
and subject line Re: Fixed upstream in 1.0.2
has caused the Debian Bug report #766867,
regarding python-gevent: SSL support broken with current Python in Jessie 
(2.7.8)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
766867: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766867
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-gevent
Version: 1.0.1-1
Severity: normal

Dear Maintainer,

with current python2.7 (2.7.8-10) from Jessie, the SSL support in
python-gevent is broken for at least two reasons:

1. References no longer existing ssl._ssl.sslwrap()

   gevent.ssl.SSLSocket.connect() tries to use ssl._ssl.sslwrap() which
   no longer exists in Python 2.7.8 (it did exist in Python 2.7.3,
   shipped by wheezy):

   sascha@vm-android:~$ python
   Python 2.7.8 (default, Oct  7 2014, 17:59:21) 
   [GCC 4.9.1] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import gevent.ssl
   >>> import gevent.socket
   >>> sock = gevent.socket.socket()
   >>> ssl_sock = gevent.ssl.SSLSocket(sock)
   >>> ssl_sock.connect(('bugs.debian.org', 443))
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 329, in connect
       self._sslobj = _ssl.sslwrap(self._sock, False, self.keyfile, 
self.certfile,
   AttributeError: 'module' object has no attribute 'sslwrap'


2. References ssl.SSLContext which gets introduced by Python 2.7.9

   When given an already-connected socket, gevent.ssl.SSLSocket.__init__()
   tries to reference SSLContext which doesn't exist in Python 2.7.8 yet
   (gets introduced by 2.7.9):

   sascha@vm-android:~$ python
   Python 2.7.8 (default, Oct  7 2014, 17:59:21) 
   [GCC 4.9.1] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import gevent.ssl
   >>> import gevent.socket
   >>> sock = gevent.socket.socket()
   >>> sock.connect(('bugs.debian.org', 443))
   >>> ssl_sock = gevent.ssl.SSLSocket(sock)
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 84, in __init__
       ctx = SSLContext(ssl_version)
   NameError: global name 'SSLContext' is not defined


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gevent depends on:
ii  libc6            2.19-11
ii  python           2.7.8-1
ii  python-greenlet  0.4.2-1+b2

python-gevent recommends no packages.

Versions of packages python-gevent suggests:
pn  python-gevent-dbg  <none>
pn  python-gevent-doc  <none>
pn  python-openssl     <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Mon, 26 Oct 2015 14:36:21 -0400 Simon Ruggier <[email protected]> wrote:
> Upstream has fixed this issue in the 1.0.2 release of gevent, released in
> May 2015. I think this would be a good candidate for a stable release
> update (
> https://www.debian.org/doc/manuals/developers-reference/pkgs.html#upload-stable

old-old-stable has 1.1.2, so i think it's safe to close this report

--- End Message ---

Reply via email to