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 2022-04-08 22:46:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-cloudflare (Old)
and /work/SRC/openSUSE:Factory/.python-certbot-dns-cloudflare.new.1900
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-cloudflare"
Fri Apr 8 22:46:02 2022 rev:31 rq:967762 version:1.26.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-certbot-dns-cloudflare/python-certbot-dns-cloudflare.changes
2021-12-21 20:42:18.974013203 +0100
+++
/work/SRC/openSUSE:Factory/.python-certbot-dns-cloudflare.new.1900/python-certbot-dns-cloudflare.changes
2022-04-08 22:46:20.094728806 +0200
@@ -1,0 +2,6 @@
+Fri Apr 8 09:43:19 UTC 2022 - Mark??ta Machov?? <[email protected]>
+
+- Update to version 1.26.0
+ * sync with the main certbot package
+
+-------------------------------------------------------------------
Old:
----
certbot-dns-cloudflare-1.22.0.tar.gz
New:
----
certbot-dns-cloudflare-1.26.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certbot-dns-cloudflare.spec ++++++
--- /var/tmp/diff_new_pack.9fWPfq/_old 2022-04-08 22:46:21.790709981 +0200
+++ /var/tmp/diff_new_pack.9fWPfq/_new 2022-04-08 22:46:21.794709937 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-certbot-dns-cloudflare
#
-# 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
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-certbot-dns-cloudflare
-Version: 1.22.0
+Version: 1.26.0
Release: 0
Summary: Cloudflare Authenticator plugin for Certbot
License: Apache-2.0
++++++ certbot-dns-cloudflare-1.22.0.tar.gz ->
certbot-dns-cloudflare-1.26.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-cloudflare-1.22.0/MANIFEST.in
new/certbot-dns-cloudflare-1.26.0/MANIFEST.in
--- old/certbot-dns-cloudflare-1.22.0/MANIFEST.in 2021-12-07
23:02:45.000000000 +0100
+++ new/certbot-dns-cloudflare-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_cloudflare/py.typed
global-exclude __pycache__
global-exclude *.py[cod]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-cloudflare-1.22.0/PKG-INFO
new/certbot-dns-cloudflare-1.26.0/PKG-INFO
--- old/certbot-dns-cloudflare-1.22.0/PKG-INFO 2021-12-07 23:02:57.550592400
+0100
+++ new/certbot-dns-cloudflare-1.26.0/PKG-INFO 2022-04-05 19:41:43.215503000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-cloudflare
-Version: 1.22.0
+Version: 1.26.0
Summary: Cloudflare DNS 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-cloudflare-1.22.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
---
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
2021-12-07 23:02:45.000000000 +0100
+++
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare/_internal/dns_cloudflare.py
2022-04-05 19:41:26.000000000 +0200
@@ -1,6 +1,7 @@
"""DNS Authenticator for Cloudflare."""
import logging
from typing import Any
+from typing import Callable
from typing import Dict
from typing import List
from typing import Optional
@@ -26,20 +27,21 @@
'DNS).')
ttl = 120
- 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)
+ def add_parser_arguments(cls, add: Callable[..., None],
+ default_propagation_seconds: int = 10) -> None:
+ super().add_parser_arguments(add, default_propagation_seconds)
add('credentials', help='Cloudflare 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 Cloudflare API.'
- def _validate_credentials(self, credentials):
+ def _validate_credentials(self, credentials: CredentialsConfiguration) ->
None:
token = credentials.conf('api-token')
email = credentials.conf('email')
key = credentials.conf('api-key')
@@ -62,7 +64,7 @@
'dns_cloudflare_email and
dns_cloudflare_api_key are required.'
' (see
{})'.format(credentials.confobj.filename, ACCOUNT_URL))
- def _setup_credentials(self):
+ def _setup_credentials(self) -> None:
self.credentials = self._configure_credentials(
'credentials',
'Cloudflare credentials INI file',
@@ -70,13 +72,13 @@
self._validate_credentials
)
- def _perform(self, domain, validation_name, validation):
+ def _perform(self, domain: str, validation_name: str, validation: str) ->
None:
self._get_cloudflare_client().add_txt_record(domain, validation_name,
validation, self.ttl)
- def _cleanup(self, domain, validation_name, validation):
+ def _cleanup(self, domain: str, validation_name: str, validation: str) ->
None:
self._get_cloudflare_client().del_txt_record(domain, validation_name,
validation)
- def _get_cloudflare_client(self):
+ def _get_cloudflare_client(self) -> "_CloudflareClient":
if not self.credentials: # pragma: no cover
raise errors.Error("Plugin has not been prepared.")
if self.credentials.conf('api-token'):
@@ -89,10 +91,11 @@
Encapsulates all communication with the Cloudflare API.
"""
- def __init__(self, email, api_key):
+ def __init__(self, email: Optional[str], api_key: str) -> None:
self.cf = CloudFlare.CloudFlare(email, api_key)
- def add_txt_record(self, domain, record_name, record_content, record_ttl):
+ def add_txt_record(self, domain: str, record_name: str, record_content:
str,
+ record_ttl: int) -> None:
"""
Add a TXT record using the supplied information.
@@ -127,7 +130,7 @@
record_id = self._find_txt_record_id(zone_id, record_name,
record_content)
logger.debug('Successfully added TXT record with record_id: %s',
record_id)
- def del_txt_record(self, domain, record_name, record_content):
+ def del_txt_record(self, domain: str, record_name: str, record_content:
str) -> None:
"""
Delete a TXT record using the supplied information.
@@ -161,7 +164,7 @@
else:
logger.debug('Zone not found; no cleanup needed.')
- def _find_zone_id(self, domain):
+ def _find_zone_id(self, domain: str) -> str:
"""
Find the zone_id for a given domain.
@@ -226,7 +229,8 @@
'supplied Cloudflare account.'
.format(domain, zone_name_guesses))
- def _find_txt_record_id(self, zone_id, record_name, record_content):
+ def _find_txt_record_id(self, zone_id: str, record_name: str,
+ record_content: str) -> Optional[str]:
"""
Find the record_id for a TXT record with the given name and content.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/PKG-INFO
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/PKG-INFO
--- old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/PKG-INFO
2021-12-07 23:02:57.000000000 +0100
+++ new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/PKG-INFO
2022-04-05 19:41:42.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-cloudflare
-Version: 1.22.0
+Version: 1.26.0
Summary: Cloudflare DNS 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-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/SOURCES.txt
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/SOURCES.txt
---
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/SOURCES.txt
2021-12-07 23:02:57.000000000 +0100
+++
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/SOURCES.txt
2022-04-05 19:41:43.000000000 +0200
@@ -1,9 +1,9 @@
LICENSE.txt
MANIFEST.in
README.rst
-setup.cfg
setup.py
certbot_dns_cloudflare/__init__.py
+certbot_dns_cloudflare/py.typed
certbot_dns_cloudflare.egg-info/PKG-INFO
certbot_dns_cloudflare.egg-info/SOURCES.txt
certbot_dns_cloudflare.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/entry_points.txt
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/entry_points.txt
---
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/entry_points.txt
2021-12-07 23:02:57.000000000 +0100
+++
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/entry_points.txt
2022-04-05 19:41:43.000000000 +0200
@@ -1,3 +1,2 @@
[certbot.plugins]
dns-cloudflare = certbot_dns_cloudflare._internal.dns_cloudflare:Authenticator
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/requires.txt
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/requires.txt
---
old/certbot-dns-cloudflare-1.22.0/certbot_dns_cloudflare.egg-info/requires.txt
2021-12-07 23:02:57.000000000 +0100
+++
new/certbot-dns-cloudflare-1.26.0/certbot_dns_cloudflare.egg-info/requires.txt
2022-04-05 19:41:43.000000000 +0200
@@ -1,7 +1,7 @@
cloudflare>=1.5.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-cloudflare-1.22.0/setup.cfg
new/certbot-dns-cloudflare-1.26.0/setup.cfg
--- old/certbot-dns-cloudflare-1.22.0/setup.cfg 2021-12-07 23:02:57.550592400
+0100
+++ new/certbot-dns-cloudflare-1.26.0/setup.cfg 2022-04-05 19:41:43.215653400
+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-cloudflare-1.22.0/setup.py
new/certbot-dns-cloudflare-1.26.0/setup.py
--- old/certbot-dns-cloudflare-1.22.0/setup.py 2021-12-07 23:02:46.000000000
+0100
+++ new/certbot-dns-cloudflare-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 = [
'cloudflare>=1.5.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='[email protected]',
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',