Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-acme for openSUSE:Factory 
checked in at 2026-05-14 21:44:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-acme (Old)
 and      /work/SRC/openSUSE:Factory/.python-acme.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-acme"

Thu May 14 21:44:51 2026 rev:83 rq:1353141 version:5.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes  2026-05-07 
15:46:16.410312239 +0200
+++ /work/SRC/openSUSE:Factory/.python-acme.new.1966/python-acme.changes        
2026-05-14 21:44:53.155357150 +0200
@@ -1,0 +2,6 @@
+Thu May 14 09:10:28 UTC 2026 - Markéta Machová <[email protected]>
+
+- update to 5.6.0
+  * sync with the main certbot package
+
+-------------------------------------------------------------------

Old:
----
  acme-5.5.0.tar.gz

New:
----
  acme-5.6.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-acme.spec ++++++
--- /var/tmp/diff_new_pack.dUlJFj/_old  2026-05-14 21:44:54.863427586 +0200
+++ /var/tmp/diff_new_pack.dUlJFj/_new  2026-05-14 21:44:54.879428246 +0200
@@ -19,7 +19,7 @@
 %{?sle15_python_module_pythons}
 %define libname acme
 Name:           python-%{libname}
-Version:        5.5.0
+Version:        5.6.0
 Release:        0
 Summary:        Python library for the ACME protocol
 License:        Apache-2.0

++++++ acme-5.5.0.tar.gz -> acme-5.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-5.5.0/PKG-INFO new/acme-5.6.0/PKG-INFO
--- old/acme-5.5.0/PKG-INFO     2026-04-07 18:37:48.284696800 +0200
+++ new/acme-5.6.0/PKG-INFO     2026-05-11 17:56:20.936904400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: acme
-Version: 5.5.0
+Version: 5.6.0
 Summary: ACME protocol implementation in Python
 Author: Certbot Project
 License-Expression: Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-5.5.0/setup.py new/acme-5.6.0/setup.py
--- old/acme-5.5.0/setup.py     2026-04-07 18:37:45.000000000 +0200
+++ new/acme-5.6.0/setup.py     2026-05-11 17:56:17.000000000 +0200
@@ -1,6 +1,6 @@
 from setuptools import setup
 
-version = '5.5.0'
+version = '5.6.0'
 
 setup(
     version=version,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/acme-5.5.0/src/acme/_internal/tests/crypto_util_test.py 
new/acme-5.6.0/src/acme/_internal/tests/crypto_util_test.py
--- old/acme-5.5.0/src/acme/_internal/tests/crypto_util_test.py 2026-04-07 
18:37:44.000000000 +0200
+++ new/acme-5.6.0/src/acme/_internal/tests/crypto_util_test.py 2026-05-11 
17:56:16.000000000 +0200
@@ -36,6 +36,12 @@
         # default is PEM encoding Encoding.PEM
         assert isinstance(dumped, bytes)
 
+    def test_dump_cryptography_chain_wrong_encoding(self):
+        from acme.crypto_util import dump_cryptography_chain
+
+        with pytest.raises(ValueError):
+            dump_cryptography_chain(mock.Mock(), serialization.Encoding.SMIME)
+
 
 class CryptographyCertOrReqSANTest(unittest.TestCase):
     """Test for acme.crypto_util._cryptography_cert_or_req_san."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-5.5.0/src/acme/crypto_util.py 
new/acme-5.6.0/src/acme/crypto_util.py
--- old/acme-5.5.0/src/acme/crypto_util.py      2026-04-07 18:37:44.000000000 
+0200
+++ new/acme-5.6.0/src/acme/crypto_util.py      2026-05-11 17:56:16.000000000 
+0200
@@ -6,7 +6,6 @@
 from types import ModuleType
 import typing
 from typing import Any
-from typing import Literal
 from typing import Optional
 from typing import Union
 import warnings
@@ -307,7 +306,7 @@
 
 def dump_cryptography_chain(
     chain: list[x509.Certificate],
-    encoding: Literal[Encoding.PEM, Encoding.DER] = Encoding.PEM,
+    encoding: Encoding = Encoding.PEM,
 ) -> bytes:
     """Dump certificate chain into a bundle.
 
@@ -321,6 +320,8 @@
     """
     # XXX: returns empty string when no chain is available, which
     # shuts up RenewableCert, but might not be the best solution...
+    if encoding not in (Encoding.PEM, Encoding.DER):
+        raise ValueError("Encoding must be PEM or DER")
 
     def _dump_cert(cert: x509.Certificate) -> bytes:
         return cert.public_bytes(encoding)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acme-5.5.0/src/acme.egg-info/PKG-INFO 
new/acme-5.6.0/src/acme.egg-info/PKG-INFO
--- old/acme-5.5.0/src/acme.egg-info/PKG-INFO   2026-04-07 18:37:48.000000000 
+0200
+++ new/acme-5.6.0/src/acme.egg-info/PKG-INFO   2026-05-11 17:56:20.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: acme
-Version: 5.5.0
+Version: 5.6.0
 Summary: ACME protocol implementation in Python
 Author: Certbot Project
 License-Expression: Apache-2.0

Reply via email to