commit python-acme for openSUSE:Factory

2020-10-07 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-10-07 14:19:03

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.4249 (New)


Package is "python-acme"

Wed Oct  7 14:19:03 2020 rev:47 rq:839987 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-08-21 
19:13:00.256670863 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.4249/python-acme.changes
2020-10-07 14:19:32.825536296 +0200
@@ -1,0 +2,14 @@
+Wed Oct  7 08:05:43 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.9.0
+  * sync with the main certbot package
+
+---
+Mon Sep 28 13:48:23 UTC 2020 - Hans-Peter Jansen 
+
+- update to version 1.8.0
+  * Support for Python 3.5 has been removed.
+  * The acme library can now tell the ACME server to clear contact information 
by passing an empty
+tuple to the contact field of a Registration message.
+
+---

Old:

  acme-1.7.0.tar.gz
  acme-1.7.0.tar.gz.asc

New:

  acme-1.9.0.tar.gz
  acme-1.9.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.NWxrDe/_old  2020-10-07 14:19:33.413536763 +0200
+++ /var/tmp/diff_new_pack.NWxrDe/_new  2020-10-07 14:19:33.417536766 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.7.0
+Version:1.9.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-1.7.0.tar.gz -> acme-1.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.7.0/PKG-INFO new/acme-1.9.0/PKG-INFO
--- old/acme-1.7.0/PKG-INFO 2020-08-04 20:20:18.842036200 +0200
+++ new/acme-1.9.0/PKG-INFO 2020-10-06 20:39:54.684130200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.7.0
+Version: 1.9.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -15,12 +15,11 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
 Provides-Extra: dev
 Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.7.0/acme/__init__.py 
new/acme-1.9.0/acme/__init__.py
--- old/acme-1.7.0/acme/__init__.py 2020-08-04 20:20:15.0 +0200
+++ new/acme-1.9.0/acme/__init__.py 2020-10-06 20:39:49.0 +0200
@@ -20,11 +20,3 @@
 # preserved (acme.jose.* is josepy.*)
 if mod == 'josepy' or mod.startswith('josepy.'):
 sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = 
sys.modules[mod]
-
-
-if sys.version_info[:2] == (3, 5):
-warnings.warn(
-"Python 3.5 support will be dropped in the next release of "
-"acme. Please upgrade your Python version.",
-PendingDeprecationWarning,
-)  # pragma: no cover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.7.0/acme/client.py 
new/acme-1.9.0/acme/client.py
--- old/acme-1.7.0/acme/client.py   2020-08-04 20:20:15.0 +0200
+++ new/acme-1.9.0/acme/client.py   2020-10-06 20:39:49.0 +0200
@@ -448,7 +448,7 @@
 heapq.heapify(waiting)
 # mapping between original Authorization Resource and the most
 # recently updated one
-updated = dict((authzr, authzr) for authzr in authzrs)
+updated = {authzr: authzr for authzr in authzrs}
 
 while waiting:
 # find the smallest Retry-After, and sleep if necessary
@@ -801,7 +801,7 @@
 """
 # Can't use response.links directly because it drops multiple links
 # of the same relation type, which is possible in RFC8555 responses.
-if not 'Link' in response.headers:
+if 'Link' not in response.headers:
 return []
 links = parse_header_links(response.headers['Link'])
 return [l['url'] for l in link

commit python-acme for openSUSE:Factory

2020-08-21 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-08-21 19:11:58

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.3399 (New)


Package is "python-acme"

Fri Aug 21 19:11:58 2020 rev:46 rq:828416 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-07-15 
15:01:41.151214944 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.3399/python-acme.changes
2020-08-21 19:13:00.256670863 +0200
@@ -1,0 +2,7 @@
+Fri Aug 21 08:28:01 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.7.0
+  * We deprecated support for Python 3.5 in Certbot and its ACME library.
+Support for Python 3.5 will be removed in the next major release of 
Certbot.
+
+---

Old:

  acme-1.6.0.tar.gz
  acme-1.6.0.tar.gz.asc

New:

  acme-1.7.0.tar.gz
  acme-1.7.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.iJV7EU/_old  2020-08-21 19:13:04.404673327 +0200
+++ /var/tmp/diff_new_pack.iJV7EU/_new  2020-08-21 19:13:04.408673329 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.6.0
+Version:1.7.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -49,6 +49,9 @@
 Requires:   python-requests >= 2.6.0
 Requires:   python-requests-toolbelt >= 0.3.0
 Requires:   python-six >= 1.9.0
+%ifpython2
+Requires:   python-mock
+%endif
 BuildArch:  noarch
 %if %{?suse_version} < 1500
 BuildRequires:  %{python_module devel}

++ acme-1.6.0.tar.gz -> acme-1.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.6.0/PKG-INFO new/acme-1.7.0/PKG-INFO
--- old/acme-1.6.0/PKG-INFO 2020-07-07 19:13:32.0 +0200
+++ new/acme-1.7.0/PKG-INFO 2020-08-04 20:20:18.842036200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.6.0
+Version: 1.7.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.6.0/acme/__init__.py 
new/acme-1.7.0/acme/__init__.py
--- old/acme-1.6.0/acme/__init__.py 2020-07-07 19:13:19.0 +0200
+++ new/acme-1.7.0/acme/__init__.py 2020-08-04 20:20:15.0 +0200
@@ -20,3 +20,11 @@
 # preserved (acme.jose.* is josepy.*)
 if mod == 'josepy' or mod.startswith('josepy.'):
 sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = 
sys.modules[mod]
+
+
+if sys.version_info[:2] == (3, 5):
+warnings.warn(
+"Python 3.5 support will be dropped in the next release of "
+"acme. Please upgrade your Python version.",
+PendingDeprecationWarning,
+)  # pragma: no cover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.6.0/acme.egg-info/PKG-INFO 
new/acme-1.7.0/acme.egg-info/PKG-INFO
--- old/acme-1.6.0/acme.egg-info/PKG-INFO   2020-07-07 19:13:32.0 
+0200
+++ new/acme-1.7.0/acme.egg-info/PKG-INFO   2020-08-04 20:20:18.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.6.0
+Version: 1.7.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.6.0/setup.py new/acme-1.7.0/setup.py
--- old/acme-1.6.0/setup.py 2020-07-07 19:13:23.0 +0200
+++ new/acme-1.7.0/setup.py 2020-08-04 20:20:16.0 +0200
@@ -6,7 +6,7 @@
 from setuptools import setup
 from setuptools.command.test import test as TestCommand
 
-version = '1.6.0'
+version = '1.7.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2020-07-15 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-07-15 15:01:22

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.3060 (New)


Package is "python-acme"

Wed Jul 15 15:01:22 2020 rev:45 rq:820645 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-06-11 
15:15:27.678955627 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.3060/python-acme.changes
2020-07-15 15:01:41.151214944 +0200
@@ -1,0 +2,9 @@
+Mon Jul 13 08:27:35 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.6.0
+  * Support for alternative certificate chains in the acme module.
+  * Added --preferred-chain . If a CA offers multiple 
+certificate chains, it may be used to indicate to Certbot which 
+chain should be preferred. 
+
+---

Old:

  acme-1.5.0.tar.gz
  acme-1.5.0.tar.gz.asc

New:

  acme-1.6.0.tar.gz
  acme-1.6.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.wHBi9c/_old  2020-07-15 15:01:42.887216638 +0200
+++ /var/tmp/diff_new_pack.wHBi9c/_new  2020-07-15 15:01:42.891216641 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.5.0
+Version:1.6.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -30,7 +30,7 @@
 BuildRequires:  %{python_module cryptography >= 1.2.3}
 BuildRequires:  %{python_module josepy >= 1.1.0}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pyOpenSSL >= 0.13.1}
+BuildRequires:  %{python_module pyOpenSSL >= 0.15.1}
 BuildRequires:  %{python_module pyRFC3339}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
@@ -43,7 +43,7 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-cryptography >= 1.2.3
 Requires:   python-josepy >= 1.1.0
-Requires:   python-pyOpenSSL >= 0.13.1
+Requires:   python-pyOpenSSL >= 0.15.1
 Requires:   python-pyRFC3339
 Requires:   python-pytz
 Requires:   python-requests >= 2.6.0

++ acme-1.5.0.tar.gz -> acme-1.6.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.5.0/PKG-INFO new/acme-1.6.0/PKG-INFO
--- old/acme-1.5.0/PKG-INFO 2020-06-02 19:12:54.0 +0200
+++ new/acme-1.6.0/PKG-INFO 2020-07-07 19:13:32.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.5.0
+Version: 1.6.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.5.0/acme/client.py 
new/acme-1.6.0/acme/client.py
--- old/acme-1.5.0/acme/client.py   2020-06-02 19:12:31.0 +0200
+++ new/acme-1.6.0/acme/client.py   2020-07-07 19:13:19.0 +0200
@@ -13,6 +13,7 @@
 import OpenSSL
 import requests
 from requests.adapters import HTTPAdapter
+from requests.utils import parse_header_links
 from requests_toolbelt.adapters.source import SourceAddressAdapter
 import six
 from six.moves import http_client
@@ -733,11 +734,13 @@
 raise errors.ValidationError(failed)
 return orderr.update(authorizations=responses)
 
-def finalize_order(self, orderr, deadline):
+def finalize_order(self, orderr, deadline, fetch_alternative_chains=False):
 """Finalize an order and obtain a certificate.
 
 :param messages.OrderResource orderr: order to finalize
 :param datetime.datetime deadline: when to stop polling and timeout
+:param bool fetch_alternative_chains: whether to also fetch alternative
+certificate chains
 
 :returns: finalized order
 :rtype: messages.OrderResource
@@ -754,8 +757,13 @@
 if body.error is not None:
 raise errors.IssuanceError(body.error)
 if body.certificate is not None:
