Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-1010

Build fails on Debian 8 with python-urllib3 installed

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 4.6.0
    • Affects Version/s: 4.6.0, 4.5.3
    • Component/s: None
    • None

      The Pegasus build will fail to build on Debian 8 systems if the python-urllib3 package is installed:

      [exec] Installing requests-1.2.3...
      [exec] Traceback (most recent call last):
      [exec] File "setup.py", line 6, in <module>
      [exec] import requests
      [exec] File "/home/rynge/git/pegasus/src/externals/requests-1.2.3/requests/_init_.py", line 53, in <module>
      [exec] from requests.packages.urllib3.contrib import pyopenssl
      [exec] File "/home/rynge/git/pegasus/src/externals/requests-1.2.3/requests/packages/urllib3/contrib/pyopenssl.py", line 42, in <module>
      [exec] ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
      [exec] AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

      Probably related to:

      http://stackoverflow.com/questions/28987891/patch-pyopenssl-for-sslv3-issue

      https://launchpad.net/debian/+source/openssl/1.0.1j-1

      We might just need a newer "requests" version, but it is unclear to me how that would affect other packages we ship.

            Assignee:
            gideon Gideon Juve (Inactive)
            Reporter:
            rynge Mats Rynge
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: