[Bug 286284] security/py-certbot: Missing runtime dependency on py-typing-extensions

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Apr 2025 11:21:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286284

            Bug ID: 286284
           Summary: security/py-certbot: Missing runtime dependency on
                    py-typing-extensions
           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: einar@isnic.is
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

Probably because of changes to py-setuptools, py-certbot is now missing a
runtime dependency on py-typing-extensions.

I get this error now:

Traceback (most recent call last):
      File "/usr/local/bin/certbot", line 5, in <module>
        from certbot.main import main
      File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6,
in <module>
        from certbot._internal import main as internal_main
      File "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py",
line 20, in <module>
        import josepy as jose
      File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", line
41, in <module>
        from josepy.json_util import (
      File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", line
25, in <module>
        from OpenSSL import crypto
      File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", line
8, in <module>
        from OpenSSL import SSL, crypto
      File "/usr/local/lib/python3.11/site-packages/OpenSSL/SSL.py", line 42,
in <module>
        from OpenSSL.crypto import (
      File "/usr/local/lib/python3.11/site-packages/OpenSSL/crypto.py", line
26, in <module>
        from typing_extensions import deprecated
    ModuleNotFoundError: No module named 'typing_extensions'

py-certbot is build in poudriere on 14.2-RELEASE.

If I add py-typing-extensions as runtime dependency the error is fixed

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