Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-edk2toolext for
openSUSE:Factory checked in at 2026-10-20 12:44:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-edk2toolext (Old)
and /work/SRC/openSUSE:Factory/.python-edk2toolext.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-edk2toolext"
Tue Oct 20 12:44:03 2026 rev:4 rq:1386428 version:0.31.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-edk2toolext/python-edk2toolext.changes
2026-08-25 13:21:32.733040580 +0200
+++
/work/SRC/openSUSE:Factory/.python-edk2toolext.new.3698736/python-edk2toolext.changes
2026-10-20 12:44:09.299134446 +0200
@@ -1,0 +2,9 @@
+Fri Oct 16 14:29:02 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.31.2:
+ * Edk2InvocableSettingsInterface: Update GetActiveScopes and
+ GetSkippedDirectories return types
+- Convert console-script alternatives to libalternatives, keeping
+ the update-alternatives fallback for SLE-15 targets
+
+-------------------------------------------------------------------
Old:
----
edk2-pytool-extensions-0.31.1.tar.gz
New:
----
edk2-pytool-extensions-0.31.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-edk2toolext.spec ++++++
--- /var/tmp/diff_new_pack.NksUv1/_old 2026-10-20 12:44:10.520185527 +0200
+++ /var/tmp/diff_new_pack.NksUv1/_new 2026-10-20 12:44:10.522185611 +0200
@@ -16,9 +16,14 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
%{?sle15_python_module_pythons}
Name: python-edk2toolext
-Version: 0.31.1
+Version: 0.31.2
Release: 0
Summary: Tianocore Edk2 PyTool Extensions
License: BSD-2-Clause-Patent
@@ -52,10 +57,14 @@
Requires: python-pefile >= 2023.2.7
Requires: python-semantic_version >= 2.10
Requires: python-setuptools
+BuildArch: noarch
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
-BuildArch: noarch
-
+%endif
%python_subpackages
%description
@@ -92,6 +101,7 @@
%python_clone -a %{buildroot}%{_bindir}/stuart_parse
%python_clone -a %{buildroot}%{_bindir}/stuart_report
%python_clone -a %{buildroot}%{_bindir}/validate_image_tool
+%python_group_libalternatives edk2_capsule_tool firmware_policy_tool
fpdt_parser nuget-publish omnicache patch_var_store_tool perf_report_generator
sig_db_tool statuscode_processor stuart_build stuart_ci_build stuart_ci_setup
stuart_pr_eval stuart_setup stuart_update versioninfo_tool secureboot_audit
stuart_parse stuart_report validate_image_tool
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -115,6 +125,28 @@
$python -Bm pytest $ignore -k "not ($donttest)"
}
+%pre
+%python_libalternatives_reset_alternative edk2_capsule_tool
+%python_libalternatives_reset_alternative firmware_policy_tool
+%python_libalternatives_reset_alternative fpdt_parser
+%python_libalternatives_reset_alternative nuget-publish
+%python_libalternatives_reset_alternative omnicache
+%python_libalternatives_reset_alternative patch_var_store_tool
+%python_libalternatives_reset_alternative perf_report_generator
+%python_libalternatives_reset_alternative sig_db_tool
+%python_libalternatives_reset_alternative statuscode_processor
+%python_libalternatives_reset_alternative stuart_build
+%python_libalternatives_reset_alternative stuart_ci_build
+%python_libalternatives_reset_alternative stuart_ci_setup
+%python_libalternatives_reset_alternative stuart_pr_eval
+%python_libalternatives_reset_alternative stuart_setup
+%python_libalternatives_reset_alternative stuart_update
+%python_libalternatives_reset_alternative versioninfo_tool
+%python_libalternatives_reset_alternative secureboot_audit
+%python_libalternatives_reset_alternative stuart_parse
+%python_libalternatives_reset_alternative stuart_report
+%python_libalternatives_reset_alternative validate_image_tool
+
%post
%python_install_alternative edk2_capsule_tool
%python_install_alternative firmware_policy_tool
++++++ edk2-pytool-extensions-0.31.1.tar.gz ->
edk2-pytool-extensions-0.31.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/edk2-pytool-extensions-0.31.1/edk2toolext/edk2_invocable.py
new/edk2-pytool-extensions-0.31.2/edk2toolext/edk2_invocable.py
--- old/edk2-pytool-extensions-0.31.1/edk2toolext/edk2_invocable.py
2026-08-25 02:49:44.000000000 +0200
+++ new/edk2-pytool-extensions-0.31.2/edk2toolext/edk2_invocable.py
2026-09-02 01:10:07.000000000 +0200
@@ -108,14 +108,14 @@
"""
return []
- def GetActiveScopes(self) -> tuple[str]:
+ def GetActiveScopes(self) -> tuple[str, ...]:
"""Provides scopes that should be active for this process for SDE.
!!! tip
Optional Override in a subclass
Returns:
- (Tuple[str]): scopes
+ (tuple[str, ...]): scopes
"""
return ()
@@ -157,14 +157,14 @@
args (argparse.Namespace): argparser args namespace containing
command line options
"""
- def GetSkippedDirectories(self) -> tuple[str]:
+ def GetSkippedDirectories(self) -> tuple[str, ...]:
"""Returns a tuple containing workspace-relative directories to be
skipped by SDE.
!!! tip
Optional override in a subclass
Returns:
- (Tuple[str]): directories to be skipped.
+ (tuple[str, ...]): directories to be skipped.
"""
return ()