New Upstream Release - python-certbot-dns-gehirn
Ready changes
Summary
Merged new upstream version: 2.6.0 (was: 2.2.0).
Resulting package
Built on 2023-05-23T07:51 (took 6m17s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-releases python-certbot-dns-gehirn-docapt install -t fresh-releases python3-certbot-dns-gehirn
Lintian Result
Diff
diff --git a/MANIFEST.in b/MANIFEST.in
index 88391b8..31f5b93 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,7 +1,6 @@
include LICENSE.txt
include README.rst
recursive-include docs *
-recursive-include tests *
include certbot_dns_gehirn/py.typed
global-exclude __pycache__
global-exclude *.py[cod]
diff --git a/PKG-INFO b/PKG-INFO
index 2a8aefc..65cb822 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-gehirn
-Version: 2.0.0
+Version: 2.6.0
Summary: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
@@ -26,4 +26,5 @@ Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Provides-Extra: docs
+Provides-Extra: test
License-File: LICENSE.txt
diff --git a/certbot_dns_gehirn.egg-info/PKG-INFO b/certbot_dns_gehirn.egg-info/PKG-INFO
index 2a8aefc..65cb822 100644
--- a/certbot_dns_gehirn.egg-info/PKG-INFO
+++ b/certbot_dns_gehirn.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-dns-gehirn
-Version: 2.0.0
+Version: 2.6.0
Summary: Gehirn Infrastructure Service DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
@@ -26,4 +26,5 @@ Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Provides-Extra: docs
+Provides-Extra: test
License-File: LICENSE.txt
diff --git a/certbot_dns_gehirn.egg-info/SOURCES.txt b/certbot_dns_gehirn.egg-info/SOURCES.txt
index 0a850b0..a2fcfb8 100644
--- a/certbot_dns_gehirn.egg-info/SOURCES.txt
+++ b/certbot_dns_gehirn.egg-info/SOURCES.txt
@@ -12,10 +12,11 @@ certbot_dns_gehirn.egg-info/requires.txt
certbot_dns_gehirn.egg-info/top_level.txt
certbot_dns_gehirn/_internal/__init__.py
certbot_dns_gehirn/_internal/dns_gehirn.py
+certbot_dns_gehirn/_internal/tests/__init__.py
+certbot_dns_gehirn/_internal/tests/dns_gehirn_test.py
docs/.gitignore
docs/Makefile
docs/api.rst
docs/conf.py
docs/index.rst
-docs/make.bat
-tests/dns_gehirn_test.py
\ No newline at end of file
+docs/make.bat
\ No newline at end of file
diff --git a/certbot_dns_gehirn.egg-info/requires.txt b/certbot_dns_gehirn.egg-info/requires.txt
index e8014ea..525db91 100644
--- a/certbot_dns_gehirn.egg-info/requires.txt
+++ b/certbot_dns_gehirn.egg-info/requires.txt
@@ -1,8 +1,11 @@
dns-lexicon>=3.2.1
setuptools>=41.6.0
-acme>=2.0.0
-certbot>=2.0.0
+acme>=2.6.0
+certbot>=2.6.0
[docs]
Sphinx>=1.0
sphinx_rtd_theme
+
+[test]
+pytest
diff --git a/certbot_dns_gehirn/_internal/dns_gehirn.py b/certbot_dns_gehirn/_internal/dns_gehirn.py
index 799d028..60a13d9 100644
--- a/certbot_dns_gehirn/_internal/dns_gehirn.py
+++ b/certbot_dns_gehirn/_internal/dns_gehirn.py
@@ -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 gehirn
@@ -64,8 +65,8 @@ class Authenticator(dns_common.DNSAuthenticator):
if not self.credentials: # pragma: no cover
raise errors.Error("Plugin has not been prepared.")
return _GehirnLexiconClient(
- self.credentials.conf('api-token'),
- self.credentials.conf('api-secret'),
+ cast(str, self.credentials.conf('api-token')),
+ cast(str, self.credentials.conf('api-secret')),
self.ttl
)
diff --git a/certbot_dns_gehirn/_internal/tests/__init__.py b/certbot_dns_gehirn/_internal/tests/__init__.py
new file mode 100644
index 0000000..ef31d57
--- /dev/null
+++ b/certbot_dns_gehirn/_internal/tests/__init__.py
@@ -0,0 +1 @@
+"""certbot-dns-gehirn tests"""
diff --git a/tests/dns_gehirn_test.py b/certbot_dns_gehirn/_internal/tests/dns_gehirn_test.py
similarity index 95%
rename from tests/dns_gehirn_test.py
rename to certbot_dns_gehirn/_internal/tests/dns_gehirn_test.py
index b982e3e..b15e36c 100644
--- a/tests/dns_gehirn_test.py
+++ b/certbot_dns_gehirn/_internal/tests/dns_gehirn_test.py
@@ -1,8 +1,10 @@
"""Tests for certbot_dns_gehirn._internal.dns_gehirn."""
+import sys
import unittest
from unittest import mock
+import pytest
from requests.exceptions import HTTPError
from certbot.compat import os
@@ -52,4 +54,4 @@ class GehirnLexiconClientTest(unittest.TestCase, dns_test_common_lexicon.BaseLex
if __name__ == "__main__":
- unittest.main() # pragma: no cover
+ sys.exit(pytest.main(sys.argv[1:] + [__file__])) # pragma: no cover
diff --git a/debian/changelog b/debian/changelog
index 9332215..3580f13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-certbot-dns-gehirn (2.6.0-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+ * New upstream release.
+ * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk> Tue, 23 May 2023 07:45:58 -0000
+
python-certbot-dns-gehirn (2.0.0-1) unstable; urgency=medium
* Add new signing keys, see bug #999503
diff --git a/setup.py b/setup.py
index 5f1ca79..a4accf3 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
-version = '2.0.0'
+version = '2.6.0'
install_requires = [
'dns-lexicon>=3.2.1',
@@ -30,6 +30,10 @@ docs_extras = [
'sphinx_rtd_theme',
]
+test_extras = [
+ 'pytest',
+]
+
setup(
name='certbot-dns-gehirn',
version=version,
@@ -65,6 +69,7 @@ setup(
install_requires=install_requires,
extras_require={
'docs': docs_extras,
+ 'test': test_extras,
},
entry_points={
'certbot.plugins': [
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.6.0.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.6.0.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.6.0.egg-info/entry_points.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.6.0.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.6.0.egg-info/top_level.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn/_internal/tests/__init__.py -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn/_internal/tests/dns_gehirn_test.py
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.0.0.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.0.0.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.0.0.egg-info/entry_points.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.0.0.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/certbot_dns_gehirn-2.0.0.egg-info/top_level.txt
No differences were encountered between the control files of package python-certbot-dns-gehirn-doc
Control files of package python3-certbot-dns-gehirn: lines which differ (wdiff format)
Depends: certbot, python3-certbot-abi-2 (>= 2.0), 2.6), python3-acme, python3-certbot, python3-lexicon (>= 3.2.1~), python3-pkg-resources, python3:any