Fwd: py-certbot fails with latest openssl

Mike Jakubik mike.jakubik at gmail.com
Sat Feb 20 15:38:02 UTC 2021


Seems like certbot nedds crypto >= 3.2, which is not avail in ports.

---------- Forwarded message ---------
From: Mike Jakubik <mike.jakubik at gmail.com>
Date: Fri, Feb 19, 2021 at 9:22 PM
Subject: py-certbot fails with latest openssl
To: <koobs at freebsd.org>


Hi,

There seems to be a dependency issue with the current port version of
certbot. Your assistance would be appreciated as my certs are due for
renewal soon.

12.2-STABLE FreeBSD 12.2-STABLE r369309 amd64

OpenSSL 1.1.1j-freebsd  16 Feb 2021

python37-3.7.9_1               Interpreted object-oriented programming
language
py37-certbot-1.11.0,1          Let's Encrypt client
py37-cryptography-2.9.2        Cryptographic recipes and primitives for
Python developers
py37-certifi-2020.12.5         Mozilla SSL certificates
py37-openssl-20.0.1            Python interface to the OpenSSL library

# certbot
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3251, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})

Thanks.


More information about the freebsd-python mailing list