Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-certbot-dns-dnsimple for openSUSE:Factory checked in at 2023-06-07 23:08:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-dnsimple (Old) and /work/SRC/openSUSE:Factory/.python-certbot-dns-dnsimple.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-dnsimple" Wed Jun 7 23:08:20 2023 rev:39 rq:1091322 version:2.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certbot-dns-dnsimple/python-certbot-dns-dnsimple.changes 2022-10-27 13:55:15.504899906 +0200 +++ /work/SRC/openSUSE:Factory/.python-certbot-dns-dnsimple.new.15902/python-certbot-dns-dnsimple.changes 2023-06-07 23:08:56.863874922 +0200 @@ -1,0 +2,10 @@ +Wed Jun 7 16:05:18 UTC 2023 - Markéta Machová <mmach...@suse.com> + +- 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-dnsimple-1.31.0.tar.gz New: ---- certbot-dns-dnsimple-2.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certbot-dns-dnsimple.spec ++++++ --- /var/tmp/diff_new_pack.M6OgBP/_old 2023-06-07 23:08:57.351877756 +0200 +++ /var/tmp/diff_new_pack.M6OgBP/_new 2023-06-07 23:08:57.355877780 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certbot-dns-dnsimple # -# 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-dnsimple -Version: 1.31.0 +Version: 2.6.0 Release: 0 Summary: DNSimple 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-dnsimple-1.31.0.tar.gz -> certbot-dns-dnsimple-2.6.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-dnsimple-1.31.0/MANIFEST.in new/certbot-dns-dnsimple-2.6.0/MANIFEST.in --- old/certbot-dns-dnsimple-1.31.0/MANIFEST.in 2022-10-04 16:40:41.000000000 +0200 +++ new/certbot-dns-dnsimple-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_dnsimple/py.typed global-exclude __pycache__ global-exclude *.py[cod] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-dnsimple-1.31.0/PKG-INFO new/certbot-dns-dnsimple-2.6.0/PKG-INFO --- old/certbot-dns-dnsimple-1.31.0/PKG-INFO 2022-10-04 16:41:02.855599400 +0200 +++ new/certbot-dns-dnsimple-2.6.0/PKG-INFO 2023-05-09 21:44:48.629691800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-dns-dnsimple -Version: 1.31.0 +Version: 2.6.0 Summary: DNSimple 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-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/dns_dnsimple.py new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/dns_dnsimple.py --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/dns_dnsimple.py 2022-10-04 16:40:41.000000000 +0200 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/dns_dnsimple.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 dnsimple @@ -58,7 +59,7 @@ def _get_dnsimple_client(self) -> "_DNSimpleLexiconClient": if not self.credentials: # pragma: no cover raise errors.Error("Plugin has not been prepared.") - return _DNSimpleLexiconClient(self.credentials.conf('token'), self.ttl) + return _DNSimpleLexiconClient(cast(str, self.credentials.conf('token')), self.ttl) class _DNSimpleLexiconClient(dns_common_lexicon.LexiconClient): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/tests/__init__.py new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/tests/__init__.py --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/tests/__init__.py 1970-01-01 01:00:00.000000000 +0100 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/tests/__init__.py 2023-05-09 21:44:36.000000000 +0200 @@ -0,0 +1 @@ +"""certbot-dns-dnsimple tests""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/tests/dns_dnsimple_test.py new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/tests/dns_dnsimple_test.py --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple/_internal/tests/dns_dnsimple_test.py 1970-01-01 01:00:00.000000000 +0100 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple/_internal/tests/dns_dnsimple_test.py 2023-05-09 21:44:36.000000000 +0200 @@ -0,0 +1,53 @@ +"""Tests for certbot_dns_dnsimple._internal.dns_dnsimple.""" + +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.tests import util as test_util + +TOKEN = 'foo' + + +class AuthenticatorTest(test_util.TempDirTestCase, + dns_test_common_lexicon.BaseLexiconAuthenticatorTest): + + def setUp(self): + super().setUp() + + from certbot_dns_dnsimple._internal.dns_dnsimple import Authenticator + + path = os.path.join(self.tempdir, 'file.ini') + dns_test_common.write({"dnsimple_token": TOKEN}, path) + + self.config = mock.MagicMock(dnsimple_credentials=path, + dnsimple_propagation_seconds=0) # don't wait during tests + + self.auth = Authenticator(self.config, "dnsimple") + + self.mock_client = mock.MagicMock() + # _get_dnsimple_client | pylint: disable=protected-access + self.auth._get_dnsimple_client = mock.MagicMock(return_value=self.mock_client) + + +class DNSimpleLexiconClientTest(unittest.TestCase, dns_test_common_lexicon.BaseLexiconClientTest): + + LOGIN_ERROR = HTTPError('401 Client Error: Unauthorized for url: ...') + + def setUp(self): + from certbot_dns_dnsimple._internal.dns_dnsimple import _DNSimpleLexiconClient + + self.client = _DNSimpleLexiconClient(TOKEN, 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-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/PKG-INFO new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/PKG-INFO --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/PKG-INFO 2022-10-04 16:41:02.000000000 +0200 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/PKG-INFO 2023-05-09 21:44:48.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: certbot-dns-dnsimple -Version: 1.31.0 +Version: 2.6.0 Summary: DNSimple 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-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/SOURCES.txt new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/SOURCES.txt --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/SOURCES.txt 2022-10-04 16:41:02.000000000 +0200 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/SOURCES.txt 2023-05-09 21:44:48.000000000 +0200 @@ -12,10 +12,11 @@ certbot_dns_dnsimple.egg-info/top_level.txt certbot_dns_dnsimple/_internal/__init__.py certbot_dns_dnsimple/_internal/dns_dnsimple.py +certbot_dns_dnsimple/_internal/tests/__init__.py +certbot_dns_dnsimple/_internal/tests/dns_dnsimple_test.py docs/.gitignore docs/Makefile docs/api.rst docs/conf.py docs/index.rst -docs/make.bat -tests/dns_dnsimple_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-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/requires.txt new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/requires.txt --- old/certbot-dns-dnsimple-1.31.0/certbot_dns_dnsimple.egg-info/requires.txt 2022-10-04 16:41:02.000000000 +0200 +++ new/certbot-dns-dnsimple-2.6.0/certbot_dns_dnsimple.egg-info/requires.txt 2023-05-09 21:44:48.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-dnsimple-1.31.0/setup.py new/certbot-dns-dnsimple-2.6.0/setup.py --- old/certbot-dns-dnsimple-1.31.0/setup.py 2022-10-04 16:40:42.000000000 +0200 +++ new/certbot-dns-dnsimple-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 = [ # This version of lexicon is required to address the problem described in @@ -32,6 +32,10 @@ 'sphinx_rtd_theme', ] +test_extras = [ + 'pytest', +] + setup( name='certbot-dns-dnsimple', version=version, @@ -53,6 +57,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', @@ -66,6 +71,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-dnsimple-1.31.0/tests/dns_dnsimple_test.py new/certbot-dns-dnsimple-2.6.0/tests/dns_dnsimple_test.py --- old/certbot-dns-dnsimple-1.31.0/tests/dns_dnsimple_test.py 2022-10-04 16:40:41.000000000 +0200 +++ new/certbot-dns-dnsimple-2.6.0/tests/dns_dnsimple_test.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ -"""Tests for certbot_dns_dnsimple._internal.dns_dnsimple.""" - -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.tests import util as test_util - -TOKEN = 'foo' - - -class AuthenticatorTest(test_util.TempDirTestCase, - dns_test_common_lexicon.BaseLexiconAuthenticatorTest): - - def setUp(self): - super().setUp() - - from certbot_dns_dnsimple._internal.dns_dnsimple import Authenticator - - path = os.path.join(self.tempdir, 'file.ini') - dns_test_common.write({"dnsimple_token": TOKEN}, path) - - self.config = mock.MagicMock(dnsimple_credentials=path, - dnsimple_propagation_seconds=0) # don't wait during tests - - self.auth = Authenticator(self.config, "dnsimple") - - self.mock_client = mock.MagicMock() - # _get_dnsimple_client | pylint: disable=protected-access - self.auth._get_dnsimple_client = mock.MagicMock(return_value=self.mock_client) - - -class DNSimpleLexiconClientTest(unittest.TestCase, dns_test_common_lexicon.BaseLexiconClientTest): - - LOGIN_ERROR = HTTPError('401 Client Error: Unauthorized for url: ...') - - def setUp(self): - from certbot_dns_dnsimple._internal.dns_dnsimple import _DNSimpleLexiconClient - - self.client = _DNSimpleLexiconClient(TOKEN, 0) - - self.provider_mock = mock.MagicMock() - self.client.provider = self.provider_mock - - -if __name__ == "__main__": - unittest.main() # pragma: no cover