[Bug 268407] security/py-certbot: cannot run with py39-acme 2.0.0,1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Dec 2022 08:45:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268407

            Bug ID: 268407
           Summary: security/py-certbot: cannot run with py39-acme 2.0.0,1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: ish@amail.plala.or.jp
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

I'm using py39-certbot on 13.1Rp5 with pkg of latest repos.
I did 'pkg upgrade' and upgraded py39-acme from 1.31.0,1 to 2.0.0,1, and
py39-certbot cannot run with the following messages.

Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 33, in <module>
    sys.exit(load_entry_point('certbot==1.31.0', 'console_scripts',
'certbot')())
  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
import_module
    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
<module>
    from certbot._internal import main as internal_main
  File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", line
28, in <module>
    from certbot import crypto_util
  File "/usr/local/lib/python3.9/site-packages/certbot/crypto_util.py", line
42, in <module>
    from certbot import interfaces
  File "/usr/local/lib/python3.9/site-packages/certbot/interfaces.py", line 21,
in <module>
    from acme.client import ClientBase
ImportError: cannot import name 'ClientBase' from 'acme.client'
(/usr/local/lib/python3.9/site-packages/acme/client.py)

It works again by downdrading py39-acme from 2.0.0,1 to 1.31.0,1.

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