Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-certbot-dns-google for
openSUSE:Factory checked in at 2021-06-24 18:22:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-dns-google (Old)
and /work/SRC/openSUSE:Factory/.python-certbot-dns-google.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-dns-google"
Thu Jun 24 18:22:48 2021 rev:27 rq:901685 version:1.16.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-certbot-dns-google/python-certbot-dns-google.changes
2021-05-12 19:33:11.394808066 +0200
+++
/work/SRC/openSUSE:Factory/.python-certbot-dns-google.new.2625/python-certbot-dns-google.changes
2021-06-24 18:23:09.068954618 +0200
@@ -1,0 +2,6 @@
+Thu Jun 24 09:28:37 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- update to version 1.16.0
+ * Require the latest certbot and acme plugins for simplicity
+
+-------------------------------------------------------------------
Old:
----
certbot-dns-google-1.15.0.tar.gz
New:
----
certbot-dns-google-1.16.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certbot-dns-google.spec ++++++
--- /var/tmp/diff_new_pack.Rt2ELH/_old 2021-06-24 18:23:09.436955026 +0200
+++ /var/tmp/diff_new_pack.Rt2ELH/_new 2021-06-24 18:23:09.440955031 +0200
@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-certbot-dns-google
-Version: 1.15.0
+Version: 1.16.0
Release: 0
Summary: Google Cloud Authenticator plugin for Certbot
License: Apache-2.0
URL: https://github.com/certbot/certbot
Source:
https://files.pythonhosted.org/packages/source/c/certbot-dns-google/certbot-dns-google-%{version}.tar.gz
-BuildRequires: %{python_module certbot >= 1.1.0}
+BuildRequires: %{python_module certbot >= %{version}}
BuildRequires: %{python_module google-api-python-client >= 1.5.5}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module oauth2client >= 4.0}
@@ -33,8 +33,8 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-acme >= 0.29.0
-Requires: python-certbot >= 1.1.0
+Requires: python-acme >= %{version}
+Requires: python-certbot >= %{version}
Requires: python-google-api-python-client >= 1.5.5
Requires: python-oauth2client >= 4.0
Requires: python-zope.interface
++++++ certbot-dns-google-1.15.0.tar.gz -> certbot-dns-google-1.16.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-google-1.15.0/PKG-INFO
new/certbot-dns-google-1.16.0/PKG-INFO
--- old/certbot-dns-google-1.15.0/PKG-INFO 2021-05-04 20:49:05.087946700
+0200
+++ new/certbot-dns-google-1.16.0/PKG-INFO 2021-06-01 19:50:49.606117000
+0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: certbot-dns-google
-Version: 1.15.0
+Version: 1.16.0
Summary: Google Cloud DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
Author-email: [email protected]
License: Apache License 2.0
-Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
@@ -27,3 +26,7 @@
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Provides-Extra: docs
+License-File: LICENSE.txt
+
+UNKNOWN
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-google-1.15.0/certbot_dns_google/__init__.py
new/certbot-dns-google-1.16.0/certbot_dns_google/__init__.py
--- old/certbot-dns-google-1.15.0/certbot_dns_google/__init__.py
2021-05-04 20:48:08.000000000 +0200
+++ new/certbot-dns-google-1.16.0/certbot_dns_google/__init__.py
2021-06-01 19:49:17.000000000 +0200
@@ -51,8 +51,16 @@
:caption: Example credentials file:
{
- "type": "service_account",
- ...
+ "type": "service_account",
+ "project_id": "...",
+ "private_key_id": "...",
+ "private_key": "...",
+ "client_email": "...",
+ "client_id": "...",
+ "auth_uri": "https://accounts.google.com/o/oauth2/auth",
+ "token_uri": "https://accounts.google.com/o/oauth2/token",
+ "auth_provider_x509_cert_url":
"https://www.googleapis.com/oauth2/v1/certs",
+ "client_x509_cert_url": "..."
}
The path to this file can be provided interactively or using the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-google-1.15.0/certbot_dns_google.egg-info/PKG-INFO
new/certbot-dns-google-1.16.0/certbot_dns_google.egg-info/PKG-INFO
--- old/certbot-dns-google-1.15.0/certbot_dns_google.egg-info/PKG-INFO
2021-05-04 20:49:05.000000000 +0200
+++ new/certbot-dns-google-1.16.0/certbot_dns_google.egg-info/PKG-INFO
2021-06-01 19:50:49.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: certbot-dns-google
-Version: 1.15.0
+Version: 1.16.0
Summary: Google Cloud DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
Author-email: [email protected]
License: Apache License 2.0
-Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
@@ -27,3 +26,7 @@
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Provides-Extra: docs
+License-File: LICENSE.txt
+
+UNKNOWN
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-dns-google-1.15.0/certbot_dns_google.egg-info/SOURCES.txt
new/certbot-dns-google-1.16.0/certbot_dns_google.egg-info/SOURCES.txt
--- old/certbot-dns-google-1.15.0/certbot_dns_google.egg-info/SOURCES.txt
2021-05-04 20:49:05.000000000 +0200
+++ new/certbot-dns-google-1.16.0/certbot_dns_google.egg-info/SOURCES.txt
2021-06-01 19:50:49.000000000 +0200
@@ -18,6 +18,5 @@
docs/conf.py
docs/index.rst
docs/make.bat
-docs/_ext/jsonlexer.py
tests/dns_google_test.py
tests/testdata/discovery.json
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-google-1.15.0/docs/_ext/jsonlexer.py
new/certbot-dns-google-1.16.0/docs/_ext/jsonlexer.py
--- old/certbot-dns-google-1.15.0/docs/_ext/jsonlexer.py 2021-05-04
20:48:08.000000000 +0200
+++ new/certbot-dns-google-1.16.0/docs/_ext/jsonlexer.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-"""Copied from https://stackoverflow.com/a/16863232"""
-
-def setup(app):
- # enable Pygments json lexer
- try:
- import pygments
- if pygments.__version__ >= '1.5':
- # use JSON lexer included in recent versions of Pygments
- from pygments.lexers import JsonLexer
- else:
- # use JSON lexer from pygments-json if installed
- from pygson.json_lexer import JSONLexer as JsonLexer
- except ImportError:
- pass # not fatal if we have old (or no) Pygments and no pygments-json
- else:
- app.add_lexer('json', JsonLexer())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-google-1.15.0/docs/conf.py
new/certbot-dns-google-1.16.0/docs/conf.py
--- old/certbot-dns-google-1.15.0/docs/conf.py 2021-05-04 20:48:08.000000000
+0200
+++ new/certbot-dns-google-1.16.0/docs/conf.py 2021-06-01 19:49:17.000000000
+0200
@@ -35,8 +35,7 @@
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
- 'sphinx.ext.viewcode',
- 'jsonlexer']
+ 'sphinx.ext.viewcode']
autodoc_member_order = 'bysource'
autodoc_default_flags = ['show-inheritance']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-google-1.15.0/setup.py
new/certbot-dns-google-1.16.0/setup.py
--- old/certbot-dns-google-1.15.0/setup.py 2021-05-04 20:48:10.000000000
+0200
+++ new/certbot-dns-google-1.16.0/setup.py 2021-06-01 19:49:18.000000000
+0200
@@ -4,7 +4,7 @@
from setuptools import find_packages
from setuptools import setup
-version = '1.15.0'
+version = '1.16.0'
# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-dns-google-1.15.0/tests/dns_google_test.py
new/certbot-dns-google-1.16.0/tests/dns_google_test.py
--- old/certbot-dns-google-1.15.0/tests/dns_google_test.py 2021-05-04
20:48:08.000000000 +0200
+++ new/certbot-dns-google-1.16.0/tests/dns_google_test.py 2021-06-01
19:49:17.000000000 +0200
@@ -43,7 +43,8 @@
# _get_google_client | pylint: disable=protected-access
self.auth._get_google_client =
mock.MagicMock(return_value=self.mock_client)
- def test_perform(self):
+ @test_util.patch_get_utility()
+ def test_perform(self, unused_mock_get_utility):
self.auth.perform([self.achall])
expected = [mock.call.add_txt_record(DOMAIN,
'_acme-challenge.'+DOMAIN, mock.ANY, mock.ANY)]
@@ -58,7 +59,8 @@
self.assertEqual(expected, self.mock_client.mock_calls)
@mock.patch('httplib2.Http.request', side_effect=ServerNotFoundError)
- def test_without_auth(self, unused_mock):
+ @test_util.patch_get_utility()
+ def test_without_auth(self, unused_mock_get_utility, unused_mock):
self.config.google_credentials = None
self.assertRaises(PluginError, self.auth.perform, [self.achall])