Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-certbot-dns-dnsmadeeasy for
openSUSE:Factory checked in at 2023-06-07 23:08:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-dnsmadeeasy (Old)
and /work/SRC/openSUSE:Factory/.python-certbot-dns-dnsmadeeasy.new.15902
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-dnsmadeeasy"
Wed Jun 7 23:08:19 2023 rev:39 rq:1091321 version:2.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-certbot-dns-dnsmadeeasy/python-certbot-dns-dnsmadeeasy.changes
2022-10-27 13:55:16.268903804 +0200
+++
/work/SRC/openSUSE:Factory/.python-certbot-dns-dnsmadeeasy.new.15902/python-certbot-dns-dnsmadeeasy.changes
2023-06-07 23:08:56.099870486 +0200
@@ -1,0 +2,10 @@
+Wed Jun 7 16:05:26 UTC 2023 - Markéta Machová <[email protected]>
+
+- update to version 2.6.0
+ * Support for Python 3.11 was added to Certbot and all of its components.
+ * All Certbot components now require pytest to run tests.
+ * Packaged tests for all Certbot components besides josepy were moved inside
the _internal/tests module.
+ * There is now a new Other annotated challenge object to allow plugins to
support entirely novel challenges.
+ * Certbot no longer depends on zope.
+
+-------------------------------------------------------------------
Old:
----
certbot-dns-dnsmadeeasy-1.31.0.tar.gz
New:
----
certbot-dns-dnsmadeeasy-2.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certbot-dns-dnsmadeeasy.spec ++++++
--- /var/tmp/diff_new_pack.smCC2A/_old 2023-06-07 23:08:56.611873459 +0200
+++ /var/tmp/diff_new_pack.smCC2A/_new 2023-06-07 23:08:56.615873482 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-certbot-dns-dnsmadeeasy
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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() python3-%{**}}
%define skip_python2 1
Name: python-certbot-dns-dnsmadeeasy
-Version: 1.31.0
+Version: 2.6.0
Release: 0
Summary: DNS Made Easy Authenticator plugin for Certbot
License: Apache-2.0
@@ -34,7 +34,6 @@
Requires: python-acme >= %{version}
Requires: python-certbot >= %{version}
Requires: python-dns-lexicon >= 3.2.1
-Requires: python-zope.interface
BuildArch: noarch
%python_subpackages
++++++ certbot-dns-dnsmadeeasy-1.31.0.tar.gz ->
certbot-dns-dnsmadeeasy-2.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-dnsmadeeasy-1.31.0/MANIFEST.in
new/certbot-dns-dnsmadeeasy-2.6.0/MANIFEST.in
--- old/certbot-dns-dnsmadeeasy-1.31.0/MANIFEST.in 2022-10-04
16:40:41.000000000 +0200
+++ new/certbot-dns-dnsmadeeasy-2.6.0/MANIFEST.in 2023-05-09
21:44:36.000000000 +0200
@@ -1,7 +1,6 @@
include LICENSE.txt
include README.rst
recursive-include docs *
-recursive-include tests *
include certbot_dns_dnsmadeeasy/py.typed
global-exclude __pycache__
global-exclude *.py[cod]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-dnsmadeeasy-1.31.0/PKG-INFO
new/certbot-dns-dnsmadeeasy-2.6.0/PKG-INFO
--- old/certbot-dns-dnsmadeeasy-1.31.0/PKG-INFO 2022-10-04 16:41:04.398826400
+0200
+++ new/certbot-dns-dnsmadeeasy-2.6.0/PKG-INFO 2023-05-09 21:44:50.101300200
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-dnsmadeeasy
-Version: 1.31.0
+Version: 2.6.0
Summary: DNS Made Easy DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
@@ -17,6 +17,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
@@ -25,4 +26,5 @@
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Provides-Extra: docs
+Provides-Extra: test
License-File: LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/dns_dnsmadeeasy.py
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/dns_dnsmadeeasy.py
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/dns_dnsmadeeasy.py
2022-10-04 16:40:41.000000000 +0200
+++
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/dns_dnsmadeeasy.py
2023-05-09 21:44:36.000000000 +0200
@@ -2,6 +2,7 @@
import logging
from typing import Any
from typing import Callable
+from typing import cast
from typing import Optional
from lexicon.providers import dnsmadeeasy
@@ -62,8 +63,8 @@
def _get_dnsmadeeasy_client(self) -> "_DNSMadeEasyLexiconClient":
if not self.credentials: # pragma: no cover
raise errors.Error("Plugin has not been prepared.")
- return _DNSMadeEasyLexiconClient(self.credentials.conf('api-key'),
- self.credentials.conf('secret-key'),
+ return _DNSMadeEasyLexiconClient(cast(str,
self.credentials.conf('api-key')),
+ cast(str,
self.credentials.conf('secret-key')),
self.ttl)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/tests/__init__.py
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/tests/__init__.py
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/tests/__init__.py
1970-01-01 01:00:00.000000000 +0100
+++
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/tests/__init__.py
2023-05-09 21:44:36.000000000 +0200
@@ -0,0 +1 @@
+"""certbot-dns-dnsmadeeasy tests"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/tests/dns_dnsmadeeasy_test.py
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/tests/dns_dnsmadeeasy_test.py
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy/_internal/tests/dns_dnsmadeeasy_test.py
1970-01-01 01:00:00.000000000 +0100
+++
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy/_internal/tests/dns_dnsmadeeasy_test.py
2023-05-09 21:44:36.000000000 +0200
@@ -0,0 +1,58 @@
+"""Tests for certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy."""
+
+import sys
+import unittest
+from unittest import mock
+
+import pytest
+from requests.exceptions import HTTPError
+
+from certbot.compat import os
+from certbot.plugins import dns_test_common
+from certbot.plugins import dns_test_common_lexicon
+from certbot.plugins.dns_test_common import DOMAIN
+from certbot.tests import util as test_util
+
+API_KEY = 'foo'
+SECRET_KEY = 'bar'
+
+
+class AuthenticatorTest(test_util.TempDirTestCase,
+ dns_test_common_lexicon.BaseLexiconAuthenticatorTest):
+
+ def setUp(self):
+ super().setUp()
+
+ from certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy import
Authenticator
+
+ path = os.path.join(self.tempdir, 'file.ini')
+ dns_test_common.write({"dnsmadeeasy_api_key": API_KEY,
+ "dnsmadeeasy_secret_key": SECRET_KEY},
+ path)
+
+ self.config = mock.MagicMock(dnsmadeeasy_credentials=path,
+ dnsmadeeasy_propagation_seconds=0) #
don't wait during tests
+
+ self.auth = Authenticator(self.config, "dnsmadeeasy")
+
+ self.mock_client = mock.MagicMock()
+ # _get_dnsmadeeasy_client | pylint: disable=protected-access
+ self.auth._get_dnsmadeeasy_client =
mock.MagicMock(return_value=self.mock_client)
+
+
+class DNSMadeEasyLexiconClientTest(unittest.TestCase,
+
dns_test_common_lexicon.BaseLexiconClientTest):
+ DOMAIN_NOT_FOUND = HTTPError('404 Client Error: Not Found for url:
{0}.'.format(DOMAIN))
+ LOGIN_ERROR = HTTPError('403 Client Error: Forbidden for url:
{0}.'.format(DOMAIN))
+
+ def setUp(self):
+ from certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy import
_DNSMadeEasyLexiconClient
+
+ self.client = _DNSMadeEasyLexiconClient(API_KEY, SECRET_KEY, 0)
+
+ self.provider_mock = mock.MagicMock()
+ self.client.provider = self.provider_mock
+
+
+if __name__ == "__main__":
+ sys.exit(pytest.main(sys.argv[1:] + [__file__])) # pragma: no cover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/PKG-INFO
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/PKG-INFO
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/PKG-INFO
2022-10-04 16:41:04.000000000 +0200
+++ new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/PKG-INFO
2023-05-09 21:44:50.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-dnsmadeeasy
-Version: 1.31.0
+Version: 2.6.0
Summary: DNS Made Easy DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
@@ -17,6 +17,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
@@ -25,4 +26,5 @@
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Provides-Extra: docs
+Provides-Extra: test
License-File: LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/SOURCES.txt
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/SOURCES.txt
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/SOURCES.txt
2022-10-04 16:41:04.000000000 +0200
+++
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/SOURCES.txt
2023-05-09 21:44:50.000000000 +0200
@@ -12,10 +12,11 @@
certbot_dns_dnsmadeeasy.egg-info/top_level.txt
certbot_dns_dnsmadeeasy/_internal/__init__.py
certbot_dns_dnsmadeeasy/_internal/dns_dnsmadeeasy.py
+certbot_dns_dnsmadeeasy/_internal/tests/__init__.py
+certbot_dns_dnsmadeeasy/_internal/tests/dns_dnsmadeeasy_test.py
docs/.gitignore
docs/Makefile
docs/api.rst
docs/conf.py
docs/index.rst
-docs/make.bat
-tests/dns_dnsmadeeasy_test.py
\ No newline at end of file
+docs/make.bat
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/requires.txt
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/requires.txt
---
old/certbot-dns-dnsmadeeasy-1.31.0/certbot_dns_dnsmadeeasy.egg-info/requires.txt
2022-10-04 16:41:04.000000000 +0200
+++
new/certbot-dns-dnsmadeeasy-2.6.0/certbot_dns_dnsmadeeasy.egg-info/requires.txt
2023-05-09 21:44:50.000000000 +0200
@@ -1,8 +1,11 @@
dns-lexicon>=3.2.1
setuptools>=41.6.0
-acme>=1.31.0
-certbot>=1.31.0
+acme>=2.6.0
+certbot>=2.6.0
[docs]
Sphinx>=1.0
sphinx_rtd_theme
+
+[test]
+pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-dnsmadeeasy-1.31.0/setup.py
new/certbot-dns-dnsmadeeasy-2.6.0/setup.py
--- old/certbot-dns-dnsmadeeasy-1.31.0/setup.py 2022-10-04 16:40:42.000000000
+0200
+++ new/certbot-dns-dnsmadeeasy-2.6.0/setup.py 2023-05-09 21:44:37.000000000
+0200
@@ -4,7 +4,7 @@
from setuptools import find_packages
from setuptools import setup
-version = '1.31.0'
+version = '2.6.0'
install_requires = [
'dns-lexicon>=3.2.1',
@@ -30,6 +30,10 @@
'sphinx_rtd_theme',
]
+test_extras = [
+ 'pytest',
+]
+
setup(
name='certbot-dns-dnsmadeeasy',
version=version,
@@ -51,6 +55,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
'Topic :: System :: Installation/Setup',
@@ -64,6 +69,7 @@
install_requires=install_requires,
extras_require={
'docs': docs_extras,
+ 'test': test_extras,
},
entry_points={
'certbot.plugins': [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-dnsmadeeasy-1.31.0/tests/dns_dnsmadeeasy_test.py
new/certbot-dns-dnsmadeeasy-2.6.0/tests/dns_dnsmadeeasy_test.py
--- old/certbot-dns-dnsmadeeasy-1.31.0/tests/dns_dnsmadeeasy_test.py
2022-10-04 16:40:41.000000000 +0200
+++ new/certbot-dns-dnsmadeeasy-2.6.0/tests/dns_dnsmadeeasy_test.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,59 +0,0 @@
-"""Tests for certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy."""
-
-import unittest
-
-try:
- import mock
-except ImportError: # pragma: no cover
- from unittest import mock # type: ignore
-from requests.exceptions import HTTPError
-
-from certbot.compat import os
-from certbot.plugins import dns_test_common
-from certbot.plugins import dns_test_common_lexicon
-from certbot.plugins.dns_test_common import DOMAIN
-from certbot.tests import util as test_util
-
-API_KEY = 'foo'
-SECRET_KEY = 'bar'
-
-
-class AuthenticatorTest(test_util.TempDirTestCase,
- dns_test_common_lexicon.BaseLexiconAuthenticatorTest):
-
- def setUp(self):
- super().setUp()
-
- from certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy import
Authenticator
-
- path = os.path.join(self.tempdir, 'file.ini')
- dns_test_common.write({"dnsmadeeasy_api_key": API_KEY,
- "dnsmadeeasy_secret_key": SECRET_KEY},
- path)
-
- self.config = mock.MagicMock(dnsmadeeasy_credentials=path,
- dnsmadeeasy_propagation_seconds=0) #
don't wait during tests
-
- self.auth = Authenticator(self.config, "dnsmadeeasy")
-
- self.mock_client = mock.MagicMock()
- # _get_dnsmadeeasy_client | pylint: disable=protected-access
- self.auth._get_dnsmadeeasy_client =
mock.MagicMock(return_value=self.mock_client)
-
-
-class DNSMadeEasyLexiconClientTest(unittest.TestCase,
-
dns_test_common_lexicon.BaseLexiconClientTest):
- DOMAIN_NOT_FOUND = HTTPError('404 Client Error: Not Found for url:
{0}.'.format(DOMAIN))
- LOGIN_ERROR = HTTPError('403 Client Error: Forbidden for url:
{0}.'.format(DOMAIN))
-
- def setUp(self):
- from certbot_dns_dnsmadeeasy._internal.dns_dnsmadeeasy import
_DNSMadeEasyLexiconClient
-
- self.client = _DNSMadeEasyLexiconClient(API_KEY, SECRET_KEY, 0)
-
- self.provider_mock = mock.MagicMock()
- self.client.provider = self.provider_mock
-
-
-if __name__ == "__main__":
- unittest.main() # pragma: no cover