Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyKMIP for openSUSE:Factory checked in at 2026-09-29 17:54:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyKMIP (Old) and /work/SRC/openSUSE:Factory/.python-PyKMIP.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyKMIP" Tue Sep 29 17:54:22 2026 rev:14 rq:1381453 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyKMIP/python-PyKMIP.changes 2026-03-17 19:06:20.169243409 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyKMIP.new.383539/python-PyKMIP.changes 2026-09-29 17:56:02.876874003 +0200 @@ -1,0 +2,24 @@ +Sat Sep 26 15:56:28 UTC 2026 - Andrea Manzini <[email protected]> + +- Update to 0.11.0: + * Fix compatibility with cryptography >= 39.0.0 and >= 42.0.0. + * Add Python 3.12/3.13 support; replace the removed + ssl.wrap_socket with ssl.SSLContext in client and server. + * Add custom attribute support for SymmetricKey/SecretData + and ApplicationSpecificInformation handling. + * Fix SQLAlchemy >= 1.4.0 test compatibility and the + test_mac_with_cryptographic_failure unit test. + * Many more fixes and improvements; see upstream's release + notes for the full list. +- Drop patches merged upstream in this release: + * fix-tests-SQLAlchemy-140.patch + * crypto-39.patch + * fix_test_mac_with_cryptographic_failure.patch + * crypto-42.patch + * no-ssl-wrap-socket.patch + * use-assertequal.patch +- PyPI now serves the sdist as pykmip-%{version}.tar.gz + (lowercase); update Source and %autosetup to match. +- Convert update-alternatives usage to libalternatives (alts). + +------------------------------------------------------------------- Old: ---- PyKMIP-0.10.0.tar.gz crypto-39.patch crypto-42.patch fix-tests-SQLAlchemy-140.patch fix_test_mac_with_cryptographic_failure.patch no-ssl-wrap-socket.patch use-assertequal.patch New: ---- pykmip-0.11.0.tar.gz ----------(Old B)---------- Old: * fix-tests-SQLAlchemy-140.patch * crypto-39.patch * fix_test_mac_with_cryptographic_failure.patch Old: * fix_test_mac_with_cryptographic_failure.patch * crypto-42.patch * no-ssl-wrap-socket.patch Old:- Drop patches merged upstream in this release: * fix-tests-SQLAlchemy-140.patch * crypto-39.patch Old: * crypto-39.patch * fix_test_mac_with_cryptographic_failure.patch * crypto-42.patch Old: * crypto-42.patch * no-ssl-wrap-socket.patch * use-assertequal.patch Old: * no-ssl-wrap-socket.patch * use-assertequal.patch - PyPI now serves the sdist as pykmip-%{version}.tar.gz ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyKMIP.spec ++++++ --- /var/tmp/diff_new_pack.naD7dF/_old 2026-09-29 17:56:03.718909119 +0200 +++ /var/tmp/diff_new_pack.naD7dF/_new 2026-09-29 17:56:03.721909244 +0200 @@ -16,28 +16,16 @@ # +%bcond_without libalternatives Name: python-PyKMIP -Version: 0.10.0 +Version: 0.11.0 Release: 0 Summary: KMIP v11 library License: Apache-2.0 URL: https://github.com/OpenKMIP/PyKMIP -Source: https://files.pythonhosted.org/packages/source/P/PyKMIP/PyKMIP-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix-tests-SQLAlchemy-140.patch gh#OpenKMIP/PyKMIP#656 [email protected] -# fix tests to work with SQLAlchemy >= 1.4.0 -Patch0: fix-tests-SQLAlchemy-140.patch +Source: https://files.pythonhosted.org/packages/source/p/pykmip/pykmip-%{version}.tar.gz # https://github.com/OpenKMIP/PyKMIP/issues/668 -Patch1: python-PyKMIP-no-mock.patch -# PATCH-FIX-UPSTREAM crypto-39.patch gh#OpenKMIP/PyKMIP#689 -Patch2: crypto-39.patch -# PATCH-FIX-UPSTREAM fix_test_mac_with_cryptographic_failure.patch gh#OpenKMIP/PyKMIP#702 -Patch3: fix_test_mac_with_cryptographic_failure.patch -# PATCH-FIX-OPENSUSE Use cryptography.hazmat.primitives.serialization for loading private keys. -Patch4: crypto-42.patch -# PATCH-FIX-UPSTREAM Based on gh#OpenKMIP/PyKMIP#707, including some changes suggested -Patch5: no-ssl-wrap-socket.patch -# PATCH-FIX-UPSTREAM gh#OpenKMIP/PyKMIP#658 -Patch6: use-assertequal.patch +Patch0: python-PyKMIP-no-mock.patch BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module devel} @@ -48,14 +36,14 @@ BuildRequires: %{python_module six} BuildRequires: %{python_module testtools} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-SQLAlchemy Requires: python-cryptography Requires: python-requests Requires: python-six -Requires(post): update-alternatives -Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -68,7 +56,7 @@ 1.0 - 1.2 of the KMIP specification. %prep -%autosetup -p1 -n PyKMIP-%{version} +%autosetup -p1 -n pykmip-%{version} # Not needed, we use Python 3.4+ only sed -i '/"enum-compat",/d' setup.py @@ -78,16 +66,14 @@ %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/pykmip-server +%python_group_libalternatives pykmip-server %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest kmip/tests/unit -%post -%python_install_alternative pykmip-server - -%postun -%python_uninstall_alternative pykmip-server +%pre +%python_libalternatives_reset_alternative pykmip-server %files %{python_files} %license LICENSE.txt
