Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-certbot-dns-cloudflare"

Thu Apr 15 16:57:43 2021 rev:25 rq:885408 version:1.14.0

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

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

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

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

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

++++++ certbot-dns-cloudflare-1.13.0.tar.gz -> 
certbot-dns-cloudflare-1.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/certbot-dns-cloudflare-1.13.0/PKG-INFO 
new/certbot-dns-cloudflare-1.14.0/PKG-INFO
--- old/certbot-dns-cloudflare-1.13.0/PKG-INFO  2021-03-02 22:37:41.561230400 
+0100
+++ new/certbot-dns-cloudflare-1.14.0/PKG-INFO  2021-04-06 19:17:16.928133500 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: certbot-dns-cloudflare
-Version: 1.13.0
+Version: 1.14.0
 Summary: Cloudflare 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-cloudflare-1.13.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
 
new/certbot-dns-cloudflare-1.14.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
--- 
old/certbot-dns-cloudflare-1.13.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
        2021-03-02 22:37:04.000000000 +0100
+++ 
new/certbot-dns-cloudflare-1.14.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
        2021-04-06 19:17:00.000000000 +0200
@@ -1,16 +1,17 @@
 """DNS Authenticator for Cloudflare."""
 import logging
+from typing import Any
+from typing import Dict
+from typing import List
+from typing import Optional
 
 import CloudFlare
 import zope.interface
 
-from acme.magic_typing import Any
-from acme.magic_typing import Dict
-from acme.magic_typing import List
-
 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__)
 
@@ -31,7 +32,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 +81,8 @@
         self._get_cloudflare_client().del_txt_record(domain, validation_name, 
validation)
 
     def _get_cloudflare_client(self):
+        if not self.credentials:  # pragma: no cover
+            raise errors.Error("Plugin has not been prepared.")
         if self.credentials.conf('api-token'):
             return _CloudflareClient(None, self.credentials.conf('api-token'))
         return _CloudflareClient(self.credentials.conf('email'), 
self.credentials.conf('api-key'))
@@ -173,7 +176,7 @@
         """
 
         zone_name_guesses = dns_common.base_domain_name_guesses(domain)
-        zones = []  # type: List[Dict[str, Any]]
+        zones: List[Dict[str, Any]] = []
         code = msg = None
 
         for zone_name in zone_name_guesses:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/certbot-dns-cloudflare-1.13.0/certbot_dns_cloudflare.egg-info/PKG-INFO 
new/certbot-dns-cloudflare-1.14.0/certbot_dns_cloudflare.egg-info/PKG-INFO
--- old/certbot-dns-cloudflare-1.13.0/certbot_dns_cloudflare.egg-info/PKG-INFO  
2021-03-02 22:37:41.000000000 +0100
+++ new/certbot-dns-cloudflare-1.14.0/certbot_dns_cloudflare.egg-info/PKG-INFO  
2021-04-06 19:17:16.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: certbot-dns-cloudflare
-Version: 1.13.0
+Version: 1.14.0
 Summary: Cloudflare 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-cloudflare-1.13.0/setup.py 
new/certbot-dns-cloudflare-1.14.0/setup.py
--- old/certbot-dns-cloudflare-1.13.0/setup.py  2021-03-02 22:37:05.000000000 
+0100
+++ new/certbot-dns-cloudflare-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