https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294121

            Bug ID: 294121
           Summary: security/py-certbot: Fails to run if
                    devel/py-zope.interface is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
                CC: [email protected], [email protected]

devel/py-zope.interface is a dependency for many ports.

If py314-zope.interface-5.3.0_1 is present, certbot fails with:


[root@MagnumBOX ~]# certbot --help
Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 5, in <module>
    from certbot.main import main
  File "/usr/local/lib/python3.14/site-packages/certbot/main.py", line 6, in
<module>
    from certbot._internal import main as internal_main
  File "/usr/local/lib/python3.14/site-packages/certbot/_internal/main.py",
line 29, in <module>
    from certbot import crypto_util
  File "/usr/local/lib/python3.14/site-packages/certbot/crypto_util.py", line
38, in <module>
    from certbot import interfaces
  File "/usr/local/lib/python3.14/site-packages/certbot/interfaces.py", line
20, in <module>
    from zope.interface import Interface as ZopeInterface
  File "/usr/local/lib/python3.14/site-packages/zope/interface/__init__.py",
line 57, in <module>
    _wire()
    ~~~~~^^
  File "/usr/local/lib/python3.14/site-packages/zope/interface/interface.py",
line 1122, in _wire
    from zope.interface.interfaces import IElement
  File "/usr/local/lib/python3.14/site-packages/zope/interface/interfaces.py",
line 49, in <module>
    class IElement(Interface):
    ...<91 lines>...
            """
  File "/usr/local/lib/python3.14/site-packages/zope/interface/interface.py",
line 794, in __init__
    self.__attrs = self.__compute_attrs(attrs)
                   ~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/zope/interface/interface.py",
line 813, in __compute_attrs
    aname: update_value(aname, aval)
           ~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/zope/interface/interface.py",
line 809, in update_value
    raise InvalidInterface("Concrete attribute, " + aname)
zope.interface.exceptions.InvalidInterface: Concrete attribute, __firstlineno__


There is a conditional import on line 20 in site-packages/certbot/interfaces.py

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to