I am glad that this worked out fine now.

I am not sure there is time to fix this in 20.10, as it has only a few
months of support left. I hope that having libffi7 in 21.04 is enough.

** Changed in: pyopenssl (Ubuntu Groovy)
       Status: Incomplete => Invalid

** Changed in: pyopenssl (Ubuntu)
       Status: Incomplete => Invalid

** Also affects: libffi7 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libffi7 (Ubuntu)
       Status: New => Fix Released

** Changed in: libffi7 (Ubuntu Groovy)
       Status: New => Triaged

** Changed in: libffi (Ubuntu Groovy)
       Status: Incomplete => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libffi in Ubuntu.
https://bugs.launchpad.net/bugs/1903890

Title:
  libffi7 missing from Ubuntu (pip's python3-openssl appears to be built
  against the wrong version of libffi)

Status in libffi package in Ubuntu:
  Fix Released
Status in libffi7 package in Ubuntu:
  Fix Released
Status in pyopenssl package in Ubuntu:
  Invalid
Status in libffi source package in Groovy:
  Triaged
Status in libffi7 source package in Groovy:
  Triaged
Status in pyopenssl source package in Groovy:
  Invalid

Bug description:
  Ubuntu groovy and up upgraded to libffi8ubuntu1, thus making Ubuntu
  incompatible with 3rd-party binaries that desire to use libffi7.

  Let's backport and provide libffi7 runtime library only, for those.

  Not sure how that would work with ctypes though.

  
  ---

  I've just upgraded to Ubuntu 20.10 which comes with python3-openssl
  version 19.0.1-2.  It breaks (at least some) Python applications that
  use the `requests` library to access HTTPS URLS.  For instance, this
  stack trace (note that I have clipped the first few frames from the
  stack as they are proprietary):

    File "/home/tkcook/.local/lib/python3.8/site-packages/requests/api.py", 
line 76, in get
      return request('get', url, params=params, **kwargs)
    File "/home/tkcook/.local/lib/python3.8/site-packages/requests/api.py", 
line 61, in request
      return session.request(method=method, url=url, **kwargs)
    File 
"/home/tkcook/.local/lib/python3.8/site-packages/requests/sessions.py", line 
530, in request
      resp = self.send(prep, **send_kwargs)
    File 
"/home/tkcook/.local/lib/python3.8/site-packages/requests/sessions.py", line 
643, in send
      r = adapter.send(request, **kwargs)
    File 
"/home/tkcook/.local/lib/python3.8/site-packages/requests/adapters.py", line 
439, in send
      resp = conn.urlopen(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 670, 
in urlopen
      httplib_response = self._make_request(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 381, 
in _make_request
      self._validate_conn(conn)
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 978, 
in _validate_conn
      conn.connect()
    File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 342, in 
connect
      self.ssl_context = create_urllib3_context(
    File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 289, in 
create_urllib3_context
      context.verify_mode = cert_reqs
    File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 
438, in verify_mode
      self._ctx.set_verify(_stdlib_to_openssl_verify[value], _verify_callback)
    File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1119, in 
set_verify
      self._verify_helper = _VerifyHelper(callback)
    File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 337, in __init__
      self.callback = _ffi.callback(
  SystemError: ffi_prep_closure(): bad user_data (it seems that the version of 
the libffi library seen at runtime is different from the 'ffi.h' file seen at 
compile-time)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1903890/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to