Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-certbot-dns-cloudxns for
openSUSE:Factory checked in at 2022-04-08 22:46:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-cloudxns (Old)
and /work/SRC/openSUSE:Factory/.python-certbot-dns-cloudxns.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-cloudxns"
Fri Apr 8 22:46:02 2022 rev:33 rq:967763 version:1.26.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-certbot-dns-cloudxns/python-certbot-dns-cloudxns.changes
2021-12-21 20:42:23.170015482 +0100
+++
/work/SRC/openSUSE:Factory/.python-certbot-dns-cloudxns.new.1900/python-certbot-dns-cloudxns.changes
2022-04-08 22:46:22.186705586 +0200
@@ -1,0 +2,6 @@
+Fri Apr 8 09:46:41 UTC 2022 - Mark??ta Machov?? <[email protected]>
+
+- Update to version 1.26.0
+ * sync with the main certbot package
+
+-------------------------------------------------------------------
Old:
----
certbot-dns-cloudxns-1.22.0.tar.gz
New:
----
certbot-dns-cloudxns-1.26.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certbot-dns-cloudxns.spec ++++++
--- /var/tmp/diff_new_pack.njFYXr/_old 2022-04-08 22:46:22.770699104 +0200
+++ /var/tmp/diff_new_pack.njFYXr/_new 2022-04-08 22:46:22.774699060 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-certbot-dns-cloudxns
#
-# 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
@@ -20,7 +20,7 @@
%define skip_python2 1
%define skip_python36 1
Name: python-certbot-dns-cloudxns
-Version: 1.22.0
+Version: 1.26.0
Release: 0
Summary: CloudXNS Authenticator plugin for Certbot
License: Apache-2.0
++++++ certbot-dns-cloudxns-1.22.0.tar.gz -> certbot-dns-cloudxns-1.26.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-cloudxns-1.22.0/MANIFEST.in
new/certbot-dns-cloudxns-1.26.0/MANIFEST.in
--- old/certbot-dns-cloudxns-1.22.0/MANIFEST.in 2021-12-07 23:02:45.000000000
+0100
+++ new/certbot-dns-cloudxns-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_cloudxns/py.typed
global-exclude __pycache__
global-exclude *.py[cod]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-cloudxns-1.22.0/PKG-INFO
new/certbot-dns-cloudxns-1.26.0/PKG-INFO
--- old/certbot-dns-cloudxns-1.22.0/PKG-INFO 2021-12-07 23:02:59.198599800
+0100
+++ new/certbot-dns-cloudxns-1.26.0/PKG-INFO 2022-04-05 19:41:46.432625000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-cloudxns
-Version: 1.22.0
+Version: 1.26.0
Summary: CloudXNS 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-cloudxns-1.22.0/certbot_dns_cloudxns/_internal/dns_cloudxns.py
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns/_internal/dns_cloudxns.py
---
old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns/_internal/dns_cloudxns.py
2021-12-07 23:02:45.000000000 +0100
+++
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns/_internal/dns_cloudxns.py
2022-04-05 19:41:26.000000000 +0200
@@ -1,8 +1,11 @@
"""DNS Authenticator for CloudXNS DNS."""
import logging
+from typing import Any
+from typing import Callable
from typing import Optional
from lexicon.providers import cloudxns
+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 CloudXNS 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='CloudXNS 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 CloudXNS API.'
- def _setup_credentials(self):
+ def _setup_credentials(self) -> None:
self.credentials = self._configure_credentials(
'credentials',
'CloudXNS credentials INI file',
@@ -47,13 +51,13 @@
}
)
- def _perform(self, domain, validation_name, validation):
+ def _perform(self, domain: str, validation_name: str, validation: str) ->
None:
self._get_cloudxns_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_cloudxns_client().del_txt_record(domain, validation_name,
validation)
- def _get_cloudxns_client(self):
+ def _get_cloudxns_client(self) -> "_CloudXNSLexiconClient":
if not self.credentials: # pragma: no cover
raise errors.Error("Plugin has not been prepared.")
return _CloudXNSLexiconClient(self.credentials.conf('api-key'),
@@ -66,7 +70,7 @@
Encapsulates all communication with the CloudXNS via Lexicon.
"""
- def __init__(self, api_key, secret_key, ttl):
+ def __init__(self, api_key: str, secret_key: str, ttl: int) -> None:
super().__init__()
config = dns_common_lexicon.build_lexicon_config('cloudxns', {
@@ -78,10 +82,12 @@
self.provider = cloudxns.Provider(config)
- def _handle_http_error(self, e, domain_name):
+ def _handle_http_error(self, e: HTTPError, domain_name: str) ->
Optional[errors.PluginError]:
hint = None
if str(e).startswith('400 Client Error:'):
hint = 'Are your API key and Secret key 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-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/PKG-INFO
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/PKG-INFO
--- old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/PKG-INFO
2021-12-07 23:02:59.000000000 +0100
+++ new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/PKG-INFO
2022-04-05 19:41:46.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-cloudxns
-Version: 1.22.0
+Version: 1.26.0
Summary: CloudXNS 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-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/SOURCES.txt
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/SOURCES.txt
--- old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/SOURCES.txt
2021-12-07 23:02:59.000000000 +0100
+++ new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/SOURCES.txt
2022-04-05 19:41:46.000000000 +0200
@@ -1,9 +1,9 @@
LICENSE.txt
MANIFEST.in
README.rst
-setup.cfg
setup.py
certbot_dns_cloudxns/__init__.py
+certbot_dns_cloudxns/py.typed
certbot_dns_cloudxns.egg-info/PKG-INFO
certbot_dns_cloudxns.egg-info/SOURCES.txt
certbot_dns_cloudxns.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/entry_points.txt
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/entry_points.txt
---
old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/entry_points.txt
2021-12-07 23:02:59.000000000 +0100
+++
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/entry_points.txt
2022-04-05 19:41:46.000000000 +0200
@@ -1,3 +1,2 @@
[certbot.plugins]
dns-cloudxns = certbot_dns_cloudxns._internal.dns_cloudxns:Authenticator
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/requires.txt
new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/requires.txt
--- old/certbot-dns-cloudxns-1.22.0/certbot_dns_cloudxns.egg-info/requires.txt
2021-12-07 23:02:59.000000000 +0100
+++ new/certbot-dns-cloudxns-1.26.0/certbot_dns_cloudxns.egg-info/requires.txt
2022-04-05 19:41:46.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-cloudxns-1.22.0/setup.cfg
new/certbot-dns-cloudxns-1.26.0/setup.cfg
--- old/certbot-dns-cloudxns-1.22.0/setup.cfg 2021-12-07 23:02:59.198599800
+0100
+++ new/certbot-dns-cloudxns-1.26.0/setup.cfg 2022-04-05 19:41:46.432786000
+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-cloudxns-1.22.0/setup.py
new/certbot-dns-cloudxns-1.26.0/setup.py
--- old/certbot-dns-cloudxns-1.22.0/setup.py 2021-12-07 23:02:46.000000000
+0100
+++ new/certbot-dns-cloudxns-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='[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',