Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-certipy for openSUSE:Factory checked in at 2026-04-29 19:19:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certipy (Old) and /work/SRC/openSUSE:Factory/.python-certipy.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certipy" Wed Apr 29 19:19:32 2026 rev:6 rq:1349913 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certipy/python-certipy.changes 2025-06-26 11:40:38.929082767 +0200 +++ /work/SRC/openSUSE:Factory/.python-certipy.new.30200/python-certipy.changes 2026-04-29 19:21:14.329424715 +0200 @@ -1,0 +2,7 @@ +Wed Apr 29 03:50:29 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch support-cryptography-47.patch: + * Support cryptography 47 changes. +- {Build,}Requires cryptography not pyOpenSSL. + +------------------------------------------------------------------- New: ---- support-cryptography-47.patch ----------(New B)---------- New: - Add patch support-cryptography-47.patch: * Support cryptography 47 changes. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certipy.spec ++++++ --- /var/tmp/diff_new_pack.betnbR/_old 2026-04-29 19:21:14.933449438 +0200 +++ /var/tmp/diff_new_pack.betnbR/_new 2026-04-29 19:21:14.941449766 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-certipy # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source: https://files.pythonhosted.org/packages/source/c/certipy/certipy-%{version}.tar.gz # MANIFEST.in was merged; check next release Source1: https://raw.githubusercontent.com/LLNL/certipy/master/LICENSE +# PATCH-FIX-UPSTREAM gh#llnl/certipy#27 +Patch0: support-cryptography-47.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -34,11 +36,11 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: alts -Requires: python-pyOpenSSL +Requires: python-cryptography BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Flask} -BuildRequires: %{python_module pyOpenSSL} +BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -47,7 +49,7 @@ Create and sign CAs and certificates. %prep -%setup -q -n certipy-%{version} +%autosetup -p1 -n certipy-%{version} cp %{SOURCE1} . mv certipy/test . sed -i 's/\.\.certipy/certipy/' test/*.py ++++++ support-cryptography-47.patch ++++++ >From 35153b8fb7b2d7e4ca89c1b4f200070859134531 Mon Sep 17 00:00:00 2001 From: Min RK <[email protected]> Date: Tue, 28 Apr 2026 12:39:47 -0700 Subject: [PATCH] cryptography: serialization.Encoding is no longer a standard Enum breaking change, you can't instantiate Encoding anymore --- certipy/certipy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/certipy/certipy.py b/certipy/certipy.py index 1ae76d6..40502dd 100644 --- a/certipy/certipy.py +++ b/certipy/certipy.py @@ -168,7 +168,9 @@ def __init__( self.file_path = file_path self.containing_dir = os.path.dirname(self.file_path) - self.encoding = serialization.Encoding(encoding) + if isinstance(encoding, str): + encoding = getattr(serialization.Encoding, encoding) + self.encoding = encoding self.file_type = file_type self.x509 = x509