-certificate_response = self._post_as_get(body.certificate).text
-return orderr.update(body=body, 
fullchain_pem=certificate_response)
+certificate_response = self._post_as_get(body.certificate)
+orderr = orderr.update(body=body, 
fullchain_pem=certificate_response.text)
+if fetch_alternative_chains:
+alt_chains_urls = self._get_links(certificate_response, 
'alternate')
+alt_chains = [self._post_as_get(url).text for url in 
alt_

commit python-acme for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-06-11 15:15:25

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.3606 (New)


Package is "python-acme"

Thu Jun 11 15:15:25 2020 rev:44 rq:813504 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-05-14 
23:26:37.373220387 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.3606/python-acme.changes
2020-06-11 15:15:27.678955627 +0200
@@ -1,0 +2,6 @@
+Thu Jun 11 12:06:37 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.5.0
+  * Fix TLS-ALPN test that fails when run with newer versions of OpenSSL.
+
+---

Old:

  acme-1.4.0.tar.gz
  acme-1.4.0.tar.gz.asc

New:

  acme-1.5.0.tar.gz
  acme-1.5.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.p1iD3Y/_old  2020-06-11 15:15:28.422957712 +0200
+++ /var/tmp/diff_new_pack.p1iD3Y/_new  2020-06-11 15:15:28.426957723 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.4.0
+Version:1.5.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-1.4.0.tar.gz -> acme-1.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/PKG-INFO new/acme-1.5.0/PKG-INFO
--- old/acme-1.4.0/PKG-INFO 2020-05-05 21:37:42.559923200 +0200
+++ new/acme-1.5.0/PKG-INFO 2020-06-02 19:12:54.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.4.0
+Version: 1.5.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/acme.egg-info/PKG-INFO 
new/acme-1.5.0/acme.egg-info/PKG-INFO
--- old/acme-1.4.0/acme.egg-info/PKG-INFO   2020-05-05 21:37:42.0 
+0200
+++ new/acme-1.5.0/acme.egg-info/PKG-INFO   2020-06-02 19:12:54.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.4.0
+Version: 1.5.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/acme.egg-info/SOURCES.txt 
new/acme-1.5.0/acme.egg-info/SOURCES.txt
--- old/acme-1.4.0/acme.egg-info/SOURCES.txt2020-05-05 21:37:42.0 
+0200
+++ new/acme-1.5.0/acme.egg-info/SOURCES.txt2020-06-02 19:12:54.0 
+0200
@@ -73,4 +73,6 @@
 tests/testdata/rsa2048_cert.pem
 tests/testdata/rsa2048_key.pem
 tests/testdata/rsa256_key.pem
+tests/testdata/rsa4096_cert.pem
+tests/testdata/rsa4096_key.pem
 tests/testdata/rsa512_key.pem
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/setup.py new/acme-1.5.0/setup.py
--- old/acme-1.4.0/setup.py 2020-05-05 21:37:34.0 +0200
+++ new/acme-1.5.0/setup.py 2020-06-02 19:12:35.0 +0200
@@ -6,7 +6,7 @@
 from setuptools import setup
 from setuptools.command.test import test as TestCommand
 
-version = '1.4.0'
+version = '1.5.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/tests/standalone_test.py 
new/acme-1.5.0/tests/standalone_test.py
--- old/acme-1.4.0/tests/standalone_test.py 2020-05-05 21:37:33.0 
+0200
+++ new/acme-1.5.0/tests/standalone_test.py 2020-06-02 19:12:31.0 
+0200
@@ -122,8 +122,8 @@
 )}
 # Use different certificate for challenge.
 self.challenge_certs = {b'localhost': (
-test_util.load_pyopenssl_private_key('rsa1024_key.pem'),
-test_util.load_cert('rsa1024_cert.pem'),
+test_util.load_pyopenssl_private_key('rsa4096_key.pem'),
+test_util.load_cert('rsa4096_cert.pem'),
 )}
 from acme.standalone import TLSALPN01Server
 self.server = TLSALPN01Server(("localhost", 0), certs=self.certs,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.4.0/tests/testdata/README 
new/acme-1.5.0/tests/testdata/README
--- old/acme-1.4.0/tests/testdata/README2020-05-05 21:37:33.0 
+0200
+++ new/acme-1.5.0/tests/testdata/README

commit python-acme for openSUSE:Factory

2020-05-14 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-05-14 23:26:32

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.2738 (New)


Package is "python-acme"

Thu May 14 23:26:32 2020 rev:43 rq:805531 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-03-11 
18:56:33.595707438 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.2738/python-acme.changes
2020-05-14 23:26:37.373220387 +0200
@@ -1,0 +2,10 @@
+Thu May 14 08:22:21 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.4.0
+  * Added TLS-ALPN-01 challenge support in the acme library. Support of this
+challenge in the Certbot client is planned to be added in a future release.
+  * mock dependency is now conditional on Python 2 in all of our packages.
+  * When using an RFC 8555 compliant endpoint, the acme library no longer 
sends the
+resource field in any requests or the type field when responding to 
challenges.
+
+---

Old:

  acme-1.3.0.tar.gz
  acme-1.3.0.tar.gz.asc

New:

  acme-1.4.0.tar.gz
  acme-1.4.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.TcgdLb/_old  2020-05-14 23:26:38.041221845 +0200
+++ /var/tmp/diff_new_pack.TcgdLb/_new  2020-05-14 23:26:38.041221845 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.3.0
+Version:1.4.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -43,7 +43,6 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-cryptography >= 1.2.3
 Requires:   python-josepy >= 1.1.0
-Requires:   python-ndg-httpsclient
 Requires:   python-pyOpenSSL >= 0.13.1
 Requires:   python-pyRFC3339
 Requires:   python-pytz

++ acme-1.3.0.tar.gz -> acme-1.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.3.0/PKG-INFO new/acme-1.4.0/PKG-INFO
--- old/acme-1.3.0/PKG-INFO 2020-03-03 21:36:42.0 +0100
+++ new/acme-1.4.0/PKG-INFO 2020-05-05 21:37:42.559923200 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.3.0
+Version: 1.4.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -22,5 +22,5 @@
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
-Provides-Extra: docs
 Provides-Extra: dev
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.3.0/acme/challenges.py 
new/acme-1.4.0/acme/challenges.py
--- old/acme-1.3.0/acme/challenges.py   2020-03-03 21:36:35.0 +0100
+++ new/acme-1.4.0/acme/challenges.py   2020-05-05 21:37:33.0 +0200
@@ -1,15 +1,22 @@
 """ACME Identifier Validation Challenges."""
 import abc
+import codecs
 import functools
 import hashlib
 import logging
+import socket
 
 from cryptography.hazmat.primitives import hashes  # type: ignore
 import josepy as jose
 import requests
 import six
+from OpenSSL import SSL  # type: ignore # 
https://github.com/python/typeshed/issues/2052
+from OpenSSL import crypto
 
+from acme import crypto_util
+from acme import errors
 from acme import fields
+from acme.mixins import ResourceMixin, TypeMixin
 
 logger = logging.getLogger(__name__)
 
@@ -28,7 +35,7 @@
 return UnrecognizedChallenge.from_json(jobj)
 
 
-class ChallengeResponse(jose.TypedJSONObjectWithFields):
+class ChallengeResponse(ResourceMixin, TypeMixin, 
jose.TypedJSONObjectWithFields):
 # _fields_to_partial_json
 """ACME challenge response."""
 TYPES = {}  # type: dict
@@ -362,29 +369,163 @@
 
 @ChallengeResponse.register
 class TLSALPN01Response(KeyAuthorizationChallengeResponse):
-"""ACME TLS-ALPN-01 challenge response.
+"""ACME tls-alpn-01 challenge response."""
+typ = "tls-alpn-01"
+
+PORT = 443
+"""Verification port as defined by the protocol.
+
+You can override it (e.g. for testing) by passing ``port`` to
+`simple_verify`.
 
-This class only allows initiating a TLS-ALPN-01 challenge returned from the
-CA. Full support for responding to TLS-ALPN-01 challenges by generating and
-serving the expected response certificate is not currently provided.
 """
-typ = "tls-alpn-01"
 
+ID_PE_ACME_IDENTIFIER_V1 = b"1.3.6.1.5.5.7.1.30.1"
+ACME_TLS_1_PROTOCOL = "acm

commit python-acme for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-03-11 18:54:53

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.3160 (New)


Package is "python-acme"

Wed Mar 11 18:54:53 2020 rev:42 rq:783841 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-02-26 
15:02:28.424883199 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.3160/python-acme.changes
2020-03-11 18:56:33.595707438 +0100
@@ -1,0 +2,8 @@
+Wed Mar 11 13:40:21 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.3.0
+  * Don't verify the existing certificate in HTTP01Response.simple_verify, for
+compatibility with the real-world ACME challenge checks.
+  * Fix acme module warnings when response Content-Type includes params (e.g. 
charset).
+
+---

Old:

  acme-1.2.0.tar.gz
  acme-1.2.0.tar.gz.asc

New:

  acme-1.3.0.tar.gz
  acme-1.3.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.WdD7Ff/_old  2020-03-11 18:56:33.971707607 +0100
+++ /var/tmp/diff_new_pack.WdD7Ff/_new  2020-03-11 18:56:33.971707607 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.2.0
+Version:1.3.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-1.2.0.tar.gz -> acme-1.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.2.0/PKG-INFO new/acme-1.3.0/PKG-INFO
--- old/acme-1.2.0/PKG-INFO 2020-02-04 22:47:04.0 +0100
+++ new/acme-1.3.0/PKG-INFO 2020-03-03 21:36:42.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.2.0
+Version: 1.3.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.2.0/acme/challenges.py 
new/acme-1.3.0/acme/challenges.py
--- old/acme-1.2.0/acme/challenges.py   2020-02-04 22:46:57.0 +0100
+++ new/acme-1.3.0/acme/challenges.py   2020-03-03 21:36:35.0 +0100
@@ -303,7 +303,7 @@
 uri = chall.uri(domain)
 logger.debug("Verifying %s at %s...", chall.typ, uri)
 try:
-http_response = requests.get(uri)
+http_response = requests.get(uri, verify=False)
 except requests.exceptions.RequestException as error:
 logger.error("Unable to reach %s: %s", uri, error)
 return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.2.0/acme/client.py 
new/acme-1.3.0/acme/client.py
--- old/acme-1.2.0/acme/client.py   2020-02-04 22:46:57.0 +0100
+++ new/acme-1.3.0/acme/client.py   2020-03-03 21:36:35.0 +0100
@@ -15,16 +15,16 @@
 from requests.adapters import HTTPAdapter
 from requests_toolbelt.adapters.source import SourceAddressAdapter
 import six
-from six.moves import http_client  # pylint: disable=import-error
+from six.moves import http_client
 
 from acme import crypto_util
 from acme import errors
 from acme import jws
 from acme import messages
-from acme.magic_typing import Dict  # pylint: disable=unused-import, 
no-name-in-module
-from acme.magic_typing import List  # pylint: disable=unused-import, 
no-name-in-module
-from acme.magic_typing import Set  # pylint: disable=unused-import, 
no-name-in-module
-from acme.magic_typing import Text  # pylint: disable=unused-import, 
no-name-in-module
+from acme.magic_typing import Dict
+from acme.magic_typing import List
+from acme.magic_typing import Set
+from acme.magic_typing import Text
 
 logger = logging.getLogger(__name__)
 
@@ -36,7 +36,7 @@
 try:
 requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()  # 
type: ignore
 except AttributeError:
-import urllib3.contrib.pyopenssl  # pylint: disable=import-error
+import urllib3.contrib.pyopenssl
 urllib3.contrib.pyopenssl.inject_into_urllib3()
 
 DEFAULT_NETWORK_TIMEOUT = 45
@@ -666,7 +666,7 @@
 response = self._post(self.directory['newOrder'], order)
 body = messages.Order.from_json(response.json())
 authorizations = []
-for url in body.authorizations:  # pylint: disable=not-an-iterable
+for url in body.authorizations:
 
authorizations.append(self._authzr_from_response(self._post_as_get(url), 
uri=url))
 

commit python-acme for openSUSE:Factory

2020-02-26 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-02-26 15:02:26

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.26092 (New)


Package is "python-acme"

Wed Feb 26 15:02:26 2020 rev:41 rq:778029 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-01-21 
21:02:21.700904788 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.26092/python-acme.changes   
2020-02-26 15:02:28.424883199 +0100
@@ -1,0 +2,7 @@
+Fri Feb 21 15:26:39 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.2.0
+  * Support for Python 3.4 has been removed.
+  * Fix collections.abc imports for Python 3.9.
+
+---

Old:

  acme-1.1.0.tar.gz
  acme-1.1.0.tar.gz.asc

New:

  acme-1.2.0.tar.gz
  acme-1.2.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.STPD5v/_old  2020-02-26 15:02:29.472885289 +0100
+++ /var/tmp/diff_new_pack.STPD5v/_new  2020-02-26 15:02:29.484885313 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-1.1.0.tar.gz -> acme-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.1.0/PKG-INFO new/acme-1.2.0/PKG-INFO
--- old/acme-1.1.0/PKG-INFO 2020-01-14 19:41:44.0 +0100
+++ new/acme-1.2.0/PKG-INFO 2020-02-04 22:47:04.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.1.0
+Version: 1.2.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -15,13 +15,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
 Provides-Extra: docs
 Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.1.0/acme/client.py 
new/acme-1.2.0/acme/client.py
--- old/acme-1.1.0/acme/client.py   2020-01-14 19:41:31.0 +0100
+++ new/acme-1.2.0/acme/client.py   2020-02-04 22:46:57.0 +0100
@@ -942,7 +942,7 @@
 :param messages.RegistrationResource account: Account object. Required if 
you are
 planning to use .post() with acme_version=2 for anything other than
 creating a new account; may be set later after registering.
-:param josepy.JWASignature alg: Algoritm to use in signing JWS.
+:param josepy.JWASignature alg: Algorithm to use in signing JWS.
 :param bool verify_ssl: Whether to verify certificates on SSL connections.
 :param str user_agent: String to send as User-Agent header.
 :param float timeout: Timeout for requests.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.1.0/acme/messages.py 
new/acme-1.2.0/acme/messages.py
--- old/acme-1.1.0/acme/messages.py 2020-01-14 19:41:31.0 +0100
+++ new/acme-1.2.0/acme/messages.py 2020-02-04 22:46:57.0 +0100
@@ -36,7 +36,7 @@
' domain'),
 'dns': 'There was a problem with a DNS query during identifier validation',
 'dnssec': 'The server could not validate a DNSSEC signed domain',
-'incorrectResponse': 'Response recieved didn\'t match the challenge\'s 
requirements',
+'incorrectResponse': 'Response received didn\'t match the challenge\'s 
requirements',
 # deprecate invalidEmail
 'invalidEmail': 'The provided email for a registration was invalid',
 'invalidContact': 'The provided contact URI was invalid',
@@ -245,13 +245,13 @@
 try:
 return self[name.replace('_', '-')]
 except KeyError as error:
-raise AttributeError(str(error) + ': ' + name)
+raise AttributeError(str(error))
 
 def __getitem__(self, name):
 try:
 return self._jobj[self._canon_key(name)]
 except KeyError

commit python-acme for openSUSE:Factory

2020-01-21 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-01-21 21:01:47

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.26092 (New)


Package is "python-acme"

Tue Jan 21 21:01:47 2020 rev:40 rq:766003 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2020-01-03 
17:39:46.595381665 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.26092/python-acme.changes   
2020-01-21 21:02:21.700904788 +0100
@@ -1,0 +2,10 @@
+Tue Jan 21 09:45:10 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.1.0
+  * Removed the fallback introduced with 0.34.0 in acme to retry a POST-as-GET
+request as a GET request when the targeted ACME CA server seems to not 
support
+POST-as-GET requests.
+  * Support for Python 3.4 in Certbot and its ACME library is deprecated and 
will be
+removed in the next release of Certbot.
+
+---

Old:

  acme-1.0.0.tar.gz
  acme-1.0.0.tar.gz.asc

New:

  acme-1.1.0.tar.gz
  acme-1.1.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.Ssr40d/_old  2020-01-21 21:02:23.068905426 +0100
+++ /var/tmp/diff_new_pack.Ssr40d/_new  2020-01-21 21:02:23.072905428 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:1.0.0
+Version:1.1.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-1.0.0.tar.gz -> acme-1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.0.0/PKG-INFO new/acme-1.1.0/PKG-INFO
--- old/acme-1.0.0/PKG-INFO 2019-12-03 18:20:41.0 +0100
+++ new/acme-1.1.0/PKG-INFO 2020-01-14 19:41:44.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 1.0.0
+Version: 1.1.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.0.0/acme/__init__.py 
new/acme-1.1.0/acme/__init__.py
--- old/acme-1.0.0/acme/__init__.py 2019-12-03 18:20:30.0 +0100
+++ new/acme-1.1.0/acme/__init__.py 2020-01-14 19:41:31.0 +0100
@@ -13,7 +13,6 @@
 #
 # It is based on
 # 
https://github.com/requests/requests/blob/1278ecdf71a312dc2268f3bfc0aabfab3c006dcf/requests/packages.py
-
 import josepy as jose
 
 for mod in list(sys.modules):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.0.0/acme/challenges.py 
new/acme-1.1.0/acme/challenges.py
--- old/acme-1.0.0/acme/challenges.py   2019-12-03 18:20:30.0 +0100
+++ new/acme-1.1.0/acme/challenges.py   2020-01-14 19:41:31.0 +0100
@@ -54,8 +54,7 @@
 object.__setattr__(self, "jobj", jobj)
 
 def to_partial_json(self):
-# pylint: disable=no-member
-return self.jobj
+return self.jobj  # pylint: disable=no-member
 
 @classmethod
 def from_json(cls, jobj):
@@ -113,7 +112,7 @@
 :rtype: bool
 
 """
-parts = self.key_authorization.split('.')  # pylint: disable=no-member
+parts = self.key_authorization.split('.')
 if len(parts) != 2:
 logger.debug("Key authorization (%r) is not well formed",
  self.key_authorization)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-1.0.0/acme/client.py 
new/acme-1.1.0/acme/client.py
--- old/acme-1.0.0/acme/client.py   2019-12-03 18:20:30.0 +0100
+++ new/acme-1.1.0/acme/client.py   2020-01-14 19:41:31.0 +0100
@@ -5,25 +5,26 @@
 from email.utils import parsedate_tz
 import heapq
 import logging
-import time
 import re
 import sys
+import time
 
-import six
-from six.moves import http_client  # pylint: disable=import-error
 import josepy as jose
 import OpenSSL
 import requests
 from requests.adapters import HTTPAdapter
 from requests_toolbelt.adapters.source import SourceAddressAdapter
+import six
+from six.moves import http_client  # pylint: disable=import-error
 
 from acme import crypto_util
 from acme import errors
 from acme import jws
 from acme import messages
-# pylint: disable=unused-import, no-name-in-module
-from acme.magic_typing import Dict, List, Set, Text
-
+from acme.magic_typing import Dict  # pylint: disable=unused-import, 
no-name-in-module
+from acme.magic_typing import List  # pylint: disable=

commit python-acme for openSUSE:Factory

2020-01-03 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2020-01-03 17:39:29

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.6675 (New)


Package is "python-acme"

Fri Jan  3 17:39:29 2020 rev:39 rq:760670 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-11-15 
00:20:22.743948462 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.6675/python-acme.changes
2020-01-03 17:39:46.595381665 +0100
@@ -1,0 +2,7 @@
+Fri Jan  3 11:03:37 UTC 2020 - Marketa Calabkova 
+
+- update to version 1.0.0 (bsc#1160066)
+  * Deprecated attributes related to the TLS-SNI-01 challenge in
+acme.challenges and acme.standalone have been removed.
+
+---

Old:

  acme-0.40.1.tar.gz
  acme-0.40.1.tar.gz.asc

New:

  acme-1.0.0.tar.gz
  acme-1.0.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.0ohhKD/_old  2020-01-03 17:39:47.195381974 +0100
+++ /var/tmp/diff_new_pack.0ohhKD/_new  2020-01-03 17:39:47.195381974 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acme
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 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() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.40.1
+Version:1.0.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -68,15 +68,11 @@
 
 %install
 %python_install
-# remove test-data
-%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/testdata
-%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/*_test.py*
-rm -r %{buildroot}%{python3_sitelib}/%{libname}/__pycache__/*_test*
 # remove duplicates
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
 
 %check
-%pytest acme/
+%pytest tests/
 
 %files %{python_files}
 %license LICENSE.txt

++ acme-0.40.1.tar.gz -> acme-1.0.0.tar.gz ++
 7946 lines of diff (skipped)





commit python-acme for openSUSE:Factory

2019-11-14 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-11-15 00:20:17

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.26869 (New)


Package is "python-acme"

Fri Nov 15 00:20:17 2019 rev:38 rq:748663 version:0.40.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-10-31 
18:13:57.961929798 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.26869/python-acme.changes   
2019-11-15 00:20:22.743948462 +0100
@@ -1,0 +2,7 @@
+Thu Nov 14 12:00:47 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.40.1
+  * acme.standalone.BaseRequestHandlerWithLogging and 
acme.standalone.simple_tls_sni_01_server 
+have been deprecated and will be removed in a future release of the 
library.
+
+---

Old:

  acme-0.39.0.tar.gz
  acme-0.39.0.tar.gz.asc

New:

  acme-0.40.1.tar.gz
  acme-0.40.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.gZDlBG/_old  2019-11-15 00:20:23.323948261 +0100
+++ /var/tmp/diff_new_pack.gZDlBG/_new  2019-11-15 00:20:23.327948259 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acme
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.39.0
+Version:0.40.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.39.0.tar.gz -> acme-0.40.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.39.0/PKG-INFO new/acme-0.40.1/PKG-INFO
--- old/acme-0.39.0/PKG-INFO2019-10-01 21:48:48.0 +0200
+++ new/acme-0.40.1/PKG-INFO2019-11-06 03:24:55.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.39.0
+Version: 0.40.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.39.0/acme/__init__.py 
new/acme-0.40.1/acme/__init__.py
--- old/acme-0.39.0/acme/__init__.py2019-10-01 21:48:40.0 +0200
+++ new/acme-0.40.1/acme/__init__.py2019-11-06 03:24:51.0 +0100
@@ -35,7 +35,7 @@
 self.__dict__['_module'] = module
 
 def __getattr__(self, attr):
-if 'TLSSNI01' in attr:
+if 'TLSSNI01' in attr or attr == 'BaseRequestHandlerWithLogging':
 warnings.warn('{0} attribute is deprecated, and will be removed 
soon.'.format(attr),
   DeprecationWarning, stacklevel=2)
 return getattr(self._module, attr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.39.0/acme/client.py 
new/acme-0.40.1/acme/client.py
--- old/acme-0.39.0/acme/client.py  2019-10-01 21:48:40.0 +0200
+++ new/acme-0.40.1/acme/client.py  2019-11-06 03:24:51.0 +0100
@@ -136,7 +136,8 @@
 """
 body = messages.UpdateAuthorization(status='deactivated')
 response = self._post(authzr.uri, body)
-return self._authzr_from_response(response)
+return self._authzr_from_response(response,
+authzr.body.identifier, authzr.uri)
 
 def _authzr_from_response(self, response, identifier=None, uri=None):
 authzr = messages.AuthorizationResource(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.39.0/acme/standalone.py 
new/acme-0.40.1/acme/standalone.py
--- old/acme-0.39.0/acme/standalone.py  2019-10-01 21:48:40.0 +0200
+++ new/acme-0.40.1/acme/standalone.py  2019-11-06 03:24:51.0 +0100
@@ -7,6 +7,7 @@
 import socket
 import sys
 import threading
+import warnings
 
 from six.moves import BaseHTTPServer  # type: ignore  # pylint: 
disable=import-error
 from six.moves import http_client  # pylint: disable=import-error
@@ -267,6 +268,9 @@
 
 def simple_tls_sni_01_server(cli_args, forever=True):
 """Run simple standalone TLSSNI01 server."""
+warnings.warn(
+'simple_tls_sni_01_server is deprecated and will be removed soon.',
+DeprecationWarning, stacklevel=2)
 logging.basicConfig(level=logging.DEBUG)
 
 parser = argparse.ArgumentParser()
@@ -299,7 +303,3 @@
 
 #

commit python-acme for openSUSE:Factory

2019-10-31 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-10-31 18:13:55

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.2990 (New)


Package is "python-acme"

Thu Oct 31 18:13:55 2019 rev:37 rq:739154 version:0.39.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-10-02 
14:56:05.143256472 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.2990/python-acme.changes
2019-10-31 18:13:57.961929798 +0100
@@ -1,0 +2,5 @@
+Thu Oct 17 11:20:32 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.fUCSHW/_old  2019-10-31 18:13:58.745930619 +0100
+++ /var/tmp/diff_new_pack.fUCSHW/_new  2019-10-31 18:13:58.745930619 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/certbot/certbot
 Source0:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
 Source1:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc






commit python-acme for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-10-02 14:56:02

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.2352 (New)


Package is "python-acme"

Wed Oct  2 14:56:02 2019 rev:36 rq:734564 version:0.39.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-09-13 
14:59:00.485278989 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.2352/python-acme.changes
2019-10-02 14:56:05.143256472 +0200
@@ -1,0 +2,6 @@
+Wed Oct  2 10:07:04 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.39.0
+  * Support for Python 3.8 was added to Certbot and all of its components.
+
+---

Old:

  acme-0.38.0.tar.gz
  acme-0.38.0.tar.gz.asc

New:

  acme-0.39.0.tar.gz
  acme-0.39.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.eLscWO/_old  2019-10-02 14:56:05.655255129 +0200
+++ /var/tmp/diff_new_pack.eLscWO/_new  2019-10-02 14:56:05.659255118 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.38.0
+Version:0.39.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.38.0.tar.gz -> acme-0.39.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.38.0/PKG-INFO new/acme-0.39.0/PKG-INFO
--- old/acme-0.38.0/PKG-INFO2019-09-03 21:42:42.0 +0200
+++ new/acme-0.39.0/PKG-INFO2019-10-01 21:48:48.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.38.0
+Version: 0.39.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -19,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.38.0/acme.egg-info/PKG-INFO 
new/acme-0.39.0/acme.egg-info/PKG-INFO
--- old/acme-0.38.0/acme.egg-info/PKG-INFO  2019-09-03 21:42:42.0 
+0200
+++ new/acme-0.39.0/acme.egg-info/PKG-INFO  2019-10-01 21:48:48.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.38.0
+Version: 0.39.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -19,6 +19,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.38.0/setup.py new/acme-0.39.0/setup.py
--- old/acme-0.38.0/setup.py2019-09-03 21:42:36.0 +0200
+++ new/acme-0.39.0/setup.py2019-10-01 21:48:41.0 +0200
@@ -3,7 +3,7 @@
 from setuptools.command.test import test as TestCommand
 import sys
 
-version = '0.38.0'
+version = '0.39.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [
@@ -73,6 +73,7 @@
 'Programming Language :: Python :: 3.5',
 'Programming Language :: Python :: 3.6',
 'Programming Language :: Python :: 3.7',
+'Programming Language :: Python :: 3.8',
 'Topic :: Internet :: WWW/HTTP',
 'Topic :: Security',
 ],





commit python-acme for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-09-13 14:59:00

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.7948 (New)


Package is "python-acme"

Fri Sep 13 14:59:00 2019 rev:35 rq:730160 version:0.38.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-08-28 
16:03:49.626779350 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.7948/python-acme.changes
2019-09-13 14:59:00.485278989 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 12:28:33 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.38.0
+  * sync with main certbot package
+
+---

Old:

  acme-0.37.2.tar.gz
  acme-0.37.2.tar.gz.asc

New:

  acme-0.38.0.tar.gz
  acme-0.38.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.QVzbJl/_old  2019-09-13 14:59:00.925279008 +0200
+++ /var/tmp/diff_new_pack.QVzbJl/_new  2019-09-13 14:59:00.929279008 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.37.2
+Version:0.38.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.37.2.tar.gz -> acme-0.38.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.37.2/PKG-INFO new/acme-0.38.0/PKG-INFO
--- old/acme-0.37.2/PKG-INFO2019-08-21 23:48:47.0 +0200
+++ new/acme-0.38.0/PKG-INFO2019-09-03 21:42:42.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.37.2
+Version: 0.38.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.37.2/acme.egg-info/PKG-INFO 
new/acme-0.38.0/acme.egg-info/PKG-INFO
--- old/acme-0.37.2/acme.egg-info/PKG-INFO  2019-08-21 23:48:47.0 
+0200
+++ new/acme-0.38.0/acme.egg-info/PKG-INFO  2019-09-03 21:42:42.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.37.2
+Version: 0.38.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.37.2/setup.py new/acme-0.38.0/setup.py
--- old/acme-0.37.2/setup.py2019-08-21 23:48:41.0 +0200
+++ new/acme-0.38.0/setup.py2019-09-03 21:42:36.0 +0200
@@ -3,7 +3,7 @@
 from setuptools.command.test import test as TestCommand
 import sys
 
-version = '0.37.2'
+version = '0.38.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2019-08-28 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-08-28 16:03:41

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.7948 (New)


Package is "python-acme"

Wed Aug 28 16:03:41 2019 rev:34 rq:726139 version:0.37.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-07-29 
17:27:33.490276296 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.7948/python-acme.changes
2019-08-28 16:03:49.626779350 +0200
@@ -1,0 +2,6 @@
+Mon Aug 26 10:39:42 UTC 2019 - Marketa Calabkova 
+
+- update to version 0.37.2
+  * acme: Authz deactivation added to acme module.
+
+---

Old:

  acme-0.36.0.tar.gz
  acme-0.36.0.tar.gz.asc

New:

  acme-0.37.2.tar.gz
  acme-0.37.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.xktTWA/_old  2019-08-28 16:03:50.826779170 +0200
+++ /var/tmp/diff_new_pack.xktTWA/_new  2019-08-28 16:03:50.830779169 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.36.0
+Version:0.37.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.36.0.tar.gz -> acme-0.37.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.36.0/PKG-INFO new/acme-0.37.2/PKG-INFO
--- old/acme-0.36.0/PKG-INFO2019-07-11 21:12:30.0 +0200
+++ new/acme-0.37.2/PKG-INFO2019-08-21 23:48:47.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.36.0
+Version: 0.37.2
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.36.0/acme/client.py 
new/acme-0.37.2/acme/client.py
--- old/acme-0.36.0/acme/client.py  2019-07-11 21:12:24.0 +0200
+++ new/acme-0.37.2/acme/client.py  2019-08-21 23:48:40.0 +0200
@@ -123,6 +123,21 @@
 """
 return self.update_registration(regr, update={'status': 'deactivated'})
 
+def deactivate_authorization(self, authzr):
+# type: (messages.AuthorizationResource) -> 
messages.AuthorizationResource
+"""Deactivate authorization.
+
+:param messages.AuthorizationResource authzr: The Authorization 
resource
+to be deactivated.
+
+:returns: The Authorization resource that was deactivated.
+:rtype: `.AuthorizationResource`
+
+"""
+body = messages.UpdateAuthorization(status='deactivated')
+response = self._post(authzr.uri, body)
+return self._authzr_from_response(response)
+
 def _authzr_from_response(self, response, identifier=None, uri=None):
 authzr = messages.AuthorizationResource(
 body=messages.Authorization.from_json(response.json()),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.36.0/acme/client_test.py 
new/acme-0.37.2/acme/client_test.py
--- old/acme-0.36.0/acme/client_test.py 2019-07-11 21:12:24.0 +0200
+++ new/acme-0.37.2/acme/client_test.py 2019-08-21 23:48:40.0 +0200
@@ -637,6 +637,14 @@
 errors.PollError, self.client.poll_and_request_issuance,
 csr, authzrs, mintime=mintime, max_attempts=2)
 
+def test_deactivate_authorization(self):
+authzb = self.authzr.body.update(status=messages.STATUS_DEACTIVATED)
+self.response.json.return_value = authzb.to_json()
+authzr = self.client.deactivate_authorization(self.authzr)
+self.assertEqual(authzb, authzr.body)
+self.assertEqual(self.client.net.post.call_count, 1)
+self.assertTrue(self.authzr.uri in self.net.post.call_args_list[0][0])
+
 def test_check_cert(self):
 self.response.headers['Location'] = self.certr.uri
 self.response.content = CERT_DER
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.36.0/acme/messages.py 
new/acme-0.37.2/acme/messages.py
--- old/acme-0.36.0/acme/messages.py2019-07-11 21:12:24.0 +0200
+++ new/acme-0.37.2/acme/messages.py2019-08-21 23:48:40.0 +0200
@@ -168,6 +168,7 @@
 STATUS_INVALID = Status('invalid')
 STATUS_REVOKED = Status('revoked')
 STATUS_READY = Status('ready')
+STATUS_DEACTIVATED = Status('deactivated')
 
 
 class IdentifierType(_Constant):
@@ -471,7 +472,7 @@
 :ivar datetime.datetime 

commit python-acme for openSUSE:Factory

2019-07-29 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-07-29 17:27:32

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.4126 (New)


Package is "python-acme"

Mon Jul 29 17:27:32 2019 rev:33 rq:718483 version:0.36.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-07-18 
15:22:27.240122283 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.4126/python-acme.changes
2019-07-29 17:27:33.490276296 +0200
@@ -4 +4 @@
-- update to version 0.36.0
+- update to version 0.36.0 (bsc#1141928)



Other differences:
--





commit python-acme for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-06-18 14:59:30

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.4811 (New)


Package is "python-acme"

Tue Jun 18 14:59:30 2019 rev:31 rq:710518 version:0.35.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-06-03 
18:58:27.784360027 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.4811/python-acme.changes
2019-06-18 14:59:30.609293165 +0200
@@ -1,0 +2,6 @@
+Tue Jun 18 09:35:25 UTC 2019 - Marketa Calabkova 
+
+- update to 0.35.1
+  * sync with main certbot package
+
+---

Old:

  acme-0.34.2.tar.gz
  acme-0.34.2.tar.gz.asc

New:

  acme-0.35.1.tar.gz
  acme-0.35.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.yIL4vr/_old  2019-06-18 14:59:31.129292908 +0200
+++ /var/tmp/diff_new_pack.yIL4vr/_new  2019-06-18 14:59:31.129292908 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.34.2
+Version:0.35.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.34.2.tar.gz -> acme-0.35.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.34.2/PKG-INFO new/acme-0.35.1/PKG-INFO
--- old/acme-0.34.2/PKG-INFO2019-05-07 21:17:38.0 +0200
+++ new/acme-0.35.1/PKG-INFO2019-06-11 00:02:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.34.2
+Version: 0.35.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.34.2/acme.egg-info/PKG-INFO 
new/acme-0.35.1/acme.egg-info/PKG-INFO
--- old/acme-0.34.2/acme.egg-info/PKG-INFO  2019-05-07 21:17:38.0 
+0200
+++ new/acme-0.35.1/acme.egg-info/PKG-INFO  2019-06-11 00:02:16.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.34.2
+Version: 0.35.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.34.2/setup.py new/acme-0.35.1/setup.py
--- old/acme-0.34.2/setup.py2019-05-07 21:17:33.0 +0200
+++ new/acme-0.35.1/setup.py2019-06-11 00:02:10.0 +0200
@@ -3,7 +3,7 @@
 from setuptools.command.test import test as TestCommand
 import sys
 
-version = '0.34.2'
+version = '0.35.1'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2019-06-03 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-06-03 18:58:21

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.5148 (New)


Package is "python-acme"

Mon Jun  3 18:58:21 2019 rev:30 rq:707190 version:0.34.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-06-03 
18:49:58.996545150 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.5148/python-acme.changes
2019-06-03 18:58:27.784360027 +0200
@@ -1,0 +2,5 @@
+Mon May 27 13:53:06 UTC 2019 - Tomáš Chvátal 
+
+- Use the %pytest macro
+
+---



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.JOq3t1/_old  2019-06-03 18:58:28.876359622 +0200
+++ /var/tmp/diff_new_pack.JOq3t1/_new  2019-06-03 18:58:28.876359622 +0200
@@ -52,6 +52,9 @@
 Requires:   python-requests-toolbelt >= 0.3.0
 Requires:   python-six >= 1.9.0
 BuildArch:  noarch
+%if %{?suse_version} < 1500
+BuildRequires:  %{python_module devel}
+%endif
 %python_subpackages
 
 %description
@@ -67,15 +70,14 @@
 %install
 %python_install
 # remove test-data
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/testdata
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/*_test.py*
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/**/*_test.py*
-%python_expand rm -rf 
%{buildroot}%{$python_sitelib}/%{libname}/__pycache__/*_test*
+%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/testdata
+%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/*_test.py*
+rm -r %{buildroot}%{python3_sitelib}/%{libname}/__pycache__/*_test*
 # remove duplicates
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_version} acme/
+%pytest acme/
 
 %files %{python_files}
 %license LICENSE.txt






commit python-acme for openSUSE:Factory

2019-06-03 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-06-03 18:49:56

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.5148 (New)


Package is "python-acme"

Mon Jun  3 18:49:56 2019 rev:29 rq:705621 version:0.34.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-03-19 
09:59:26.960077495 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.5148/python-acme.changes
2019-06-03 18:49:58.996545150 +0200
@@ -1,0 +2,6 @@
+Sat May 18 23:13:13 UTC 2019 - Dirk Mueller 
+
+- update to 0.34.2:
+  * sync with main certbot package
+
+---

Old:

  acme-0.32.0.tar.gz
  acme-0.32.0.tar.gz.asc

New:

  acme-0.34.2.tar.gz
  acme-0.34.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.BZfc92/_old  2019-06-03 18:49:59.960544819 +0200
+++ /var/tmp/diff_new_pack.BZfc92/_new  2019-06-03 18:49:59.960544819 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.32.0
+Version:0.34.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.32.0.tar.gz -> acme-0.34.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.32.0/PKG-INFO new/acme-0.34.2/PKG-INFO
--- old/acme-0.32.0/PKG-INFO2019-03-06 21:18:19.0 +0100
+++ new/acme-0.34.2/PKG-INFO2019-05-07 21:17:38.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.32.0
+Version: 0.34.2
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.32.0/acme/__init__.py 
new/acme-0.34.2/acme/__init__.py
--- old/acme-0.32.0/acme/__init__.py2019-03-06 21:18:08.0 +0100
+++ new/acme-0.34.2/acme/__init__.py2019-05-07 21:17:32.0 +0200
@@ -6,6 +6,7 @@
 
 """
 import sys
+import warnings
 
 # This code exists to keep backwards compatibility with people using acme.jose
 # before it became the standalone josepy package.
@@ -20,3 +21,30 @@
 # preserved (acme.jose.* is josepy.*)
 if mod == 'josepy' or mod.startswith('josepy.'):
 sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = 
sys.modules[mod]
+
+
+# This class takes a similar approach to the cryptography project to deprecate 
attributes
+# in public modules. See the _ModuleWithDeprecation class here:
+# 
https://github.com/pyca/cryptography/blob/91105952739442a74582d3e62b3d2111365b0dc7/src/cryptography/utils.py#L129
+class _TLSSNI01DeprecationModule(object):
+"""
+Internal class delegating to a module, and displaying warnings when
+attributes related to TLS-SNI-01 are accessed.
+"""
+def __init__(self, module):
+self.__dict__['_module'] = module
+
+def __getattr__(self, attr):
+if 'TLSSNI01' in attr:
+warnings.warn('{0} attribute is deprecated, and will be removed 
soon.'.format(attr),
+  DeprecationWarning, stacklevel=2)
+return getattr(self._module, attr)
+
+def __setattr__(self, attr, value):  # pragma: no cover
+setattr(self._module, attr, value)
+
+def __delattr__(self, attr):  # pragma: no cover
+delattr(self._module, attr)
+
+def __dir__(self):  # pragma: no cover
+return ['_module'] + dir(self._module)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.32.0/acme/challenges.py 
new/acme-0.34.2/acme/challenges.py
--- old/acme-0.32.0/acme/challenges.py  2019-03-06 21:18:08.0 +0100
+++ new/acme-0.34.2/acme/challenges.py  2019-05-07 21:17:32.0 +0200
@@ -4,7 +4,7 @@
 import hashlib
 import logging
 import socket
-import warnings
+import sys
 
 from cryptography.hazmat.primitives import hashes  # type: ignore
 import josepy as jose
@@ -15,15 +15,13 @@
 from acme import errors
 from acme import crypto_util
 from acme import fields
+from acme import _TLSSNI01DeprecationModule
 
 logger = logging.getLogger(__name__)
 
 
-# pylint: disable=too-few-public-methods
-
-
 class Challenge(jose.TypedJSONObjectWithFields):
-# _fields_to_partial_json | pylint: disable=abstract-method
+# _fields_to_partial_json
 """ACME challenge."""
 TYPES = {}  # type: dict
 
@@ -37,7 +35,7 @@
 
 
 class ChallengeResponse(jose.TypedJSONObjectWithFields):
-# _fields_to_par

commit python-acme for openSUSE:Factory

2019-03-19 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-03-19 09:59:25

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.28833 (New)


Package is "python-acme"

Tue Mar 19 09:59:25 2019 rev:28 rq:685977 version:0.32.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-02-11 
21:26:17.327051369 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.28833/python-acme.changes   
2019-03-19 09:59:26.960077495 +0100
@@ -1,0 +2,18 @@
+Mon Mar 18 08:17:42 UTC 2019 - Marketa Calabkova 
+
+- update to 0.32.0
+  * Certbot and its acme module now depend on josepy>=1.1.0.
+  * An ACME CA server may return a "Retry-After" HTTP header on 
+authorization polling, as specified in the ACME protocol, to 
+indicate when the next polling should occur. Certbot now reads 
+this header if set and respect its value.
+  * The acme module avoids sending the keyAuthorization field in 
+the JWS payload when responding to a challenge as the field is 
+not included in the current ACME protocol. To ease the migration 
+path for ACME CA servers, Certbot and its acme module will first 
+try the request without the keyAuthorization field but will 
+temporarily retry the request with the field included if a 
+malformed error is received. This fallback will be removed in 
+version 0.34.0.
+
+---

Old:

  acme-0.31.0.tar.gz
  acme-0.31.0.tar.gz.asc

New:

  acme-0.32.0.tar.gz
  acme-0.32.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.TvNlHy/_old  2019-03-19 09:59:28.508076873 +0100
+++ /var/tmp/diff_new_pack.TvNlHy/_new  2019-03-19 09:59:28.536076862 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.31.0
+Version:0.32.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -28,28 +28,27 @@
 Source0:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
 Source1:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc
 Source2:%{name}.keyring
-BuildRequires:  %{python_module cryptography >= 0.8}
-BuildRequires:  %{python_module dnspython >= 1.12}
-BuildRequires:  %{python_module josepy >= 1.0.0}
+BuildRequires:  %{python_module cryptography >= 1.2.3}
+BuildRequires:  %{python_module josepy >= 1.1.0}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pyOpenSSL >= 0.13}
+BuildRequires:  %{python_module pyOpenSSL >= 0.13.1}
 BuildRequires:  %{python_module pyRFC3339}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
-BuildRequires:  %{python_module requests >= 2.4.1}
+BuildRequires:  %{python_module requests >= 2.6.0}
 BuildRequires:  %{python_module requests-toolbelt >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
 BuildRequires:  %{python_module tox}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-cryptography >= 0.8
-Requires:   python-josepy >= 1.0.0
+Requires:   python-cryptography >= 1.2.3
+Requires:   python-josepy >= 1.1.0
 Requires:   python-ndg-httpsclient
-Requires:   python-pyOpenSSL >= 0.13
+Requires:   python-pyOpenSSL >= 0.13.1
 Requires:   python-pyRFC3339
 Requires:   python-pytz
-Requires:   python-requests >= 2.4.1
+Requires:   python-requests >= 2.6.0
 Requires:   python-requests-toolbelt >= 0.3.0
 Requires:   python-six >= 1.9.0
 BuildArch:  noarch

++ acme-0.31.0.tar.gz -> acme-0.32.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.31.0/PKG-INFO new/acme-0.32.0/PKG-INFO
--- old/acme-0.31.0/PKG-INFO2019-02-07 22:20:40.0 +0100
+++ new/acme-0.32.0/PKG-INFO2019-03-06 21:18:19.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.31.0
+Version: 0.32.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.31.0/acme/challenges.py 
new/acme-0.32.0/acme/challenges.py
--- old/acme-0.31.0/acme/challenges.py  2019-02-07 22:20:29.0 +0100
+++ new/acme-0.32.0/acme/challenges.py  2019-03-06 21:18:08.0 +0100
@@ -108,6 +108,10 @@
 key_authori

commit python-acme for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-02-11 21:26:14

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.28833 (New)


Package is "python-acme"

Mon Feb 11 21:26:14 2019 rev:27 rq:673115 version:0.31.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2019-02-02 
21:48:48.980003321 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.28833/python-acme.changes   
2019-02-11 21:26:17.327051369 +0100
@@ -1,0 +2,15 @@
+Fri Feb  8 10:27:51 UTC 2019 - Marketa Calabkova 
+
+- update to 0.31.0
+  * Support for initiating (but not solving end-to-end) TLS-ALPN-01 
+challenges with the acme module.
+  * Fixed accessing josepy contents through acme.jose when the full 
+acme.jose path is used.
+  * Added the update_account subcommand for account management commands.
+
+---
+Tue Jan 29 12:02:18 UTC 2019 - Tomáš Chvátal 
+
+- Drop pytest-xdist dependency as it is not really needed
+
+---

Old:

  acme-0.30.2.tar.gz
  acme-0.30.2.tar.gz.asc

New:

  acme-0.31.0.tar.gz
  acme-0.31.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.QQH9Fg/_old  2019-02-11 21:26:18.223050886 +0100
+++ /var/tmp/diff_new_pack.QQH9Fg/_new  2019-02-11 21:26:18.239050877 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.30.2
+Version:0.31.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -34,7 +34,6 @@
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pyOpenSSL >= 0.13}
 BuildRequires:  %{python_module pyRFC3339}
-BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.4.1}

++ acme-0.30.2.tar.gz -> acme-0.31.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.30.2/PKG-INFO new/acme-0.31.0/PKG-INFO
--- old/acme-0.30.2/PKG-INFO2019-01-25 21:15:55.0 +0100
+++ new/acme-0.31.0/PKG-INFO2019-02-07 22:20:40.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.30.2
+Version: 0.31.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.30.2/acme/__init__.py 
new/acme-0.31.0/acme/__init__.py
--- old/acme-0.30.2/acme/__init__.py2019-01-25 21:15:41.0 +0100
+++ new/acme-0.31.0/acme/__init__.py2019-02-07 22:20:29.0 +0100
@@ -1,25 +1,20 @@
 """ACME protocol implementation.
 
-This module is an implementation of the `ACME protocol`_. Latest
-supported version: `draft-ietf-acme-01`_.
-
+This module is an implementation of the `ACME protocol`_.
 
 .. _`ACME protocol`: https://ietf-wg-acme.github.io/acme
 
-.. _`draft-ietf-acme-01`:
-  https://github.com/ietf-wg-acme/acme/tree/draft-ietf-acme-acme-01
-
 """
 import sys
 
-import josepy
-
 # This code exists to keep backwards compatibility with people using acme.jose
 # before it became the standalone josepy package.
 #
 # It is based on
 # 
https://github.com/requests/requests/blob/1278ecdf71a312dc2268f3bfc0aabfab3c006dcf/requests/packages.py
 
+import josepy as jose
+
 for mod in list(sys.modules):
 # This traversal is apparently necessary such that the identities are
 # preserved (acme.jose.* is josepy.*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.30.2/acme/challenges.py 
new/acme-0.31.0/acme/challenges.py
--- old/acme-0.30.2/acme/challenges.py  2019-01-25 21:15:41.0 +0100
+++ new/acme-0.31.0/acme/challenges.py  2019-02-07 22:20:29.0 +0100
@@ -513,6 +513,17 @@
 return self.response(account_key).gen_cert(key=kwargs.get('cert_key'))
 
 
+@ChallengeResponse.register
+class TLSALPN01Response(KeyAuthorizationChallengeResponse):
+"""ACME TLS-ALPN-01 challenge response.
+
+This class only allows initiating a TLS-ALPN-01 challenge returned from the
+CA. Full support for responding to TLS-ALPN-01 challenges by generating and
+serving the expected response certificate is not currently provided.
+"""
+typ = "tls-alpn-01"
+
+
 @Challenge.register  # pylint: disable=too-many-ancestors
 class TLSALPN01(KeyAutho

commit python-acme for openSUSE:Factory

2019-02-02 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2019-02-02 21:48:48

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.28833 (New)


Package is "python-acme"

Sat Feb  2 21:48:48 2019 rev:26 rq:669787 version:0.30.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-12-18 
14:58:16.590261822 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.28833/python-acme.changes   
2019-02-02 21:48:48.980003321 +0100
@@ -1,0 +2,6 @@
+Tue Jan 29 11:35:43 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.30.2:
+  * Remove josepy helpers that are no longer needed
+
+---

Old:

  acme-0.29.1.tar.gz
  acme-0.29.1.tar.gz.asc

New:

  acme-0.30.2.tar.gz
  acme-0.30.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.w7AUn2/_old  2019-02-02 21:48:49.488002881 +0100
+++ /var/tmp/diff_new_pack.w7AUn2/_new  2019-02-02 21:48:49.488002881 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acme
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.29.1
+Version:0.30.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.29.1.tar.gz -> acme-0.30.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.29.1/PKG-INFO new/acme-0.30.2/PKG-INFO
--- old/acme-0.29.1/PKG-INFO2018-12-06 00:48:05.0 +0100
+++ new/acme-0.30.2/PKG-INFO2019-01-25 21:15:55.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.29.1
+Version: 0.30.2
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.29.1/acme/__init__.py 
new/acme-0.30.2/acme/__init__.py
--- old/acme-0.29.1/acme/__init__.py2018-12-06 00:47:58.0 +0100
+++ new/acme-0.30.2/acme/__init__.py2019-01-25 21:15:41.0 +0100
@@ -10,3 +10,18 @@
   https://github.com/ietf-wg-acme/acme/tree/draft-ietf-acme-acme-01
 
 """
+import sys
+
+import josepy
+
+# This code exists to keep backwards compatibility with people using acme.jose
+# before it became the standalone josepy package.
+#
+# It is based on
+# 
https://github.com/requests/requests/blob/1278ecdf71a312dc2268f3bfc0aabfab3c006dcf/requests/packages.py
+
+for mod in list(sys.modules):
+# This traversal is apparently necessary such that the identities are
+# preserved (acme.jose.* is josepy.*)
+if mod == 'josepy' or mod.startswith('josepy.'):
+sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = 
sys.modules[mod]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.29.1/acme/jose_test.py 
new/acme-0.30.2/acme/jose_test.py
--- old/acme-0.29.1/acme/jose_test.py   1970-01-01 01:00:00.0 +0100
+++ new/acme-0.30.2/acme/jose_test.py   2019-01-25 21:15:41.0 +0100
@@ -0,0 +1,43 @@
+"""Tests for acme.jose shim."""
+import importlib
+import unittest
+
+class JoseTest(unittest.TestCase):
+"""Tests for acme.jose shim."""
+
+def _test_it(self, submodule, attribute):
+if submodule:
+acme_jose_path = 'acme.jose.' + submodule
+josepy_path = 'josepy.' + submodule
+else:
+acme_jose_path = 'acme.jose'
+josepy_path = 'josepy'
+acme_jose = importlib.import_module(acme_jose_path)
+josepy = importlib.import_module(josepy_path)
+
+self.assertIs(acme_jose, josepy)
+self.assertIs(getattr(acme_jose, attribute), getattr(josepy, 
attribute))
+
+def test_top_level(self):
+self._test_it('', 'RS512')
+
+def test_submodules(self):
+# This test ensures that the modules in josepy that were
+# available at the time it was moved into its own package are
+# available under acme.jose. Backwards compatibility with new
+# modules or testing code is not maintained.
+mods_and_attrs = [('b64', 'b64decode',),
+  ('errors', 'Error',),
+  ('interfaces', 'JSONDeSerializab

commit python-acme for openSUSE:Factory

2018-12-18 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-12-18 14:57:50

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new.28833 (New)


Package is "python-acme"

Tue Dec 18 14:57:50 2018 rev:25 rq:658303 version:0.29.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-11-18 
23:33:18.069401286 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new.28833/python-acme.changes   
2018-12-18 14:58:16.590261822 +0100
@@ -1,0 +2,23 @@
+Sat Dec 15 07:02:55 UTC 2018 - Thomas Bechtold 
+
+- update to 0.29.1:
+  * Release 0.29.1
+  * Release 0.29.0
+  * WIP External Account Binding (#6059)
+  * Implement POST-as-GET requests (#6522)
+  * ignore erroneously no-member lint error
+  * Revert acme/acme/client.py
+  * Bump version to 0.29.0
+  * remove unused six imports
+  * Remove module-level ignore::ResourceWarnings
+  * bring requests back down to 2.4.1 in setup and oldest constraints
+  * Requests no longer vendorizes urllib3
+  * Use a newer version of requests because of the upcoming Callable import
+Deprecation in Python 3.8 that warns in Python 3.7
+  * Cover is run on 2.7, so mark 3-only lines as no cover
+  * Ignore ResourceWarnings in various modules in a 2-compatible way.
+  * ignore ResourceWarnings in acme tests
+  * s/assertEquals/assertEqual
+- Adjust Requires
+
+---

Old:

  acme-0.28.0.tar.gz
  acme-0.28.0.tar.gz.asc

New:

  acme-0.29.1.tar.gz
  acme-0.29.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.7DSWPl/_old  2018-12-18 14:58:17.166260952 +0100
+++ /var/tmp/diff_new_pack.7DSWPl/_new  2018-12-18 14:58:17.166260952 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.28.0
+Version:0.29.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -45,7 +45,6 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-cryptography >= 0.8
-Requires:   python-dnspython >= 1.12
 Requires:   python-josepy >= 1.0.0
 Requires:   python-ndg-httpsclient
 Requires:   python-pyOpenSSL >= 0.13

++ acme-0.28.0.tar.gz -> acme-0.29.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.28.0/PKG-INFO new/acme-0.29.1/PKG-INFO
--- old/acme-0.28.0/PKG-INFO2018-11-07 22:15:05.0 +0100
+++ new/acme-0.29.1/PKG-INFO2018-12-06 00:48:05.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.28.0
+Version: 0.29.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.28.0/acme/client.py 
new/acme-0.29.1/acme/client.py
--- old/acme-0.28.0/acme/client.py  2018-11-07 22:14:56.0 +0100
+++ new/acme-0.29.1/acme/client.py  2018-12-06 00:47:58.0 +0100
@@ -33,6 +33,7 @@
 # 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning
 if sys.version_info < (2, 7, 9):  # pragma: no cover
 try:
+# pylint: disable=no-member
 requests.packages.urllib3.contrib.pyopenssl.inject_into_urllib3()  # 
type: ignore
 except AttributeError:
 import urllib3.contrib.pyopenssl  # pylint: disable=import-error
@@ -199,22 +200,6 @@
 
 return datetime.datetime.now() + datetime.timedelta(seconds=seconds)
 
-def poll(self, authzr):
-"""Poll Authorization Resource for status.
-
-:param authzr: Authorization Resource
-:type authzr: `.AuthorizationResource`
-
-:returns: Updated Authorization Resource and HTTP response.
-
-:rtype: (`.AuthorizationResource`, `requests.Response`)
-
-"""
-response = self.net.get(authzr.uri)
-updated_authzr = self._authzr_from_response(
-response, authzr.body.identifier, authzr.uri)
-return updated_authzr, response
-
 def _revoke(self, cert, rsn, url):
 """Revoke certificate.
 
@@ -236,6 +221,7 @@
 raise errors.ClientError(
 'Successful revocation must return HTTP OK status')
 
+
 class Client(ClientBase):
 """ACME client for a v1 API.
 
@@ -388,6 +374,22 @@
 body=jose.ComparableX509(OpenSSL.crypto.load_certificate(
 OpenSSL.crypto.FILETYPE_ASN1, response.content)))
 
+def poll(self, authzr):
+  

commit python-acme for openSUSE:Factory

2018-11-18 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-11-18 23:33:16

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Sun Nov 18 23:33:16 2018 rev:24 rq:649947 version:0.28.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-09-15 
15:41:13.508789743 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-11-18 23:33:18.069401286 +0100
@@ -1,0 +2,8 @@
+Fri Nov 16 16:48:27 UTC 2018 - Marketa Calabkova 
+
+- update to version 0.28.0
+  * Use the ACMEv2 newNonce endpoint when a new nonce is needed, and 
+newNonce is available in the directory.
+  * Warn when using deprecated acme.challenges.TLSSNI01
+
+---

Old:

  acme-0.27.1.tar.gz
  acme-0.27.1.tar.gz.asc

New:

  acme-0.28.0.tar.gz
  acme-0.28.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.WUQEi7/_old  2018-11-18 23:33:20.077398876 +0100
+++ /var/tmp/diff_new_pack.WUQEi7/_new  2018-11-18 23:33:20.077398876 +0100
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define libname acme
 Name:   python-%{libname}
-Version:0.27.1
+Version:0.28.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -34,12 +34,14 @@
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pyOpenSSL >= 0.13}
 BuildRequires:  %{python_module pyRFC3339}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.4.1}
 BuildRequires:  %{python_module requests-toolbelt >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
+BuildRequires:  %{python_module tox}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-cryptography >= 0.8

++ acme-0.27.1.tar.gz -> acme-0.28.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.27.1/PKG-INFO new/acme-0.28.0/PKG-INFO
--- old/acme-0.27.1/PKG-INFO2018-09-07 01:13:37.0 +0200
+++ new/acme-0.28.0/PKG-INFO2018-11-07 22:15:05.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.27.1
+Version: 0.28.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.27.1/acme/challenges.py 
new/acme-0.28.0/acme/challenges.py
--- old/acme-0.27.1/acme/challenges.py  2018-09-07 01:13:29.0 +0200
+++ new/acme-0.28.0/acme/challenges.py  2018-11-07 22:14:56.0 +0100
@@ -4,6 +4,7 @@
 import hashlib
 import logging
 import socket
+import warnings
 
 from cryptography.hazmat.primitives import hashes  # type: ignore
 import josepy as jose
@@ -493,6 +494,11 @@
 # boulder#962, ietf-wg-acme#22
 #n = jose.Field("n", encoder=int, decoder=int)
 
+def __init__(self, *args, **kwargs):
+warnings.warn("TLS-SNI-01 is deprecated, and will stop working soon.",
+DeprecationWarning, stacklevel=2)
+super(TLSSNI01, self).__init__(*args, **kwargs)
+
 def validation(self, account_key, **kwargs):
 """Generate validation.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.27.1/acme/challenges_test.py 
new/acme-0.28.0/acme/challenges_test.py
--- old/acme-0.27.1/acme/challenges_test.py 2018-09-07 01:13:29.0 
+0200
+++ new/acme-0.28.0/acme/challenges_test.py 2018-11-07 22:14:56.0 
+0100
@@ -1,5 +1,6 @@
 """Tests for acme.challenges."""
 import unittest
+import warnings
 
 import josepy as jose
 import mock
@@ -360,20 +361,29 @@
 class TLSSNI01Test(unittest.TestCase):
 
 def setUp(self):
-from acme.challenges import TLSSNI01
-self.msg = TLSSNI01(
-token=jose.b64decode('a82d5ff8ef740d12881f6d3c2277ab2e'))
 self.jmsg = {
 'type': 'tls-sni-01',
 'token': 'a82d5ff8ef740d12881f6d3c2277ab2e',
 }
 
+def _msg(self):
+from acme.challenges import TLSSNI01
+with 

commit python-acme for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-09-04 22:57:58

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Tue Sep  4 22:57:58 2018 rev:22 rq:633009 version:0.26.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-07-27 
10:56:05.877630017 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-09-04 22:58:09.189406989 +0200
@@ -1,0 +2,6 @@
+Tue Aug 28 12:06:22 UTC 2018 - tchva...@suse.com
+
+- Reflect reality in the dependencies
+- Run the tests
+
+---



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.JqyOBP/_old  2018-09-04 22:58:09.673408640 +0200
+++ /var/tmp/diff_new_pack.JqyOBP/_new  2018-09-04 22:58:09.673408640 +0200
@@ -17,82 +17,53 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 %define libname acme
-
 Name:   python-%{libname}
 Version:0.26.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/certbot/certbot
+URL:https://github.com/certbot/certbot
 Source0:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
 Source1:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc
 Source2:%{name}.keyring
-BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module cryptography >= 0.8}
-BuildRequires:  %{python_module devel >= 2.7}
 BuildRequires:  %{python_module dnspython >= 1.12}
 BuildRequires:  %{python_module josepy >= 1.0.0}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module ndg-httpsclient}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pyOpenSSL >= 0.13}
 BuildRequires:  %{python_module pyRFC3339}
-BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
-BuildRequires:  %{python_module requests >= 2.10}
+BuildRequires:  %{python_module requests >= 2.4.1}
 BuildRequires:  %{python_module requests-toolbelt >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
-BuildRequires:  %{python_module sphinx_rtd_theme}
-BuildRequires:  %{python_module sphinxcontrib-programoutput}
-BuildRequires:  %{python_module tox}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Werkzeug
 Requires:   python-cryptography >= 0.8
 Requires:   python-dnspython >= 1.12
 Requires:   python-josepy >= 1.0.0
-Requires:   python-mock
 Requires:   python-ndg-httpsclient
 Requires:   python-pyOpenSSL >= 0.13
 Requires:   python-pyRFC3339
-Requires:   python-pyasn1
 Requires:   python-pytz
-Requires:   python-requests >= 2.10
+Requires:   python-requests >= 2.4.1
 Requires:   python-requests-toolbelt >= 0.3.0
-Requires:   python-six >= 1.5.2
+Requires:   python-six >= 1.9.0
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
 Python library implementing the Automatic Certificate Management Environment
 (ACME) protocol. It is used by the certbot project. Formerly Let's Encrypt 
project.
 
-%package -n python-%{libname}-doc
-Summary:Documentation for python-acme libraries
-#Provides:   %%{python_module %%{libname}-doc = %%{version}}
-Group:  Development/Languages/Python
-
-%description -n python-%{libname}-doc
-Documentation for the ACME python libraries
-
 %prep
 %setup -q -n %{libname}-%{version}
 
 %build
 %python_build
-# create docs. Possible formats: man text html epub
-pushd docs
-make %{?_smp_mflags} html
-rm -rf _build/html/{.buildinfo,man,_sources}
-popd
 
 %install
 %python_install
@@ -105,23 +76,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
 
 %check
-# show error since version 0.25.0: import file missmatch
-#%%python_exec setup.py test
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_version} acme/
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc LICENSE.txt
+%license LICENSE.txt
 %{python_sitelib}/%{libname}
 %{python_sitelib}/%{libname}-%{version}*.egg-info
 %pycache_only %{python_sitelib}/%{libname}/__pycache__
-# following the certbot-packaging guide, "jws" should not be packaged
-# its now in package python-josepy
-#%%exclude %%{_bindir}/jws
-
-

commit python-acme for openSUSE:Factory

2018-07-27 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-07-27 10:56:04

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Fri Jul 27 10:56:04 2018 rev:21 rq:625326 version:0.26.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-07-18 
22:55:49.514585767 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-07-27 10:56:05.877630017 +0200
@@ -1,0 +2,6 @@
+Wed Jul 25 17:34:48 UTC 2018 - ec...@opensuse.org
+
+- update to 0.26.1
+  - No changelog from upstream
+
+---

Old:

  acme-0.26.0.tar.gz
  acme-0.26.0.tar.gz.asc

New:

  acme-0.26.1.tar.gz
  acme-0.26.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.4ABJOc/_old  2018-07-27 10:56:06.421631059 +0200
+++ /var/tmp/diff_new_pack.4ABJOc/_new  2018-07-27 10:56:06.421631059 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.26.0
+Version:0.26.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.26.0.tar.gz -> acme-0.26.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.26.0/PKG-INFO new/acme-0.26.1/PKG-INFO
--- old/acme-0.26.0/PKG-INFO2018-07-11 23:10:12.0 +0200
+++ new/acme-0.26.1/PKG-INFO2018-07-17 01:27:11.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.26.0
+Version: 0.26.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.26.0/acme.egg-info/PKG-INFO 
new/acme-0.26.1/acme.egg-info/PKG-INFO
--- old/acme-0.26.0/acme.egg-info/PKG-INFO  2018-07-11 23:10:12.0 
+0200
+++ new/acme-0.26.1/acme.egg-info/PKG-INFO  2018-07-17 01:27:11.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.26.0
+Version: 0.26.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.26.0/setup.py new/acme-0.26.1/setup.py
--- old/acme-0.26.0/setup.py2018-07-11 23:09:10.0 +0200
+++ new/acme-0.26.1/setup.py2018-07-17 01:26:52.0 +0200
@@ -3,7 +3,7 @@
 from setuptools.command.test import test as TestCommand
 import sys
 
-version = '0.26.0'
+version = '0.26.1'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-07-18 22:55:02

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Wed Jul 18 22:55:02 2018 rev:20 rq:623161 version:0.26.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-07-06 
10:41:50.795265381 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-07-18 22:55:49.514585767 +0200
@@ -2 +2,7 @@
-Wed Jul  4 11:20:45 UTC 2018 - ec...@schirra.net
+Mon Jul 16 14:37:48 UTC 2018 - ec...@opensuse.org
+
+- update to 0.26.0
+  - No changelog from upstream
+
+---
+Wed Jul  4 11:20:45 UTC 2018 - ec...@opensuse.org

Old:

  acme-0.25.1.tar.gz
  acme-0.25.1.tar.gz.asc

New:

  acme-0.26.0.tar.gz
  acme-0.26.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.WXwcF6/_old  2018-07-18 22:55:50.106583804 +0200
+++ /var/tmp/diff_new_pack.WXwcF6/_new  2018-07-18 22:55:50.110583791 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.25.1
+Version:0.26.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -35,8 +35,6 @@
 BuildRequires:  %{python_module cryptography >= 0.8}
 BuildRequires:  %{python_module devel >= 2.7}
 BuildRequires:  %{python_module dnspython >= 1.12}
-BuildRequires:  %{python_module idna < 2.7}
-BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module josepy >= 1.0.0}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module ndg-httpsclient}
@@ -67,8 +65,8 @@
 Requires:   python-pyasn1
 Requires:   python-pytz
 Requires:   python-requests >= 2.10
-Requires:   python-six >= 1.5.2
 Requires:   python-requests-toolbelt >= 0.3.0
+Requires:   python-six >= 1.5.2
 BuildArch:  noarch
 
 %python_subpackages

++ acme-0.25.1.tar.gz -> acme-0.26.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.25.1/PKG-INFO new/acme-0.26.0/PKG-INFO
--- old/acme-0.25.1/PKG-INFO2018-06-13 03:20:35.0 +0200
+++ new/acme-0.26.0/PKG-INFO2018-07-11 23:10:12.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.25.1
+Version: 0.26.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -8,7 +8,7 @@
 License: Apache License 2.0
 Description: UNKNOWN
 Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Programming Language :: Python
@@ -18,6 +18,7 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.25.1/acme/challenges.py 
new/acme-0.26.0/acme/challenges.py
--- old/acme-0.25.1/acme/challenges.py  2018-06-13 03:20:14.0 +0200
+++ new/acme-0.26.0/acme/challenges.py  2018-07-11 23:09:09.0 +0200
@@ -508,6 +508,21 @@
 
 
 @Challenge.register  # pylint: disable=too-many-ancestors
+class TLSALPN01(KeyAuthorizationChallenge):
+"""ACME tls-alpn-01 challenge.
+
+This class simply allows parsing the TLS-ALPN-01 challenge returned from
+the CA. Full TLS-ALPN-01 support is not currently provided.
+
+"""
+typ = "tls-alpn-01"
+
+def validation(self, account_key, **kwargs):
+"""Generate validation for the challenge."""
+raise NotImplementedError()
+
+
+@Challenge.register  # pylint: disable=too-many-ancestors
 class DNS(_TokenChallenge):
 """ACME "dns" challenge."""
 typ = "dns"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.25.1/acme/challenges_test.py 
new/acme-0.26.0/acme/challenges_test.py
--- old/acme-0.25.1/acme/challenges_test.py 2018-06-13 03:20:14.0 
+0200
+++ new/acme-0.26.0/acme/challenges_test.py 2018-07-11 23:09:09.0 
+0200
@@ -393,6 +393,38 @@
 mock_gen_cert.assert_called_once_with(key=mock.sentinel.cert_key)
 
 
+class TLSALPN01Test(unittest.TestCase):
+
+d

commit python-acme for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-07-06 10:41:38

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Fri Jul  6 10:41:38 2018 rev:19 rq:620603 version:0.25.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-05-04 
11:31:22.343643675 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-07-06 10:41:50.795265381 +0200
@@ -1,0 +2,12 @@
+Wed Jul  4 11:20:45 UTC 2018 - ec...@schirra.net
+
+- update to 0.25.1
+  - No changelog from upstream
+  
+---
+Wed Jun 13 17:48:04 UTC 2018 - ec...@opensuse.org
+
+- update to 0.25.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.24.0.tar.gz
  acme-0.24.0.tar.gz.asc

New:

  acme-0.25.1.tar.gz
  acme-0.25.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.xDPmJq/_old  2018-07-06 10:41:51.215264881 +0200
+++ /var/tmp/diff_new_pack.xDPmJq/_new  2018-07-06 10:41:51.219264876 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.24.0
+Version:0.25.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -35,6 +35,8 @@
 BuildRequires:  %{python_module cryptography >= 0.8}
 BuildRequires:  %{python_module devel >= 2.7}
 BuildRequires:  %{python_module dnspython >= 1.12}
+BuildRequires:  %{python_module idna < 2.7}
+BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module josepy >= 1.0.0}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module ndg-httpsclient}
@@ -42,10 +44,13 @@
 BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pyOpenSSL >= 0.13}
 BuildRequires:  %{python_module pyRFC3339}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.10}
+BuildRequires:  %{python_module requests-toolbelt >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.5.2}
+BuildRequires:  %{python_module six >= 1.9.0}
 BuildRequires:  %{python_module sphinx_rtd_theme}
 BuildRequires:  %{python_module sphinxcontrib-programoutput}
 BuildRequires:  %{python_module tox}
@@ -63,6 +68,7 @@
 Requires:   python-pytz
 Requires:   python-requests >= 2.10
 Requires:   python-six >= 1.5.2
+Requires:   python-requests-toolbelt >= 0.3.0
 BuildArch:  noarch
 
 %python_subpackages
@@ -101,7 +107,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
 
 %check
-%python_exec setup.py test
+# show error since version 0.25.0: import file missmatch
+#%%python_exec setup.py test
 
 %files %{python_files}
 %defattr(-,root,root)

++ acme-0.24.0.tar.gz -> acme-0.25.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.24.0/MANIFEST.in new/acme-0.25.1/MANIFEST.in
--- old/acme-0.24.0/MANIFEST.in 2018-05-02 01:50:33.0 +0200
+++ new/acme-0.25.1/MANIFEST.in 2018-06-13 03:20:14.0 +0200
@@ -1,5 +1,6 @@
 include LICENSE.txt
 include README.rst
+include pytest.ini
 recursive-include docs *
 recursive-include examples *
 recursive-include acme/testdata *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.24.0/PKG-INFO new/acme-0.25.1/PKG-INFO
--- old/acme-0.24.0/PKG-INFO2018-05-02 01:50:51.0 +0200
+++ new/acme-0.25.1/PKG-INFO2018-06-13 03:20:35.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.24.0
+Version: 0.25.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.24.0/acme/challenges.py 
new/acme-0.25.1/acme/challenges.py
--- old/acme-0.24.0/acme/challenges.py  2018-05-02 01:50:33.0 +0200
+++ new/acme-0.25.1/acme/challenges.py  2018-06-13 03:20:14.0 +0200
@@ -9,6 +9,7 @@
 import josepy as jose
 import OpenSSL
 import requests
+import six
 
 from acme import errors
 from acme import crypto_util
@@ -139,16 +140,16 @@
 return True
 
 
+@six.add_metaclass(abc.ABCMeta)
 class KeyAuthorizationChallenge(_TokenChallenge):
 # pylint: disable=abstract-class-little-used,too-many-ancestors
 """Challenge based on Key Authorization.
 
 :param respon

commit python-acme for openSUSE:Factory

2018-05-04 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-05-04 11:31:09

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Fri May  4 11:31:09 2018 rev:18 rq:603739 version:0.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-04-24 
15:31:29.821765746 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-05-04 11:31:22.343643675 +0200
@@ -1,0 +2,6 @@
+Thu May  3 15:01:41 UTC 2018 - ec...@opensuse.org
+
+- update to 0.24.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.23.0.tar.gz
  acme-0.23.0.tar.gz.asc

New:

  acme-0.24.0.tar.gz
  acme-0.24.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.45sLi0/_old  2018-05-04 11:31:23.543599646 +0200
+++ /var/tmp/diff_new_pack.45sLi0/_new  2018-05-04 11:31:23.547599499 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.23.0
+Version:0.24.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.23.0.tar.gz -> acme-0.24.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.23.0/PKG-INFO new/acme-0.24.0/PKG-INFO
--- old/acme-0.23.0/PKG-INFO2018-04-04 23:56:48.0 +0200
+++ new/acme-0.24.0/PKG-INFO2018-05-02 01:50:51.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.23.0
+Version: 0.24.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.23.0/acme/messages.py 
new/acme-0.24.0/acme/messages.py
--- old/acme-0.23.0/acme/messages.py2018-04-04 23:56:02.0 +0200
+++ new/acme-0.24.0/acme/messages.py2018-05-02 01:50:33.0 +0200
@@ -435,6 +435,7 @@
 # be absent'... then acme-spec gives example with 'expires'
 # present... That's confusing!
 expires = fields.RFC3339Field('expires', omitempty=True)
+wildcard = jose.Field('wildcard', omitempty=True)
 
 @challenges.decoder
 def challenges(value):  # pylint: 
disable=missing-docstring,no-self-argument
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.23.0/acme.egg-info/PKG-INFO 
new/acme-0.24.0/acme.egg-info/PKG-INFO
--- old/acme-0.23.0/acme.egg-info/PKG-INFO  2018-04-04 23:56:48.0 
+0200
+++ new/acme-0.24.0/acme.egg-info/PKG-INFO  2018-05-02 01:50:51.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.23.0
+Version: 0.24.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.23.0/setup.py new/acme-0.24.0/setup.py
--- old/acme-0.23.0/setup.py2018-04-04 23:56:02.0 +0200
+++ new/acme-0.24.0/setup.py2018-05-02 01:50:33.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.23.0'
+version = '0.24.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2018-04-24 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-04-24 15:31:28

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Tue Apr 24 15:31:28 2018 rev:17 rq:596521 version:0.23.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-03-26 
13:05:22.416363163 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-04-24 15:31:29.821765746 +0200
@@ -1,0 +2,6 @@
+Sat Apr 14 14:19:49 UTC 2018 - ec...@opensuse.org
+
+- update to 0.23.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.22.2.tar.gz
  acme-0.22.2.tar.gz.asc

New:

  acme-0.23.0.tar.gz
  acme-0.23.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.vhqB7R/_old  2018-04-24 15:31:30.429743749 +0200
+++ /var/tmp/diff_new_pack.vhqB7R/_new  2018-04-24 15:31:30.429743749 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.22.2
+Version:0.23.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.22.2.tar.gz -> acme-0.23.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.22.2/PKG-INFO new/acme-0.23.0/PKG-INFO
--- old/acme-0.22.2/PKG-INFO2018-03-20 01:33:44.0 +0100
+++ new/acme-0.23.0/PKG-INFO2018-04-04 23:56:48.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.22.2
+Version: 0.23.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.22.2/acme.egg-info/PKG-INFO 
new/acme-0.23.0/acme.egg-info/PKG-INFO
--- old/acme-0.22.2/acme.egg-info/PKG-INFO  2018-03-20 01:33:44.0 
+0100
+++ new/acme-0.23.0/acme.egg-info/PKG-INFO  2018-04-04 23:56:48.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: acme
-Version: 0.22.2
+Version: 0.23.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.22.2/setup.py new/acme-0.23.0/setup.py
--- old/acme-0.22.2/setup.py2018-03-20 01:33:22.0 +0100
+++ new/acme-0.23.0/setup.py2018-04-04 23:56:02.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.22.2'
+version = '0.23.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-03-26 13:05:14

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Mon Mar 26 13:05:14 2018 rev:16 rq:590444 version:0.22.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2018-02-01 
21:28:36.815247588 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-03-26 13:05:22.416363163 +0200
@@ -1,0 +2,12 @@
+Thu Mar 22 23:16:22 UTC 2018 - ec...@opensuse.org
+
+- update to 0.22.2
+  - No changelog from upstream
+
+---
+Wed Mar 14 11:17:47 UTC 2018 - ec...@opensuse.org
+
+- update to 0.22.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.21.1.tar.gz
  acme-0.21.1.tar.gz.asc

New:

  acme-0.22.2.tar.gz
  acme-0.22.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.gcnWRW/_old  2018-03-26 13:05:24.140301194 +0200
+++ /var/tmp/diff_new_pack.gcnWRW/_new  2018-03-26 13:05:24.144301051 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.21.1
+Version:0.22.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -54,13 +54,13 @@
 Requires:   python-Werkzeug
 Requires:   python-cryptography >= 0.8
 Requires:   python-dnspython >= 1.12
+Requires:   python-josepy >= 1.0.0
 Requires:   python-mock
 Requires:   python-ndg-httpsclient
 Requires:   python-pyOpenSSL >= 0.13
 Requires:   python-pyRFC3339
 Requires:   python-pyasn1
 Requires:   python-pytz
-Requires:   python-josepy >= 1.0.0
 Requires:   python-requests >= 2.10
 Requires:   python-six >= 1.5.2
 BuildArch:  noarch

++ acme-0.21.1.tar.gz -> acme-0.22.2.tar.gz ++
 1821 lines of diff (skipped)





commit python-acme for openSUSE:Factory

2018-02-01 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2018-02-01 21:28:35

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Thu Feb  1 21:28:35 2018 rev:15 rq:570567 version:0.21.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-12-12 
21:22:57.374466196 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2018-02-01 21:28:36.815247588 +0100
@@ -1,0 +2,6 @@
+Sat Jan 27 09:53:41 UTC 2018 - ec...@opensuse.org
+
+- update to 0.21.1
+  - No changelog from upstream
+
+---

Old:

  acme-0.20.0.tar.gz
  acme-0.20.0.tar.gz.asc

New:

  acme-0.21.1.tar.gz
  acme-0.21.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.xS0f4K/_old  2018-02-01 21:28:37.483216369 +0100
+++ /var/tmp/diff_new_pack.xS0f4K/_new  2018-02-01 21:28:37.487216182 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-acme
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.20.0
+Version:0.21.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -35,6 +35,7 @@
 BuildRequires:  %{python_module cryptography >= 0.8}
 BuildRequires:  %{python_module devel >= 2.7}
 BuildRequires:  %{python_module dnspython >= 1.12}
+BuildRequires:  %{python_module josepy >= 1.0.0}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module ndg-httpsclient}
 BuildRequires:  %{python_module nose}
@@ -59,6 +60,7 @@
 Requires:   python-pyRFC3339
 Requires:   python-pyasn1
 Requires:   python-pytz
+Requires:   python-josepy >= 1.0.0
 Requires:   python-requests >= 2.10
 Requires:   python-six >= 1.5.2
 BuildArch:  noarch
@@ -95,7 +97,6 @@
 %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/*_test.py*
 %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/**/*_test.py*
 %python_expand rm -rf 
%{buildroot}%{$python_sitelib}/%{libname}/__pycache__/*_test*
-%python_expand rm -rf 
%{buildroot}%{$python_sitelib}/%{libname}/jose/__pycache__/*_test*
 # remove duplicates
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
 
@@ -108,9 +109,9 @@
 %{python_sitelib}/%{libname}
 %{python_sitelib}/%{libname}-%{version}*.egg-info
 %pycache_only %{python_sitelib}/%{libname}/__pycache__
-%pycache_only %{python_sitelib}/%{libname}/jose/__pycache__
 # following the certbot-packaging guide, "jws" should not be packaged
-%exclude %{_bindir}/jws
+# its now in package python-josepy
+#%%exclude %%{_bindir}/jws
 
 %files -n python-%{libname}-doc
 %defattr(-,root,root)

++ acme-0.20.0.tar.gz -> acme-0.21.1.tar.gz ++
 3891 lines of diff (skipped)





commit python-acme for openSUSE:Factory

2017-12-12 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-12-12 21:22:56

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Tue Dec 12 21:22:56 2017 rev:14 rq:556038 version:0.20.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-10-08 
20:15:16.543852008 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-12-12 21:22:57.374466196 +0100
@@ -1,0 +2,6 @@
+Mon Dec 11 17:28:38 UTC 2017 - ec...@opensuse.org
+
+- update to 0.20.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.19.0.tar.gz
  acme-0.19.0.tar.gz.asc

New:

  acme-0.20.0.tar.gz
  acme-0.20.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.DHRANj/_old  2017-12-12 21:22:57.962437812 +0100
+++ /var/tmp/diff_new_pack.DHRANj/_new  2017-12-12 21:22:57.962437812 +0100
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.19.0
+Version:0.20.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.19.0.tar.gz -> acme-0.20.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.19.0/PKG-INFO new/acme-0.20.0/PKG-INFO
--- old/acme-0.19.0/PKG-INFO2017-10-04 21:05:25.0 +0200
+++ new/acme-0.20.0/PKG-INFO2017-12-06 23:39:18.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.19.0
+Version: 0.20.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.19.0/acme/client.py 
new/acme-0.20.0/acme/client.py
--- old/acme-0.19.0/acme/client.py  2017-10-04 21:05:07.0 +0200
+++ new/acme-0.20.0/acme/client.py  2017-12-06 23:38:57.0 +0100
@@ -11,6 +11,7 @@
 from six.moves import http_client  # pylint: disable=import-error
 
 import OpenSSL
+import re
 import requests
 import sys
 
@@ -599,6 +600,7 @@
 return response
 
 def _send_request(self, method, url, *args, **kwargs):
+# pylint: disable=too-many-locals
 """Send HTTP request.
 
 Makes sure that `verify_ssl` is respected. Logs request and
@@ -624,7 +626,32 @@
 kwargs.setdefault('headers', {})
 kwargs['headers'].setdefault('User-Agent', self.user_agent)
 kwargs.setdefault('timeout', self._default_timeout)
-response = self.session.request(method, url, *args, **kwargs)
+try:
+response = self.session.request(method, url, *args, **kwargs)
+except requests.exceptions.RequestException as e:
+# pylint: disable=pointless-string-statement
+"""Requests response parsing
+
+The requests library emits exceptions with a lot of extra text.
+We parse them with a regexp to raise a more readable exceptions.
+
+Example:
+HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org',
+port=443): Max retries exceeded with url: /directory
+(Caused by NewConnectionError('
+: Failed to establish a new connection:
+[Errno 65] No route to host',))"""
+
+# pylint: disable=line-too-long
+err_regex = r".*host='(\S*)'.*Max retries exceeded with url\: 
(\/\w*).*(\[Errno \d+\])([A-Za-z ]*)"
+m = re.match(err_regex, str(e))
+if m is None:
+raise # pragma: no cover
+else:
+host, path, _err_no, err_msg = m.groups()
+raise ValueError("Requesting {0}{1}:{2}".format(host, path, 
err_msg))
+
 # If content is DER, log the base64 of it instead of raw bytes, to keep
 # binary data out of the logs.
 if response.headers.get("Content-Type") == DER_CONTENT_TYPE:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.19.0/acme/client_test.py 
new/acme-0.20.0/acme/client_test.py
--- old/acme-0.19.0/acme/client_test.py 2017-10-04 21:05:07.0 +0200
+++ new/acme-0.20.0/acme/client_test.py 2017-12-06 23:38:57.0 +0100
@@ -621,6 +621,21 @@
 self.assertRaises(requests.exceptions.RequestException,
   self.net._send_request, 'GET', 'uri')
 
+def test_urllib_error(self):
+# Using a connection error to test a properly formatted error message
+try:
+# p

commit python-acme for openSUSE:Factory

2017-10-08 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-10-08 20:15:06

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Sun Oct  8 20:15:06 2017 rev:13 rq:532439 version:0.19.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-10-02 
16:54:37.926783833 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-10-08 20:15:16.543852008 +0200
@@ -1,0 +2,6 @@
+Sat Oct  7 10:08:12 UTC 2017 - ec...@opensuse.org
+
+- update to 0.19.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.18.2.tar.gz
  acme-0.18.2.tar.gz.asc

New:

  acme-0.19.0.tar.gz
  acme-0.19.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.oyfwvj/_old  2017-10-08 20:15:19.103739390 +0200
+++ /var/tmp/diff_new_pack.oyfwvj/_new  2017-10-08 20:15:19.119738686 +0200
@@ -21,7 +21,7 @@
 %define libname acme
 
 Name:   python-%{libname}
-Version:0.18.2
+Version:0.19.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.18.2.tar.gz -> acme-0.19.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.18.2/PKG-INFO new/acme-0.19.0/PKG-INFO
--- old/acme-0.18.2/PKG-INFO2017-09-20 19:45:09.0 +0200
+++ new/acme-0.19.0/PKG-INFO2017-10-04 21:05:25.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.18.2
+Version: 0.19.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.18.2/acme.egg-info/PKG-INFO 
new/acme-0.19.0/acme.egg-info/PKG-INFO
--- old/acme-0.18.2/acme.egg-info/PKG-INFO  2017-09-20 19:45:09.0 
+0200
+++ new/acme-0.19.0/acme.egg-info/PKG-INFO  2017-10-04 21:05:25.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.18.2
+Version: 0.19.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.18.2/acme.egg-info/requires.txt 
new/acme-0.19.0/acme.egg-info/requires.txt
--- old/acme-0.18.2/acme.egg-info/requires.txt  2017-09-20 19:45:09.0 
+0200
+++ new/acme-0.19.0/acme.egg-info/requires.txt  2017-10-04 21:05:25.0 
+0200
@@ -5,7 +5,7 @@
 pytz
 requests[security]>=2.4.1
 setuptools>=1.0
-six
+six>=1.9.0
 
 [dev]
 nose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.18.2/setup.py new/acme-0.19.0/setup.py
--- old/acme-0.18.2/setup.py2017-09-20 19:44:43.0 +0200
+++ new/acme-0.19.0/setup.py2017-10-04 21:05:07.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.18.2'
+version = '0.19.0'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [
@@ -20,7 +20,7 @@
 # For pkg_resources. >=1.0 so pip resolves it to a version cryptography
 # will tolerate; see #2599:
 'setuptools>=1.0',
-'six',
+'six>=1.9.0',  # needed for python_2_unicode_compatible
 ]
 
 # env markers cause problems with older pip and setuptools





commit python-acme for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-10-02 16:54:23

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Mon Oct  2 16:54:23 2017 rev:12 rq:530235 version:0.18.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-09-12 
19:56:27.542099681 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-10-02 16:54:37.926783833 +0200
@@ -1,0 +2,11 @@
+Sat Sep 23 08:34:09 UTC 2017 - ec...@opensuse.org
+
+- update to 0.18.2
+  - No changelog from upstream
+
+---
+Wed Sep 20 10:58:11 UTC 2017 - ec...@opensuse.org
+
+- Convert to singlespec
+
+---

Old:

  acme-0.18.1.tar.gz
  acme-0.18.1.tar.gz.asc

New:

  acme-0.18.2.tar.gz
  acme-0.18.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.mBtQUC/_old  2017-10-02 16:54:38.562694575 +0200
+++ /var/tmp/diff_new_pack.mBtQUC/_new  2017-10-02 16:54:38.562694575 +0200
@@ -16,9 +16,12 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
 %define libname acme
+
 Name:   python-%{libname}
-Version:0.18.1
+Version:0.18.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -27,31 +30,27 @@
 Source0:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
 Source1:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc
 Source2:%{name}.keyring
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module Werkzeug}
+BuildRequires:  %{python_module cryptography >= 0.8}
+BuildRequires:  %{python_module devel >= 2.7}
+BuildRequires:  %{python_module dnspython >= 1.12}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module ndg-httpsclient}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module packaging}
+BuildRequires:  %{python_module pyOpenSSL >= 0.13}
+BuildRequires:  %{python_module pyRFC3339}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module requests >= 2.10}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.5.2}
+BuildRequires:  %{python_module sphinx_rtd_theme}
+BuildRequires:  %{python_module sphinxcontrib-programoutput}
+BuildRequires:  %{python_module tox}
 BuildRequires:  fdupes
-BuildRequires:  python-argparse
-BuildRequires:  python-cryptography >= 0.8
-BuildRequires:  python-devel
-BuildRequires:  python-dnspython >= 1.12
-BuildRequires:  python-mock
-BuildRequires:  python-ndg-httpsclient
-BuildRequires:  python-nose
-BuildRequires:  python-packaging
-BuildRequires:  python-pyOpenSSL >= 0.13
-BuildRequires:  python-pyRFC3339
-BuildRequires:  python-pytz
-%if 0%{?suse_version} >= 1330
-BuildRequires:  python2-requests >= 2.10
-%else
-BuildRequires:  python-requests >= 2.10
-%endif
-BuildRequires:  python-setuptools >= 11.3
-BuildRequires:  python-six >= 1.5.2
-BuildRequires:  python-sphinx
-BuildRequires:  python-sphinx_rtd_theme
-BuildRequires:  python-sphinxcontrib-programoutput
-BuildRequires:  python-tox
-BuildRequires:  python-werkzeug
-Requires:   python-argparse
+BuildRequires:  python-rpm-macros
+Requires:   python-Werkzeug
 Requires:   python-cryptography >= 0.8
 Requires:   python-dnspython >= 1.12
 Requires:   python-mock
@@ -60,32 +59,29 @@
 Requires:   python-pyRFC3339
 Requires:   python-pyasn1
 Requires:   python-pytz
-%if 0%{?suse_version} >= 1330
-Requires:   python2-requests >= 2.10
-%else
 Requires:   python-requests >= 2.10
-%endif
 Requires:   python-six >= 1.5.2
-Requires:   python-werkzeug
 BuildArch:  noarch
 
+%python_subpackages
+
 %description
 Python library implementing the Automatic Certificate Management Environment
 (ACME) protocol. It is used by the certbot project. Formerly Let's Encrypt 
project.
 
-%package doc
+%package -n python-%{libname}-doc
 Summary:Documentation for python-acme libraries
+#Provides:   %%{python_module %%{libname}-doc = %%{version}}
 Group:  Development/Languages/Python
 
-%description doc
+%description -n python-%{libname}-doc
 Documentation for the ACME python libraries
 
 %prep
 %setup -q -n %{libname}-%{version}
 
 %build
-python setup.py build
-
+%python_build
 # create docs. Possible formats: man text html epub
 pushd docs
 make %{?_smp_mflags} html
@@ -93,27 +89,30 @@
 popd
 
 %install
-python setup.py in

commit python-acme for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-09-12 19:56:20

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Tue Sep 12 19:56:20 2017 rev:11 rq:523430 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-08-12 
20:28:37.764029511 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-09-12 19:56:27.542099681 +0200
@@ -1,0 +2,6 @@
+Mon Sep 11 21:18:10 UTC 2017 - ec...@opensuse.org
+
+- update to 0.18.1
+  - No changelog from upstream
+
+---

Old:

  acme-0.17.0.tar.gz
  acme-0.17.0.tar.gz.asc

New:

  acme-0.18.1.tar.gz
  acme-0.18.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.cpRgHl/_old  2017-09-12 19:56:28.333988335 +0200
+++ /var/tmp/diff_new_pack.cpRgHl/_new  2017-09-12 19:56:28.337987773 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.17.0
+Version:0.18.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.17.0.tar.gz -> acme-0.18.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.17.0/PKG-INFO new/acme-0.18.1/PKG-INFO
--- old/acme-0.17.0/PKG-INFO2017-08-02 01:43:11.0 +0200
+++ new/acme-0.18.1/PKG-INFO2017-09-08 20:32:29.0 +0200
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.17.0
+Version: 0.18.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
 Author-email: client-...@letsencrypt.org
 License: Apache License 2.0
+Description-Content-Type: UNKNOWN
 Description: UNKNOWN
 Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.17.0/acme.egg-info/PKG-INFO 
new/acme-0.18.1/acme.egg-info/PKG-INFO
--- old/acme-0.17.0/acme.egg-info/PKG-INFO  2017-08-02 01:43:11.0 
+0200
+++ new/acme-0.18.1/acme.egg-info/PKG-INFO  2017-09-08 20:32:29.0 
+0200
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.17.0
+Version: 0.18.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
 Author-email: client-...@letsencrypt.org
 License: Apache License 2.0
+Description-Content-Type: UNKNOWN
 Description: UNKNOWN
 Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.17.0/setup.py new/acme-0.18.1/setup.py
--- old/acme-0.17.0/setup.py2017-08-02 01:42:57.0 +0200
+++ new/acme-0.18.1/setup.py2017-09-08 20:32:07.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.17.0'
+version = '0.18.1'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-08-12 20:28:34

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Sat Aug 12 20:28:34 2017 rev:10 rq:516190 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-08-04 
11:58:40.069659433 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-08-12 20:28:37.764029511 +0200
@@ -1,0 +2,6 @@
+Fri Aug 11 15:49:23 UTC 2017 - ec...@opensuse.org
+
+- update to 0.17.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.16.0.tar.gz
  acme-0.16.0.tar.gz.asc

New:

  acme-0.17.0.tar.gz
  acme-0.17.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.aMnZcO/_old  2017-08-12 20:28:38.68794 +0200
+++ /var/tmp/diff_new_pack.aMnZcO/_new  2017-08-12 20:28:38.699898321 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.16.0
+Version:0.17.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.16.0.tar.gz -> acme-0.17.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.16.0/PKG-INFO new/acme-0.17.0/PKG-INFO
--- old/acme-0.16.0/PKG-INFO2017-07-05 23:39:57.0 +0200
+++ new/acme-0.17.0/PKG-INFO2017-08-02 01:43:11.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.16.0
+Version: 0.17.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.16.0/acme/crypto_util.py 
new/acme-0.17.0/acme/crypto_util.py
--- old/acme-0.16.0/acme/crypto_util.py 2017-07-05 23:39:42.0 +0200
+++ new/acme-0.17.0/acme/crypto_util.py 2017-08-02 01:42:57.0 +0200
@@ -218,7 +218,7 @@
 text = func(OpenSSL.crypto.FILETYPE_TEXT, cert_or_req).decode("utf-8")
 # WARNING: this function does not support multiple SANs extensions.
 # Multiple X509v3 extensions of the same type is disallowed by RFC 5280.
-match = re.search(r"X509v3 Subject Alternative Name:\s*(.*)", text)
+match = re.search(r"X509v3 Subject Alternative Name:(?: 
critical)?\s*(.*)", text)
 # WARNING: this function assumes that no SAN can include
 # parts_separator, hence the split!
 sans_parts = [] if match is None else match.group(1).split(parts_separator)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.16.0/acme/crypto_util_test.py 
new/acme-0.17.0/acme/crypto_util_test.py
--- old/acme-0.16.0/acme/crypto_util_test.py2017-07-05 23:39:42.0 
+0200
+++ new/acme-0.17.0/acme/crypto_util_test.py2017-08-02 01:42:57.0 
+0200
@@ -131,6 +131,11 @@
 self.assertEqual(self._call_csr('csr-idnsans.pem'),
  self._get_idn_names())
 
+def test_critical_san(self):
+self.assertEqual(self._call_cert('critical-san.pem'),
+ ['chicago-cubs.venafi.example', 
'cubs.venafi.example'])
+
+
 
 class RandomSnTest(unittest.TestCase):
 """Test for random certificate serial numbers."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.16.0/acme/messages.py 
new/acme-0.17.0/acme/messages.py
--- old/acme-0.16.0/acme/messages.py2017-07-05 23:39:42.0 +0200
+++ new/acme-0.17.0/acme/messages.py2017-08-02 01:42:57.0 +0200
@@ -1,5 +1,6 @@
 """ACME protocol messages."""
 import collections
+import six
 
 from acme import challenges
 from acme import errors
@@ -36,9 +37,13 @@
 
 def is_acme_error(err):
 """Check if argument is an ACME error."""
-return (ERROR_PREFIX in str(err)) or (OLD_ERROR_PREFIX in str(err))
+if isinstance(err, Error) and (err.typ is not None):
+return (ERROR_PREFIX in err.typ) or (OLD_ERROR_PREFIX in err.typ)
+else:
+return False
 
 
+@six.python_2_unicode_compatible
 class Error(jose.JSONObjectWithFields, errors.Error):
 """ACME error.
 
@@ -92,10 +97,10 @@
 return code
 
 def __str__(self):
-return ' :: '.join(
-part for part in
+return b' :: '.join(
+part.encode('ascii', 'backslashreplace') for part in
 (self.typ, self.description, self.detail, self.title)
-if part is not None)
+if part is not None).decode

commit python-acme for openSUSE:Factory

2017-08-04 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-08-04 11:58:38

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Fri Aug  4 11:58:38 2017 rev:9 rq:508785 version:0.16.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-06-12 
15:34:46.972464474 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-08-04 11:58:40.069659433 +0200
@@ -1,0 +2,6 @@
+Fri Jul  7 08:12:55 UTC 2017 - ec...@opensuse.org
+
+- update to 0.16.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.15.0.tar.gz
  acme-0.15.0.tar.gz.asc

New:

  acme-0.16.0.tar.gz
  acme-0.16.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.0UqOi9/_old  2017-08-04 11:58:40.849549354 +0200
+++ /var/tmp/diff_new_pack.0UqOi9/_new  2017-08-04 11:58:40.849549354 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.15.0
+Version:0.16.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.15.0.tar.gz -> acme-0.16.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/PKG-INFO new/acme-0.16.0/PKG-INFO
--- old/acme-0.15.0/PKG-INFO2017-06-08 18:26:22.0 +0200
+++ new/acme-0.16.0/PKG-INFO2017-07-05 23:39:57.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.15.0
+Version: 0.16.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/acme/client.py 
new/acme-0.16.0/acme/client.py
--- old/acme-0.15.0/acme/client.py  2017-06-08 18:26:04.0 +0200
+++ new/acme-0.16.0/acme/client.py  2017-07-05 23:39:42.0 +0200
@@ -519,7 +519,12 @@
 self._default_timeout = timeout
 
 def __del__(self):
-self.session.close()
+# Try to close the session, but don't show exceptions to the
+# user if the call to close() fails. See #4840.
+try:
+self.session.close()
+except Exception:  # pylint: disable=broad-except
+pass
 
 def _wrap_in_jws(self, obj, nonce):
 """Wrap `JSONDeSerializable` object in JWS.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/acme/client_test.py 
new/acme-0.16.0/acme/client_test.py
--- old/acme-0.15.0/acme/client_test.py 2017-06-08 18:26:04.0 +0200
+++ new/acme-0.16.0/acme/client_test.py 2017-07-05 23:39:42.0 +0200
@@ -600,12 +600,19 @@
 mock.ANY, mock.ANY, verify=mock.ANY, headers=mock.ANY,
 timeout=45)
 
-def test_del(self):
+def test_del(self, close_exception=None):
 sess = mock.MagicMock()
+
+if close_exception is not None:
+sess.close.side_effect = close_exception
+
 self.net.session = sess
 del self.net
 sess.close.assert_called_once_with()
 
+def test_del_error(self):
+self.test_del(ReferenceError)
+
 @mock.patch('acme.client.requests')
 def test_requests_error_passthrough(self, mock_requests):
 mock_requests.exceptions = requests.exceptions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/acme.egg-info/PKG-INFO 
new/acme-0.16.0/acme.egg-info/PKG-INFO
--- old/acme-0.15.0/acme.egg-info/PKG-INFO  2017-06-08 18:26:22.0 
+0200
+++ new/acme-0.16.0/acme.egg-info/PKG-INFO  2017-07-05 23:39:57.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.15.0
+Version: 0.16.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/acme.egg-info/requires.txt 
new/acme-0.16.0/acme.egg-info/requires.txt
--- old/acme-0.15.0/acme.egg-info/requires.txt  2017-06-08 18:26:22.0 
+0200
+++ new/acme-0.16.0/acme.egg-info/requires.txt  2017-07-05 23:39:57.0 
+0200
@@ -3,7 +3,7 @@
 PyOpenSSL>=0.13
 pyrfc3339
 pytz
-requests[security]>=2.10
+requests[security]>=2.4.1
 setuptools>=1.0
 six
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.15.0/setup.py new/acme-0.16.0/setup.py
--- old/acme-0

commit python-acme for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-06-12 15:34:41

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Mon Jun 12 15:34:41 2017 rev:8 rq:502854 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-06-02 
10:34:24.270815408 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-06-12 15:34:46.972464474 +0200
@@ -1,0 +2,6 @@
+Sun Jun 11 08:48:15 UTC 2017 - ec...@opensuse.org
+
+- update to 0.15.0
+  - No changelog from upstream
+
+---

Old:

  acme-0.14.2.tar.gz
  acme-0.14.2.tar.gz.asc

New:

  acme-0.15.0.tar.gz
  acme-0.15.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.sBsTRS/_old  2017-06-12 15:34:48.816204429 +0200
+++ /var/tmp/diff_new_pack.sBsTRS/_new  2017-06-12 15:34:48.816204429 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.14.2
+Version:0.15.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.14.2.tar.gz -> acme-0.15.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.2/PKG-INFO new/acme-0.15.0/PKG-INFO
--- old/acme-0.14.2/PKG-INFO2017-05-25 23:12:54.0 +0200
+++ new/acme-0.15.0/PKG-INFO2017-06-08 18:26:22.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.14.2
+Version: 0.15.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.2/acme/client.py 
new/acme-0.15.0/acme/client.py
--- old/acme-0.14.2/acme/client.py  2017-05-25 23:12:46.0 +0200
+++ new/acme-0.15.0/acme/client.py  2017-06-08 18:26:04.0 +0200
@@ -564,6 +564,9 @@
 except ValueError:
 jobj = None
 
+if response.status_code == 409:
+raise errors.ConflictError(response.headers.get('Location'))
+
 if not response.ok:
 if jobj is not None:
 if response_ct != cls.JSON_ERROR_CONTENT_TYPE:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.2/acme/client_test.py 
new/acme-0.15.0/acme/client_test.py
--- old/acme-0.14.2/acme/client_test.py 2017-05-25 23:12:46.0 +0200
+++ new/acme-0.15.0/acme/client_test.py 2017-06-08 18:26:04.0 +0200
@@ -513,6 +513,12 @@
 self.assertEqual(
 self.response, self.net._check_response(self.response))
 
+def test_check_response_conflict(self):
+self.response.ok = False
+self.response.status_code = 409
+# pylint: disable=protected-access
+self.assertRaises(errors.ConflictError, self.net._check_response, 
self.response)
+
 def test_check_response_jobj(self):
 self.response.json.return_value = {}
 for response_ct in [self.net.JSON_CONTENT_TYPE, 'foo']:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.2/acme/crypto_util.py 
new/acme-0.15.0/acme/crypto_util.py
--- old/acme-0.14.2/acme/crypto_util.py 2017-05-25 23:12:46.0 +0200
+++ new/acme-0.15.0/acme/crypto_util.py 2017-06-08 18:26:04.0 +0200
@@ -107,7 +107,7 @@
 
 
 def probe_sni(name, host, port=443, timeout=300,
-  method=_DEFAULT_TLSSNI01_SSL_METHOD, source_address=('0', 0)):
+  method=_DEFAULT_TLSSNI01_SSL_METHOD, source_address=('', 0)):
 """Probe SNI server for SSL certificate.
 
 :param bytes name: Byte string to send as the server name in the
@@ -132,9 +132,14 @@
 socket_kwargs = {} if sys.version_info < (2, 7) else {
 'source_address': source_address}
 
+host_protocol_agnostic = None if host == '::' or host == '0' else host
+
 try:
 # pylint: disable=star-args
-sock = socket.create_connection((host, port), **socket_kwargs)
+logger.debug("Attempting to connect to %s:%d%s.", 
host_protocol_agnostic, port,
+" from {0}:{1}".format(source_address[0], source_address[1]) if \
+socket_kwargs else "")
+sock = socket.create_connection((host_protocol_agnostic, port), 
**socket_kwargs)
 except socket.error as error:
 raise errors.Error(error)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/a

commit python-acme for openSUSE:Factory

2017-06-02 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-06-02 10:34:19

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Fri Jun  2 10:34:19 2017 rev:7 rq:500460 version:0.14.2

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-05-18 
20:48:59.209615312 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-06-02 10:34:24.270815408 +0200
@@ -1,0 +2,6 @@
+Thu Jun  1 16:56:29 UTC 2017 - ec...@opensuse.org
+
+- update to 0.14.2
+  - No changelog from upstream
+
+---

Old:

  acme-0.14.1.tar.gz
  acme-0.14.1.tar.gz.asc

New:

  acme-0.14.2.tar.gz
  acme-0.14.2.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.klKXmK/_old  2017-06-02 10:34:25.730609150 +0200
+++ /var/tmp/diff_new_pack.klKXmK/_new  2017-06-02 10:34:25.734608585 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.14.1
+Version:0.14.2
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.14.1.tar.gz -> acme-0.14.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.1/PKG-INFO new/acme-0.14.2/PKG-INFO
--- old/acme-0.14.1/PKG-INFO2017-05-16 18:53:09.0 +0200
+++ new/acme-0.14.2/PKG-INFO2017-05-25 23:12:54.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.14.1
+Version: 0.14.2
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.1/acme.egg-info/PKG-INFO 
new/acme-0.14.2/acme.egg-info/PKG-INFO
--- old/acme-0.14.1/acme.egg-info/PKG-INFO  2017-05-16 18:53:09.0 
+0200
+++ new/acme-0.14.2/acme.egg-info/PKG-INFO  2017-05-25 23:12:54.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.14.1
+Version: 0.14.2
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.1/setup.py new/acme-0.14.2/setup.py
--- old/acme-0.14.1/setup.py2017-05-16 18:52:51.0 +0200
+++ new/acme-0.14.2/setup.py2017-05-25 23:12:46.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.14.1'
+version = '0.14.2'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2017-05-18 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-05-18 20:48:45

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Thu May 18 20:48:45 2017 rev:6 rq:495673 version:0.14.1

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-05-17 
17:19:30.751273964 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-05-18 20:48:59.209615312 +0200
@@ -1,0 +2,6 @@
+Wed May 17 16:17:36 UTC 2017 - ec...@opensuse.org
+
+- update to 0.14.1
+  - No changelog from upstream
+
+---

Old:

  acme-0.14.0.tar.gz
  acme-0.14.0.tar.gz.asc

New:

  acme-0.14.1.tar.gz
  acme-0.14.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.cncSB0/_old  2017-05-18 20:49:02.969084752 +0200
+++ /var/tmp/diff_new_pack.cncSB0/_new  2017-05-18 20:49:02.969084752 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.14.0
+Version:0.14.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.14.0.tar.gz -> acme-0.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.0/PKG-INFO new/acme-0.14.1/PKG-INFO
--- old/acme-0.14.0/PKG-INFO2017-05-05 01:45:31.0 +0200
+++ new/acme-0.14.1/PKG-INFO2017-05-16 18:53:09.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.14.0
+Version: 0.14.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.0/acme.egg-info/PKG-INFO 
new/acme-0.14.1/acme.egg-info/PKG-INFO
--- old/acme-0.14.0/acme.egg-info/PKG-INFO  2017-05-05 01:45:31.0 
+0200
+++ new/acme-0.14.1/acme.egg-info/PKG-INFO  2017-05-16 18:53:09.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.14.0
+Version: 0.14.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.14.0/setup.py new/acme-0.14.1/setup.py
--- old/acme-0.14.0/setup.py2017-05-05 01:45:16.0 +0200
+++ new/acme-0.14.1/setup.py2017-05-16 18:52:51.0 +0200
@@ -4,7 +4,7 @@
 from setuptools import find_packages
 
 
-version = '0.14.0'
+version = '0.14.1'
 
 # Please update tox.ini when modifying dependency version requirements
 install_requires = [





commit python-acme for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-05-17 17:18:46

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Wed May 17 17:18:46 2017 rev:5 rq:495251 version:0.14.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-04-06 
11:01:48.770444504 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-05-17 17:19:30.751273964 +0200
@@ -1,0 +2,17 @@
+Tue May 16 10:50:51 UTC 2017 - ec...@opensuse.org
+
+- fix build error in Tumbleweed
+
+---
+Mon May 15 10:51:46 UTC 2017 - ec...@opensuse.org
+
+- update to 0.14.0
+  - No changelog provides by upstream
+
+---
+Tue Apr 25 20:53:13 UTC 2017 - ec...@opensuse.org
+
+- update to 0.13.0
+  - No changelog provides by upstream
+
+---

Old:

  acme-0.12.0.tar.gz
  acme-0.12.0.tar.gz.asc

New:

  acme-0.14.0.tar.gz
  acme-0.14.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.TsT36B/_old  2017-05-17 17:19:31.391183720 +0200
+++ /var/tmp/diff_new_pack.TsT36B/_new  2017-05-17 17:19:31.395183156 +0200
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.12.0
+Version:0.14.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -28,16 +28,22 @@
 Source1:
https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc
 Source2:%{name}.keyring
 BuildRequires:  fdupes
+BuildRequires:  python-argparse
 BuildRequires:  python-cryptography >= 0.8
 BuildRequires:  python-devel
 BuildRequires:  python-dnspython >= 1.12
 BuildRequires:  python-mock
 BuildRequires:  python-ndg-httpsclient
 BuildRequires:  python-nose
+BuildRequires:  python-packaging
 BuildRequires:  python-pyOpenSSL >= 0.13
 BuildRequires:  python-pyRFC3339
 BuildRequires:  python-pytz
+%if 0%{?suse_version} >= 1330
+BuildRequires:  python2-requests >= 2.10
+%else
 BuildRequires:  python-requests >= 2.10
+%endif
 BuildRequires:  python-setuptools >= 11.3
 BuildRequires:  python-six >= 1.5.2
 BuildRequires:  python-sphinx
@@ -45,7 +51,7 @@
 BuildRequires:  python-sphinxcontrib-programoutput
 BuildRequires:  python-tox
 BuildRequires:  python-werkzeug
-BuildRequires:  python-packaging
+Requires:   python-argparse
 Requires:   python-cryptography >= 0.8
 Requires:   python-dnspython >= 1.12
 Requires:   python-mock
@@ -54,7 +60,11 @@
 Requires:   python-pyRFC3339
 Requires:   python-pyasn1
 Requires:   python-pytz
+%if 0%{?suse_version} >= 1330
+Requires:   python2-requests >= 2.10
+%else
 Requires:   python-requests >= 2.10
+%endif
 Requires:   python-six >= 1.5.2
 Requires:   python-werkzeug
 BuildArch:  noarch

++ acme-0.12.0.tar.gz -> acme-0.14.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.12.0/PKG-INFO new/acme-0.14.0/PKG-INFO
--- old/acme-0.12.0/PKG-INFO2017-03-02 23:01:44.0 +0100
+++ new/acme-0.14.0/PKG-INFO2017-05-05 01:45:31.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.12.0
+Version: 0.14.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
@@ -19,5 +19,6 @@
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet :: WWW/HTTP
 Classifier: Topic :: Security
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.12.0/acme/challenges.py 
new/acme-0.14.0/acme/challenges.py
--- old/acme-0.12.0/acme/challenges.py  2017-03-02 23:01:28.0 +0100
+++ new/acme-0.14.0/acme/challenges.py  2017-05-05 01:45:16.0 +0200
@@ -5,7 +5,7 @@
 import logging
 import socket
 
-from cryptography.hazmat.primitives import hashes
+from cryptography.hazmat.primitives import hashes  # type: ignore
 import OpenSSL
 import requests
 
@@ -23,7 +23,7 @@
 class Challenge(jose.TypedJSONObjectWithFields):
 # _fields_to_partial_json | pylint: disable=abstract-method
 """ACME challenge."""
-TYPES = {}
+TYPES = {}  # type: dict
 
 @classmethod
 def from_json(cls, jobj):
@@ -37,7 +37,7 @@
 class ChallengeResponse(j

commit python-acme for openSUSE:Factory

2017-04-06 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-04-06 11:01:36

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Thu Apr  6 11:01:36 2017 rev:4 rq:482807 version:0.12.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-03-09 
02:03:57.366448330 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-04-06 11:01:48.770444504 +0200
@@ -1,0 +2,6 @@
+Mon Mar 27 06:54:03 UTC 2017 - ec...@opensuse.org
+
+- insert BuildRequires: python-packaging to prevent build errors
+  for Leap 42.1
+
+---



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.EltTYT/_old  2017-04-06 11:01:49.510339932 +0200
+++ /var/tmp/diff_new_pack.EltTYT/_new  2017-04-06 11:01:49.514339366 +0200
@@ -45,6 +45,7 @@
 BuildRequires:  python-sphinxcontrib-programoutput
 BuildRequires:  python-tox
 BuildRequires:  python-werkzeug
+BuildRequires:  python-packaging
 Requires:   python-cryptography >= 0.8
 Requires:   python-dnspython >= 1.12
 Requires:   python-mock






commit python-acme for openSUSE:Factory

2017-03-08 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-03-09 02:03:56

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Thu Mar  9 02:03:56 2017 rev:3 rq:477337 version:0.12.0

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-02-16 
16:50:51.660471678 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-03-09 02:03:57.366448330 +0100
@@ -1,0 +2,11 @@
+Mon Mar  6 12:33:03 UTC 2017 - ec...@opensuse.org
+
+- change require version to python-requests >= 2.10
+
+---
+Fri Mar  3 19:33:20 UTC 2017 - ec...@opensuse.org
+
+- update to 0.12.0
+  - No changelog provides by upstream
+  
+---

Old:

  acme-0.11.1.tar.gz
  acme-0.11.1.tar.gz.asc

New:

  acme-0.12.0.tar.gz
  acme-0.12.0.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.IQczUd/_old  2017-03-09 02:03:58.146337824 +0100
+++ /var/tmp/diff_new_pack.IQczUd/_new  2017-03-09 02:03:58.150337258 +0100
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.11.1
+Version:0.12.0
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0
@@ -37,7 +37,7 @@
 BuildRequires:  python-pyOpenSSL >= 0.13
 BuildRequires:  python-pyRFC3339
 BuildRequires:  python-pytz
-BuildRequires:  python-requests
+BuildRequires:  python-requests >= 2.10
 BuildRequires:  python-setuptools >= 11.3
 BuildRequires:  python-six >= 1.5.2
 BuildRequires:  python-sphinx
@@ -53,7 +53,7 @@
 Requires:   python-pyRFC3339
 Requires:   python-pyasn1
 Requires:   python-pytz
-Requires:   python-requests
+Requires:   python-requests >= 2.10
 Requires:   python-six >= 1.5.2
 Requires:   python-werkzeug
 BuildArch:  noarch

++ acme-0.11.1.tar.gz -> acme-0.12.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.11.1/PKG-INFO new/acme-0.12.0/PKG-INFO
--- old/acme-0.11.1/PKG-INFO2017-02-02 04:31:56.0 +0100
+++ new/acme-0.12.0/PKG-INFO2017-03-02 23:01:44.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.11.1
+Version: 0.12.0
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.11.1/acme/challenges.py 
new/acme-0.12.0/acme/challenges.py
--- old/acme-0.11.1/acme/challenges.py  2017-02-02 04:31:46.0 +0100
+++ new/acme-0.12.0/acme/challenges.py  2017-03-02 23:01:28.0 +0100
@@ -425,7 +425,7 @@
 # TODO: domain is not necessary if host is provided
 if "host" not in kwargs:
 host = socket.gethostbyname(domain)
-logging.debug('%s resolved to %s', domain, host)
+logger.debug('%s resolved to %s', domain, host)
 kwargs["host"] = host
 
 kwargs.setdefault("port", self.PORT)
@@ -445,7 +445,7 @@
 """
 # pylint: disable=protected-access
 sans = crypto_util._pyopenssl_cert_or_req_san(cert)
-logging.debug('Certificate %s. SANs: %s', cert.digest('sha1'), sans)
+logger.debug('Certificate %s. SANs: %s', cert.digest('sha1'), sans)
 return self.z_domain.decode() in sans
 
 def simple_verify(self, chall, domain, account_public_key,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.11.1/acme/client.py 
new/acme-0.12.0/acme/client.py
--- old/acme-0.11.1/acme/client.py  2017-02-02 04:31:46.0 +0100
+++ new/acme-0.12.0/acme/client.py  2017-03-02 23:01:28.0 +0100
@@ -620,13 +620,14 @@
 
 """
 if method == "POST":
-logging.debug('Sending POST request to %s:\n%s',
+logger.debug('Sending POST request to %s:\n%s',
   url, kwargs['data'])
 else:
-logging.debug('Sending %s request to %s.', method, url)
+logger.debug('Sending %s request to %s.', method, url)
 kwargs['verify'] = self.verify_ssl
 kwargs.setdefault('headers', {})
 kwargs['headers'].setdefault('User-Agent', self.user_agent)
+kwargs.setdefault('timeout', 45) # timeout after 45 seconds
 response = self.session.request(method, url, *args, **kwargs)
 # If content is DER, log the base64 of it instead of raw byt

commit python-acme for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2017-02-16 16:50:50

Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and  /work/SRC/openSUSE:Factory/.python-acme.new (New)


Package is "python-acme"

Changes:

--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2017-02-06 
15:04:34.435448838 +0100
+++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 
2017-02-16 16:50:51.660471678 +0100
@@ -1,0 +2,6 @@
+Wed Feb  8 23:22:26 UTC 2017 - ec...@opensuse.org
+
+- update to 0.11.1
+  - No changelog provides by upstream
+
+---

Old:

  acme-0.10.2.tar.gz
  acme-0.10.2.tar.gz.asc

New:

  acme-0.11.1.tar.gz
  acme-0.11.1.tar.gz.asc



Other differences:
--
++ python-acme.spec ++
--- /var/tmp/diff_new_pack.wxCfQi/_old  2017-02-16 16:50:52.140403534 +0100
+++ /var/tmp/diff_new_pack.wxCfQi/_new  2017-02-16 16:50:52.140403534 +0100
@@ -18,7 +18,7 @@
 
 %define libname acme
 Name:   python-%{libname}
-Version:0.10.2
+Version:0.11.1
 Release:0
 Summary:Python library for the ACME protocol
 License:Apache-2.0

++ acme-0.10.2.tar.gz -> acme-0.11.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.10.2/PKG-INFO new/acme-0.11.1/PKG-INFO
--- old/acme-0.10.2/PKG-INFO2017-01-26 03:59:02.0 +0100
+++ new/acme-0.11.1/PKG-INFO2017-02-02 04:31:56.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: acme
-Version: 0.10.2
+Version: 0.11.1
 Summary: ACME protocol implementation in Python
 Home-page: https://github.com/letsencrypt/letsencrypt
 Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.10.2/acme/challenges.py 
new/acme-0.11.1/acme/challenges.py
--- old/acme-0.10.2/acme/challenges.py  2017-01-26 03:58:36.0 +0100
+++ new/acme-0.11.1/acme/challenges.py  2017-02-02 04:31:46.0 +0100
@@ -9,7 +9,6 @@
 import OpenSSL
 import requests
 
-from acme import dns_resolver
 from acme import errors
 from acme import crypto_util
 from acme import fields
@@ -183,7 +182,7 @@
 
 Subclasses must implement this method, but they are likely to
 return completely different data structures, depending on what's
-necessary to complete the challenge. Interepretation of that
+necessary to complete the challenge. Interpretation of that
 return value must be known to the caller.
 
 :param JWK account_key:
@@ -214,36 +213,24 @@
 def simple_verify(self, chall, domain, account_public_key):
 """Simple verify.
 
+This method no longer checks DNS records and is a simple wrapper
+around `KeyAuthorizationChallengeResponse.verify`.
+
 :param challenges.DNS01 chall: Corresponding challenge.
 :param unicode domain: Domain name being verified.
 :param JWK account_public_key: Public key for the key pair
 being authorized.
 
-:returns: ``True`` iff validation with the TXT records resolved from a
-DNS server is successful.
+:return: ``True`` iff verification of the key authorization was
+successful.
 :rtype: bool
 
 """
-if not self.verify(chall, account_public_key):
+# pylint: disable=unused-argument
+verified = self.verify(chall, account_public_key)
+if not verified:
 logger.debug("Verification of key authorization in response 
failed")
-return False
-
-validation_domain_name = chall.validation_domain_name(domain)
-validation = chall.validation(account_public_key)
-logger.debug("Verifying %s at %s...", chall.typ, 
validation_domain_name)
-
-try:
-txt_records = dns_resolver.txt_records_for_name(
-validation_domain_name)
-except errors.DependencyError:
-raise errors.DependencyError("Local validation for 'dns-01' "
- "challenges requires 'dnspython'")
-exists = validation in txt_records
-if not exists:
-logger.debug("Key authorization from response (%r) doesn't match "
- "any DNS response in %r", self.key_authorization,
- txt_records)
-return exists
+return verified
 
 
 @Challenge.register  # pylint: disable=too-many-ancestors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-0.10.2/acme/challenges_test.py 
new/acme-0.11.1/acme/challenges_test.py
--- old/ac