Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-certbot-dns-rfc2136 for 
openSUSE:Factory checked in at 2021-04-15 16:57:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-rfc2136 (Old)
 and      /work/SRC/openSUSE:Factory/.python-certbot-dns-rfc2136.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-certbot-dns-rfc2136"

Thu Apr 15 16:57:48 2021 rev:26 rq:885417 version:1.14.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-certbot-dns-rfc2136/python-certbot-dns-rfc2136.changes
    2021-03-08 15:21:13.526113035 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-certbot-dns-rfc2136.new.12324/python-certbot-dns-rfc2136.changes
 2021-04-15 16:58:30.894778503 +0200
@@ -1,0 +2,6 @@
+Wed Apr 14 15:18:05 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com>
+
+- update to version 1.14.0
+  * sync with the main certbot package
+
+-------------------------------------------------------------------

Old:
----
  certbot-dns-rfc2136-1.13.0.tar.gz

New:
----
  certbot-dns-rfc2136-1.14.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-certbot-dns-rfc2136.spec ++++++
--- /var/tmp/diff_new_pack.DDvp2A/_old  2021-04-15 16:58:31.370779256 +0200
+++ /var/tmp/diff_new_pack.DDvp2A/_new  2021-04-15 16:58:31.378779269 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-certbot-dns-rfc2136
-Version:        1.13.0
+Version:        1.14.0
 Release:        0
 Summary:        RFC 2136 DNS Authenticator plugin for Certbot
 License:        Apache-2.0

++++++ certbot-dns-rfc2136-1.13.0.tar.gz -> certbot-dns-rfc2136-1.14.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/certbot-dns-rfc2136-1.13.0/PKG-INFO 
new/certbot-dns-rfc2136-1.14.0/PKG-INFO
--- old/certbot-dns-rfc2136-1.13.0/PKG-INFO     2021-03-02 22:39:24.178550000 
+0100
+++ new/certbot-dns-rfc2136-1.14.0/PKG-INFO     2021-04-06 19:17:44.214427200 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: certbot-dns-rfc2136
-Version: 1.13.0
+Version: 1.14.0
 Summary: RFC 2136 DNS Authenticator plugin for Certbot
 Home-page: https://github.com/certbot/certbot
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/certbot-dns-rfc2136-1.13.0/certbot_dns_rfc2136/_internal/dns_rfc2136.py 
new/certbot-dns-rfc2136-1.14.0/certbot_dns_rfc2136/_internal/dns_rfc2136.py
--- old/certbot-dns-rfc2136-1.13.0/certbot_dns_rfc2136/_internal/dns_rfc2136.py 
2021-03-02 22:37:04.000000000 +0100
+++ new/certbot-dns-rfc2136-1.14.0/certbot_dns_rfc2136/_internal/dns_rfc2136.py 
2021-04-06 19:17:00.000000000 +0200
@@ -1,5 +1,6 @@
 """DNS Authenticator using RFC 2136 Dynamic Updates."""
 import logging
+from typing import Optional
 
 import dns.flags
 import dns.message
@@ -15,6 +16,7 @@
 from certbot import errors
 from certbot import interfaces
 from certbot.plugins import dns_common
+from certbot.plugins.dns_common import CredentialsConfiguration
 
 logger = logging.getLogger(__name__)
 
@@ -44,7 +46,7 @@
 
     def __init__(self, *args, **kwargs):
         super(Authenticator, self).__init__(*args, **kwargs)
-        self.credentials = None
+        self.credentials: Optional[CredentialsConfiguration] = None
 
     @classmethod
     def add_parser_arguments(cls, add):  # pylint: disable=arguments-differ
@@ -80,6 +82,8 @@
         self._get_rfc2136_client().del_txt_record(validation_name, validation)
 
     def _get_rfc2136_client(self):
+        if not self.credentials:  # pragma: no cover
+            raise errors.Error("Plugin has not been prepared.")
         return _RFC2136Client(self.credentials.conf('server'),
                               int(self.credentials.conf('port') or self.PORT),
                               self.credentials.conf('name'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/certbot-dns-rfc2136-1.13.0/certbot_dns_rfc2136.egg-info/PKG-INFO 
new/certbot-dns-rfc2136-1.14.0/certbot_dns_rfc2136.egg-info/PKG-INFO
--- old/certbot-dns-rfc2136-1.13.0/certbot_dns_rfc2136.egg-info/PKG-INFO        
2021-03-02 22:39:24.000000000 +0100
+++ new/certbot-dns-rfc2136-1.14.0/certbot_dns_rfc2136.egg-info/PKG-INFO        
2021-04-06 19:17:44.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: certbot-dns-rfc2136
-Version: 1.13.0
+Version: 1.14.0
 Summary: RFC 2136 DNS Authenticator plugin for Certbot
 Home-page: https://github.com/certbot/certbot
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/certbot-dns-rfc2136-1.13.0/setup.py 
new/certbot-dns-rfc2136-1.14.0/setup.py
--- old/certbot-dns-rfc2136-1.13.0/setup.py     2021-03-02 22:37:05.000000000 
+0100
+++ new/certbot-dns-rfc2136-1.14.0/setup.py     2021-04-06 19:17:02.000000000 
+0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 from setuptools import setup
 
-version = '1.13.0'
+version = '1.14.0'
 
 # Remember to update local-oldest-requirements.txt when changing the minimum
 # acme/certbot version.

Reply via email to