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-INFO 2018-12-06 00:48:05.000000000 +0100
+++ new/acme-0.30.2/PKG-INFO 2019-01-25 21:15:55.000000000 +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__.py 2018-12-06 00:47:58.000000000 +0100
+++ new/acme-0.30.2/acme/__init__.py 2019-01-25 21:15:41.000000000 +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/1278ecdf71a312dc2268f3bfc0aabfab3c...
+
+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.000000000 +0100
+++ new/acme-0.30.2/acme/jose_test.py 2019-01-25 21:15:41.000000000 +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', 'JSONDeSerializable',),
+ ('json_util', 'Field',),
+ ('jwa', 'HS256',),
+ ('jwk', 'JWK',),
+ ('jws', 'JWS',),
+ ('util', 'ImmutableMap',),]
+
+ for mod, attr in mods_and_attrs:
+ self._test_it(mod, attr)
+
+
+if __name__ == '__main__':
+ unittest.main() # pragma: no cover
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.29.1/acme.egg-info/PKG-INFO new/acme-0.30.2/acme.egg-info/PKG-INFO
--- old/acme-0.29.1/acme.egg-info/PKG-INFO 2018-12-06 00:48:05.000000000 +0100
+++ new/acme-0.30.2/acme.egg-info/PKG-INFO 2019-01-25 21:15:55.000000000 +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.egg-info/SOURCES.txt new/acme-0.30.2/acme.egg-info/SOURCES.txt
--- old/acme-0.29.1/acme.egg-info/SOURCES.txt 2018-12-06 00:48:05.000000000 +0100
+++ new/acme-0.30.2/acme.egg-info/SOURCES.txt 2019-01-25 21:15:55.000000000 +0100
@@ -15,6 +15,7 @@
acme/errors_test.py
acme/fields.py
acme/fields_test.py
+acme/jose_test.py
acme/jws.py
acme/jws_test.py
acme/magic_typing.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.29.1/setup.py new/acme-0.30.2/setup.py
--- old/acme-0.29.1/setup.py 2018-12-06 00:47:59.000000000 +0100
+++ new/acme-0.30.2/setup.py 2019-01-25 21:15:42.000000000 +0100
@@ -3,7 +3,7 @@
from setuptools.command.test import test as TestCommand
import sys
-version = '0.29.1'
+version = '0.30.2'
# Please update tox.ini when modifying dependency version requirements
install_requires = [