Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-certbot-dns-luadns for openSUSE:Factory checked in at 2022-04-08 22:46:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-luadns (Old) and /work/SRC/openSUSE:Factory/.python-certbot-dns-luadns.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-luadns" Fri Apr 8 22:46:07 2022 rev:33 rq:967769 version:1.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certbot-dns-luadns/python-certbot-dns-luadns.changes 2021-12-21 20:42:26.822017466 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot-dns-luadns.new.1900/python-certbot-dns-luadns.changes 2022-04-08 22:46:29.994618923 +0200 @@ -1,0 +2,6 @@ +Fri Apr 8 10:58:16 UTC 2022 - Mark??ta Machov?? <mmach...@suse.com> + +- update to version 1.26.0 + * sync with the main certbot package + +------------------------------------------------------------------- Old: ---- certbot-dns-luadns-1.22.0.tar.gz New: ---- certbot-dns-luadns-1.26.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certbot-dns-luadns.spec ++++++ --- /var/tmp/diff_new_pack.liZ6Cg/_old 2022-04-08 22:46:30.530612974 +0200 +++ /var/tmp/diff_new_pack.liZ6Cg/_new 2022-04-08 22:46:30.534612930 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certbot-dns-luadns # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-certbot-dns-luadns -Version: 1.22.0 +Version: 1.26.0 Release: 0 Summary: LuaDNS Authenticator plugin for Certbot License: Apache-2.0 ++++++ certbot-dns-luadns-1.22.0.tar.gz -> certbot-dns-luadns-1.26.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/MANIFEST.in new/certbot-dns-luadns-1.26.0/MANIFEST.in --- old/certbot-dns-luadns-1.22.0/MANIFEST.in 2021-12-07 23:02:45.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/MANIFEST.in 2022-04-05 19:41:26.000000000 +0200 @@ -2,5 +2,6 @@ include README.rst recursive-include docs * recursive-include tests * +include certbot_dns_luadns/py.typed global-exclude __pycache__ global-exclude *.py[cod] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/PKG-INFO new/certbot-dns-luadns-1.26.0/PKG-INFO --- old/certbot-dns-luadns-1.22.0/PKG-INFO 2021-12-07 23:03:10.858651900 +0100 +++ new/certbot-dns-luadns-1.26.0/PKG-INFO 2022-04-05 19:42:09.079854500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-dns-luadns -Version: 1.22.0 +Version: 1.26.0 Summary: LuaDNS Authenticator plugin for Certbot Home-page: https://github.com/certbot/certbot Author: Certbot Project @@ -14,7 +14,6 @@ Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 @@ -25,7 +24,7 @@ Classifier: Topic :: System :: Networking Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities -Requires-Python: >=3.6 +Requires-Python: >=3.7 Provides-Extra: docs License-File: LICENSE.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/certbot_dns_luadns/_internal/dns_luadns.py new/certbot-dns-luadns-1.26.0/certbot_dns_luadns/_internal/dns_luadns.py --- old/certbot-dns-luadns-1.22.0/certbot_dns_luadns/_internal/dns_luadns.py 2021-12-07 23:02:45.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/certbot_dns_luadns/_internal/dns_luadns.py 2022-04-05 19:41:26.000000000 +0200 @@ -1,8 +1,11 @@ """DNS Authenticator for LuaDNS DNS.""" import logging +from typing import Any +from typing import Callable from typing import Optional from lexicon.providers import luadns +from requests import HTTPError from certbot import errors from certbot.plugins import dns_common @@ -23,20 +26,21 @@ description = 'Obtain certificates using a DNS TXT record (if you are using LuaDNS for DNS).' ttl = 60 - def __init__(self, *args, **kwargs): + def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) self.credentials: Optional[CredentialsConfiguration] = None @classmethod - def add_parser_arguments(cls, add): # pylint: disable=arguments-differ - super().add_parser_arguments(add, default_propagation_seconds=30) + def add_parser_arguments(cls, add: Callable[..., None], + default_propagation_seconds: int = 30) -> None: + super().add_parser_arguments(add, default_propagation_seconds) add('credentials', help='LuaDNS credentials INI file.') - def more_info(self): # pylint: disable=missing-function-docstring + def more_info(self) -> str: return 'This plugin configures a DNS TXT record to respond to a dns-01 challenge using ' + \ 'the LuaDNS API.' - def _setup_credentials(self): + def _setup_credentials(self) -> None: self.credentials = self._configure_credentials( 'credentials', 'LuaDNS credentials INI file', @@ -46,13 +50,13 @@ } ) - def _perform(self, domain, validation_name, validation): + def _perform(self, domain: str, validation_name: str, validation: str) -> None: self._get_luadns_client().add_txt_record(domain, validation_name, validation) - def _cleanup(self, domain, validation_name, validation): + def _cleanup(self, domain: str, validation_name: str, validation: str) -> None: self._get_luadns_client().del_txt_record(domain, validation_name, validation) - def _get_luadns_client(self): + def _get_luadns_client(self) -> "_LuaDNSLexiconClient": if not self.credentials: # pragma: no cover raise errors.Error("Plugin has not been prepared.") return _LuaDNSLexiconClient(self.credentials.conf('email'), @@ -65,7 +69,7 @@ Encapsulates all communication with the LuaDNS via Lexicon. """ - def __init__(self, email, token, ttl): + def __init__(self, email: str, token: str, ttl: int) -> None: super().__init__() config = dns_common_lexicon.build_lexicon_config('luadns', { @@ -77,10 +81,12 @@ self.provider = luadns.Provider(config) - def _handle_http_error(self, e, domain_name): + def _handle_http_error(self, e: HTTPError, domain_name: str) -> errors.PluginError: hint = None if str(e).startswith('401 Client Error: Unauthorized for url:'): hint = 'Are your email and API token values correct?' - return errors.PluginError('Error determining zone identifier for {0}: {1}.{2}' - .format(domain_name, e, ' ({0})'.format(hint) if hint else '')) + hint_disp = f' ({hint})' if hint else '' + + return errors.PluginError(f'Error determining zone identifier for {domain_name}: ' + f'{e}.{hint_disp}') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/PKG-INFO new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/PKG-INFO --- old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/PKG-INFO 2021-12-07 23:03:10.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/PKG-INFO 2022-04-05 19:42:08.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-dns-luadns -Version: 1.22.0 +Version: 1.26.0 Summary: LuaDNS Authenticator plugin for Certbot Home-page: https://github.com/certbot/certbot Author: Certbot Project @@ -14,7 +14,6 @@ Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 @@ -25,7 +24,7 @@ Classifier: Topic :: System :: Networking Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities -Requires-Python: >=3.6 +Requires-Python: >=3.7 Provides-Extra: docs License-File: LICENSE.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/SOURCES.txt new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/SOURCES.txt --- old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/SOURCES.txt 2021-12-07 23:03:10.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/SOURCES.txt 2022-04-05 19:42:09.000000000 +0200 @@ -1,9 +1,9 @@ LICENSE.txt MANIFEST.in README.rst -setup.cfg setup.py certbot_dns_luadns/__init__.py +certbot_dns_luadns/py.typed certbot_dns_luadns.egg-info/PKG-INFO certbot_dns_luadns.egg-info/SOURCES.txt certbot_dns_luadns.egg-info/dependency_links.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/entry_points.txt new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/entry_points.txt --- old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/entry_points.txt 2021-12-07 23:03:10.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/entry_points.txt 2022-04-05 19:42:08.000000000 +0200 @@ -1,3 +1,2 @@ [certbot.plugins] dns-luadns = certbot_dns_luadns._internal.dns_luadns:Authenticator - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/requires.txt new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/requires.txt --- old/certbot-dns-luadns-1.22.0/certbot_dns_luadns.egg-info/requires.txt 2021-12-07 23:03:10.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/certbot_dns_luadns.egg-info/requires.txt 2022-04-05 19:42:08.000000000 +0200 @@ -1,7 +1,7 @@ dns-lexicon>=3.2.1 -setuptools>=39.0.1 -acme>=1.22.0 -certbot>=1.22.0 +setuptools>=41.6.0 +acme>=1.26.0 +certbot>=1.26.0 [docs] Sphinx>=1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/setup.cfg new/certbot-dns-luadns-1.26.0/setup.cfg --- old/certbot-dns-luadns-1.22.0/setup.cfg 2021-12-07 23:03:10.858651900 +0100 +++ new/certbot-dns-luadns-1.26.0/setup.cfg 2022-04-05 19:42:09.080011600 +0200 @@ -1,6 +1,3 @@ -[bdist_wheel] -universal = 1 - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-luadns-1.22.0/setup.py new/certbot-dns-luadns-1.26.0/setup.py --- old/certbot-dns-luadns-1.22.0/setup.py 2021-12-07 23:02:46.000000000 +0100 +++ new/certbot-dns-luadns-1.26.0/setup.py 2022-04-05 19:41:27.000000000 +0200 @@ -4,11 +4,11 @@ from setuptools import find_packages from setuptools import setup -version = '1.22.0' +version = '1.26.0' install_requires = [ 'dns-lexicon>=3.2.1', - 'setuptools>=39.0.1', + 'setuptools>=41.6.0', ] if not os.environ.get('SNAP_BUILD'): @@ -38,7 +38,7 @@ author="Certbot Project", author_email='certbot-...@eff.org', license='Apache License 2.0', - python_requires='>=3.6', + python_requires='>=3.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Plugins', @@ -47,7 +47,6 @@ 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9',