#3299 closed defect (fixed)

PyPy CI job fails

Reported by: exarkun Owned by: Sajith Sasidharan <sajith@…>
Priority: supercritical Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

Traceback (most recent call last):
  File "/usr/local/lib-python/2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib-python/2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/__main__.py", line 16, in <module>
    from pip._internal import main as _main  # isort:skip # noqa
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
    from pip._internal.commands import (
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/cli/base_command.py", line 20, in <module>
    from pip._internal.download import PipSession
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_internal/download.py", line 15, in <module>
    from pip._vendor import requests, six, urllib3
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_vendor/requests/__init__.py", line 97, in <module>
    from pip._vendor.urllib3.contrib import pyopenssl
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/OpenSSL/crypto.py", line 15, in <module>
    from OpenSSL._util import (
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 205, in <module>
    _verify_openssl_version(Binding.lib)
  File "/tmp/tahoe-lafs.tox/pypy27-coverage/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 169, in _verify_openssl_version
    "You are linking against OpenSSL 1.0.1, which is no longer "
RuntimeError: You are linking against OpenSSL 1.0.1, which is no longer supported by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.

This seems to be because python-cryptography has dropped support for OpenSSL 1.0.1 in its latest release (Apr 4), deprecated since last year (Oct 2019). This deprecation appeared in our CI logs but apparently not anywhere anyone was looking.

This turns CI red.

Change History (1)

comment:1 Changed at 2020-04-17T10:44:06Z by Sajith Sasidharan <sajith@…>

  • Owner set to Sajith Sasidharan <sajith@…>
  • Resolution set to fixed
  • Status changed from new to closed

In f89ad00/trunk:

Use 2.7-buster Docker image for pypy

Fix failing PyPy? CI job.

Fixes: ticket:3299

Note: See TracTickets for help on using tickets.