Skip to content

Plugin Not Compatible with Certbot = 5.1.0 #35

Description

@L0ric0

Thank you for developing the plugin.

Currently the plugin does not work when running certbot 5.1.0. I suspect that it also does not work with >= 5.0.0 but I am unable to test this, as I'm using my distros certbot package and the distro does not support partial upgrades.

The content of the certbot log with the error is attached below.
Thank you again for the plugin.

certbot.log:

2025-11-28 20:09:37,881:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/certbot/_internal/plugins/disco.py", line 193, in find_all
    cls._load_entry_point(entry_point, plugins)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/certbot/_internal/plugins/disco.py", line 205, in _load_entry_point
    plugin_ep = PluginEntryPoint(entry_point)
  File "/usr/lib/python3.13/site-packages/certbot/_internal/plugins/disco.py", line 39, in __init__
    self.plugin_cls: type[interfaces.Plugin] = entry_point.load()
                                               ~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/certbot_dns_desec/dns_desec.py", line 6, in <module>
    import dns.resolver
ModuleNotFoundError: No module named 'dns'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.13/site-packages/certbot/main.py", line 18, in main
    return internal_main.main(cli_args)
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/certbot/_internal/main.py", line 1822, in main
    plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/lib/python3.13/site-packages/certbot/_internal/plugins/disco.py", line 195, in find_all
    raise errors.PluginError(
    ...<3 lines>...
        "plugin developer.") from e
certbot.errors.PluginError: The 'certbot_dns_desec.dns_desec' plugin errored while loading: No module named 'dns'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer.
2025-11-28 20:09:37,881:ERROR:certbot._internal.log:The 'certbot_dns_desec.dns_desec' plugin errored while loading: No module named 'dns'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions