Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/test_fileclient.py", line 48, in test_cache_raises_exception_on_non_eexist_ioerror

with patch('os.path.isfile', lambda prm: False):
AttributeError: __enter__

Traceback (most recent call last):


 "/usr/lib/python-exec/python3.7/pipenv", line 33, in <module>

sys.exit(load_entry_point('pipenv==2020.11.4', 'console_scripts', 'pipenv')())


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 829, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 781, in main

with self.make_context(prog_name, args, **extra) as ctx:


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 700, in make_context

self.parse_args(ctx, args)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1212, in parse_args

rest = Command.parse_args(self, ctx, args)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1044, in parse_args

parser = self.make_parser(ctx)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 965, in make_parser

for param in self.get_params(ctx):


 "/usr/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 912, in get_params

help_option = self.get_help_option(ctx)


 "/usr/lib/python3.7/site-packages/pipenv/cli/options.py", line 27, in get_help_option

from ..core import format_help


 "/usr/lib/python3.7/site-packages/pipenv/core.py", line 33, in <module>

from .project import Project


 "/usr/lib/python3.7/site-packages/pipenv/project.py", line 30, in <module>

from .vendor.requirementslib.models.utils import get_default_pyproject_backend


 "/usr/lib/python3.7/site-packages/pipenv/vendor/requirementslib/__init__.py", line 9, in <module>

from .models.lockfile import Lockfile


 "/usr/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/lockfile.py", line 14, in <module>

from ..utils import is_editable, is_vcs, merge_items


 "/usr/lib/python3.7/site-packages/pipenv/vendor/requirementslib/utils.py", line 8, in <module>

import pip_shims.shims


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/__init__.py", line 26, in <module>

from . import shims


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/shims.py", line 12, in <module>

from .models import (


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 790, in <module>

Command.add_mixin(SessionCommandMixin)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 704, in add_mixin

mixin = mixin.shim()


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 752, in shim

result = self.traverse(top_path)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 744, in traverse

result = shim.shim()


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 590, in shim

imported = self._import()


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 615, in _import

result = self._import_module(self.calculated_module_path)


 "/usr/lib/python3.7/site-packages/pipenv/vendor/pip_shims/models.py", line 365, in _import_module

imported = importlib.import_module(module)


 "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "/usr/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/cli/req_command.py", line 15, in <module>

from pipenv.patched.notpip._internal.index.package_finder import PackageFinder


 "/usr/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/index/package_finder.py", line 21, in <module>

from pipenv.patched.notpip._internal.index.collector import parse_links


 "/usr/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/index/collector.py", line 12, in <module>

from pipenv.patched.notpip._vendor import html5lib, requests


 "/usr/lib/python3.7/site-packages/pipenv/patched/notpip/_vendor/requests/__init__.py", line 97, in <module>

from pipenv.patched.notpip._vendor.urllib3.contrib import pyopenssl


 "/usr/lib/python3.7/site-packages/pipenv/patched/notpip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>

import OpenSSL.SSL


 "/usr/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>

from OpenSSL import crypto, SSL


 "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 149, in <module>

OP_NO_TLSv1_3 = _lib.SSL_OP_NO_TLSv1_3
AttributeError: module 'lib' has no attribute 'SSL_OP_NO_TLSv1_3'
