PyPy CI job fails #3299

Closed
opened 2020-04-13 13:56:35 +00:00 by exarkun · 1 comment
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](wiki/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](wiki/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](wiki/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.

``` 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](wiki/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](wiki/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](wiki/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.
exarkun added the
unknown
supercritical
defect
n/a
labels 2020-04-13 13:56:35 +00:00
exarkun added this to the undecided milestone 2020-04-13 13:56:35 +00:00
Sajith Sasidharan <sajith@hcoop.net> commented 2020-04-17 10:44:06 +00:00
Owner

In f89ad00/trunk:

Use 2.7-buster Docker image for pypy

Fix failing PyPy CI job.

Fixes: ticket:3299
In [f89ad00/trunk](/tahoe-lafs/trac-2024-07-25/commit/f89ad002f87666b148e31d2b0654160bacfddcf9): ``` Use 2.7-buster Docker image for pypy Fix failing PyPy CI job. Fixes: ticket:3299 ```
tahoe-lafs added the
fixed
label 2020-04-17 10:44:06 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#3299
No description provided.