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-08-25 13:20:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-edk2toolext (Old) and /work/SRC/openSUSE:Factory/.python-edk2toolext.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-edk2toolext" Tue Aug 25 13:20:39 2026 rev:3 rq:1373525 version:0.31.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-edk2toolext/python-edk2toolext.changes 2024-11-11 13:47:20.716887778 +0100 +++ /work/SRC/openSUSE:Factory/.python-edk2toolext.new.1258/python-edk2toolext.changes 2026-08-25 13:21:32.733040580 +0200 @@ -1,0 +2,52 @@ +Tue Aug 25 05:52:02 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 0.31.1: + * invocable: Log the command executed + * web_dependency: Handle additional web dep download exceptions + * component-libs: Cleanly error when component not found + * Add StatusCodeprocessor to facilitate the parsing of Status Code + * add ability to pass --debug switch to az artifacts download + * Perf Component: Align GUID format for fpdt_parser and add file encoding + for perf_report_generator + * Add Python 3.14 support + * edk2_parse: bugfix unknown arguments for platform + * [REBASE&FF] Do not set permissions if the expected_mode is zero + * Replace az --version call with az version + * Removed @classmethod decorators from methods intended to be overridden by + subclasses + * capsule_helper: Allow INF Target OS Version to be specified + * Format output xml and align GUID format for fpdt_parser + * invocable: Do not print help message on error. + * stuart_ci_build: Add support for listing plugins + * edk2_pr_eval: Consider build variables in Policy 4 [Rebase & FF] + * edk2_invocable: Register one version per pip package + * edk2_invocable: Fix pkg_resources deprecation warning + * Adding limited cloning capabilities to stuart_setup + * environment/repo_resolved: Support branches from gh pr checkout + * Add Performance Tools [Rebase & FF] + * repo_resolver: fix case of reference and recurse being mutually + exclusive. + * edk2toolext: Add patch var store [Rebase & FF] + * Improve configuration options for GetDependencies. + * Add high-level performance data + * edk2_logging: Add separate perf measurement logs + * repo_resolver: Retry on git dirty repo checks + * project: Add a minimum supported version + * az_cli_universal_dependency.py: Lower logging verbosity when az download + command results contain non-Json data + * improve verbosity flag override + * az_cli_universal_dependency.py: Manage results output for non-Json data + * az_cli_universal_dependency: Enhance error messaging + * Allow [tool] or [tools] section in Rust Env Checker + * pyopenssl_signer: Use cryptography + * rust.py: Use cargo-binstall + * Python support: drop 3.10, add 3.13 +- Run the testsuite. +- List directories under sitelib explicitly. +- Use GitHub URL for the source tarball. +- Add patch include-submodules.patch: + * Include all submodules when building the wheel. +- Add patch do-not-use-bare-python.patch: + * Use sys.executable in the testsuite. + +------------------------------------------------------------------- Old: ---- edk2-pytool-extensions-0.28.0.tar.gz New: ---- do-not-use-bare-python.patch edk2-pytool-extensions-0.31.1.tar.gz include-submodules.patch ----------(New B)---------- New: * Include all submodules when building the wheel. - Add patch do-not-use-bare-python.patch: * Use sys.executable in the testsuite. New:- Use GitHub URL for the source tarball. - Add patch include-submodules.patch: * Include all submodules when building the wheel. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-edk2toolext.spec ++++++ --- /var/tmp/diff_new_pack.4dLo60/_old 2026-08-25 13:21:33.475066746 +0200 +++ /var/tmp/diff_new_pack.4dLo60/_new 2026-08-25 13:21:33.478066852 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-edk2toolext # -# Copyright (c) 2024 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 @@ -16,31 +16,44 @@ # -%define skip_python2 1 -%define skip_python310 1 %{?sle15_python_module_pythons} -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-edk2toolext -Version: 0.28.0 +Version: 0.31.1 Release: 0 Summary: Tianocore Edk2 PyTool Extensions License: BSD-2-Clause-Patent URL: https://github.com/tianocore/edk2-pytool-extensions -Source: edk2-pytool-extensions-%{version}.tar.gz -Group: Development/Tools/Other +Source: https://github.com/tianocore/edk2-pytool-extensions/archive/refs/tags/v%{version}.tar.gz#/edk2-pytool-extensions-%{version}.tar.gz +# PATCH-FIX-OPENSUSE include submodules when building wheels +Patch0: include-submodules.patch +# PATCH-FIX-OPENSUSE use sys.executable in the testsuite, not "python" +Patch1: do-not-use-bare-python.patch +BuildRequires: %{python_module GitPython >= 3.1.30} +BuildRequires: %{python_module PyYAML >= 6.0} +BuildRequires: %{python_module XlsxWriter >= 3.0.9} +BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module edk2toollib >= 0.23.10} +BuildRequires: %{python_module openpyxl >= 3.1.2} +BuildRequires: %{python_module pefile >= 2023.2.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module py >= 1.4} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module semantic_version >= 2.10} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-PyYAML -Requires: python-edk2toollib -Requires: python-pefile -Requires: python-pyOpenSSL +Requires: python-GitPython >= 3.1.30 +Requires: python-PyYAML >= 6.0 +Requires: python-XlsxWriter >= 3.0.9 +Requires: python-edk2toollib >= 0.23.10 +Requires: python-openpyxl >= 3.1.2 +Requires: python-pefile >= 2023.2.7 +Requires: python-semantic_version >= 2.10 +Requires: python-setuptools Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -49,11 +62,11 @@ Extensions to the edk2 build system allowing for a more robust and plugin based build system and tool execution environment %prep -%setup -q -n edk2-pytool-extensions-%{version} -%autopatch -p1 +%autosetup -p1 -n edk2-pytool-extensions-%{version} dos2unix readme.md %build +export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}" %pyproject_wheel %install @@ -61,9 +74,13 @@ %python_clone -a %{buildroot}%{_bindir}/edk2_capsule_tool %python_clone -a %{buildroot}%{_bindir}/firmware_policy_tool +%python_clone -a %{buildroot}%{_bindir}/fpdt_parser %python_clone -a %{buildroot}%{_bindir}/nuget-publish %python_clone -a %{buildroot}%{_bindir}/omnicache +%python_clone -a %{buildroot}%{_bindir}/patch_var_store_tool +%python_clone -a %{buildroot}%{_bindir}/perf_report_generator %python_clone -a %{buildroot}%{_bindir}/sig_db_tool +%python_clone -a %{buildroot}%{_bindir}/statuscode_processor %python_clone -a %{buildroot}%{_bindir}/stuart_build %python_clone -a %{buildroot}%{_bindir}/stuart_ci_build %python_clone -a %{buildroot}%{_bindir}/stuart_ci_setup @@ -78,12 +95,36 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_flavored_alternatives +# Requires network +donttest="TestNugetDependency or test_nuget_publish " +donttest+="or test_bad_ext_dep or test_duplicate_ext_deps_skip_dir " +donttest+="or test_multiple_duplicate_ext_deps_skip_dir " +donttest+="or test_multiple_extdeps or test_one_level_recursive " +donttest+="or test_sha256_ or test_single_file or test_unpack_zip_file_attr " +donttest+="or test_log_error_on_missing_host_specific_folder " +donttest+="or test_can_download_nuget or test_omnicache_convert " +donttest+="or test_omnicache_fetch " +ignore="--ignore tests.unit/test_edk2_setup.py " +ignore+="--ignore tests.unit/test_git_dependency.py " +ignore+="--ignore tests.unit/test_repo_resolver.py" +# Requires azure-cli +donttest+="or test_az_tool_environment " +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +$python -Bm pytest $ignore -k "not ($donttest)" +} + %post %python_install_alternative edk2_capsule_tool %python_install_alternative firmware_policy_tool +%python_install_alternative fpdt_parser %python_install_alternative nuget-publish %python_install_alternative omnicache +%python_install_alternative patch_var_store_tool +%python_install_alternative perf_report_generator %python_install_alternative sig_db_tool +%python_install_alternative statuscode_processor %python_install_alternative stuart_build %python_install_alternative stuart_ci_build %python_install_alternative stuart_ci_setup @@ -99,9 +140,13 @@ %postun %python_uninstall_alternative edk2_capsule_tool %python_uninstall_alternative firmware_policy_tool +%python_uninstall_alternative fpdt_parser %python_uninstall_alternative nuget-publish %python_uninstall_alternative omnicache +%python_uninstall_alternative patch_var_store_tool +%python_uninstall_alternative perf_report_generator %python_uninstall_alternative sig_db_tool +%python_uninstall_alternative statuscode_processor %python_uninstall_alternative stuart_build %python_uninstall_alternative stuart_ci_build %python_uninstall_alternative stuart_ci_setup @@ -117,12 +162,17 @@ %files %{python_files} %license LICENSE %doc readme.md -%{python_sitelib}/* +%{python_sitelib}/edk2toolext +%{python_sitelib}/edk2_pytool_extensions-%{version}.dist-info %python_alternative %{_bindir}/edk2_capsule_tool %python_alternative %{_bindir}/firmware_policy_tool +%python_alternative %{_bindir}/fpdt_parser %python_alternative %{_bindir}/nuget-publish %python_alternative %{_bindir}/omnicache +%python_alternative %{_bindir}/patch_var_store_tool +%python_alternative %{_bindir}/perf_report_generator %python_alternative %{_bindir}/sig_db_tool +%python_alternative %{_bindir}/statuscode_processor %python_alternative %{_bindir}/stuart_build %python_alternative %{_bindir}/stuart_ci_build %python_alternative %{_bindir}/stuart_ci_setup ++++++ do-not-use-bare-python.patch ++++++ Index: edk2-pytool-extensions-0.31.0/tests.unit/test_uefi_build.py =================================================================== --- edk2-pytool-extensions-0.31.0.orig/tests.unit/test_uefi_build.py +++ edk2-pytool-extensions-0.31.0/tests.unit/test_uefi_build.py @@ -12,6 +12,7 @@ import argparse import logging import os import stat +import sys import tempfile import unittest from inspect import cleandoc @@ -127,7 +128,7 @@ class TestUefiBuild(unittest.TestCase): sys.exit(0) """ - build_wrapper_cmd = "python" + build_wrapper_cmd = sys.executable build_wrapper_params = os.path.normpath(build_wrapper_path) TestUefiBuild.write_to_file(build_wrapper_path, cleandoc(build_wrapper_file_content)) ++++++ edk2-pytool-extensions-0.28.0.tar.gz -> edk2-pytool-extensions-0.31.1.tar.gz ++++++ ++++ 26365 lines of diff (skipped) ++++++ include-submodules.patch ++++++ Index: edk2-pytool-extensions-0.31.0/pyproject.toml =================================================================== --- edk2-pytool-extensions-0.31.0.orig/pyproject.toml +++ edk2-pytool-extensions-0.31.0/pyproject.toml @@ -95,8 +95,9 @@ perf_report_generator = "edk2toolext.per secureboot_audit = "edk2toolext.windows.secureboot.secureboot_audit:main" statuscode_processor = "edk2toolext.status_code_processor:main" -[tool.setuptools] -packages = ["edk2toolext"] +[tool.setuptools.packages.find] +where = ["."] +include = ["edk2toolext", "edk2toolext.*"] [tool.setuptools_scm]
