[Bug 273362] security/py-certbot builds on FreeBSD 13.1-RELEASE-p8 GENERIC amd64 but won't run

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Aug 2023 14:43:12 UTC

            Bug ID: 273362
           Summary: security/py-certbot builds on FreeBSD 13.1-RELEASE-p8
                    GENERIC amd64 but won't run
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: void@f-m.fm
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org


# openssl version
OpenSSL 1.1.1o-freebsd  3 May 2022

# pkg info security/py-certbot | grep Version
Version        : 2.6.0,1

# python3.9 --version
Python 3.9.17

How can I fix this please?

# certbot
Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 33, in <module>
    sys.exit(load_entry_point('certbot==2.6.0', 'console_scripts',
  File "/usr/local/bin/certbot", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/certbot/main.py", line 6, in
    from certbot._internal import main as internal_main
  File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", line
21, in <module>
    import josepy as jose
  File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", line 40, in
    from josepy.json_util import (
  File "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line 14,
in <module>
    from OpenSSL import crypto
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in
    from OpenSSL import SSL, crypto
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 19, in
    from OpenSSL.crypto import (
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 3263,
in <module>
TypeError: deprecated() got an unexpected keyword argument 'name'

You are receiving this mail because:
You are the assignee for the bug.