Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package koan for openSUSE:Factory checked in at 2026-12-01 16:59:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/koan (Old) and /work/SRC/openSUSE:Factory/.koan.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "koan" Tue Dec 1 16:59:59 2026 rev:4 rq:1401849 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/koan/koan.changes 2025-08-15 21:52:29.489195318 +0200 +++ /work/SRC/openSUSE:Factory/.koan.new.1340718/koan.changes 2026-12-01 17:03:15.072889987 +0100 @@ -1,0 +2,28 @@ +Sat Oct 17 17:22:52 UTC 2026 - Andrea Manzini <[email protected]> + +- Update to version 3.3.1: + * Port the OpenVZ ovz-install helper from bash into Python inside + koan.virt.openvz so packaged OpenVZ container installs work + without an external script. + * Fix koan --update-files failing with an unknown curl option due + to a trailing space in the "--output" argument. + * Fix a Python 3 TypeError when merging dict.keys() views in + OpenVZ start_install() by using a set union. + * Treat libvirt domain state 4 (shutting down) as "running" in + VIRT_STATE_NAME_MAP to avoid a race condition while waiting for + a VM to shut down. + * Preserve custom HTTP ports in get_install_tree_from_autoinst() + by formatting the autoinstall URL with http_server instead of + server. + * Add a --version flag to the koan CLI, migrate koan and + cobbler-register argument parsing from optparse to argparse, + and switch to setuptools console_scripts entrypoints in + koan.cli. + * Move the hypervisor installation backends into the koan.virt + subpackage (xen, qemu, openvz, vmw, image). + * Derive package version via setuptools_scm. +- Add python-setuptools_scm BuildRequires, set + SETUPTOOLS_SCM_PRETEND_VERSION, enable the pytest %check suite, + run %fdupes, and drop obsolete debbuild conditionals. + +------------------------------------------------------------------- Old: ---- koan-3.0.1+git68.obscpio New: ---- koan-3.3.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ koan.spec ++++++ --- /var/tmp/diff_new_pack.v8I533/_old 2026-12-01 17:03:16.048930888 +0100 +++ /var/tmp/diff_new_pack.v8I533/_new 2026-12-01 17:03:16.051931013 +0100 @@ -1,7 +1,7 @@ # # spec file for package koan # -# Copyright (c) 2025 SUSE LLC and contributors +# 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,14 +16,8 @@ # -%if "%{_vendor}" == "debbuild" -%global develsuffix dev -%else %global develsuffix devel -%endif - -%global __python %{__python3} - +%global __python python3 %if 0%{?suse_version} && 0%{?suse_version} < 1600 %{!?python3_pkgversion: %global python3_pkgversion 311} %global python3_pkgversion 311 @@ -32,52 +26,44 @@ %{!?python3_pkgversion: %global python3_pkgversion 3} %global python3_pkgversion %{python3_pkgversion} %endif -%if 0%{?suse_version} -%{?single_pythons_311plus} -%endif - -%define next_tag 3.0.2 Name: koan -Version: 3.0.1+git68 +Version: 3.3.1 Release: 0%{?dist} Summary: Kickstart over a network - -%if "%{_vendor}" == "debbuild" -Group: admin -%else -Group: Development/Libraries -%endif - License: GPL-2.0-or-later URL: https://github.com/cobbler/koan Source0: %{name}-%{version}.tar.gz -BuildArch: noarch - +BuildRequires: fdupes BuildRequires: python%{python3_pkgversion}-%{develsuffix} +BuildRequires: python%{python3_pkgversion}-distro +BuildRequires: python%{python3_pkgversion}-netifaces BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-pytest-mock BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-setuptools_scm BuildRequires: python%{python3_pkgversion}-wheel -%if "%{_vendor}" != "debbuild" -BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: virt-install +Requires: python%{python3_pkgversion}-distro +Requires: python%{python3_pkgversion}-netifaces +Recommends: virt-install +BuildArch: noarch +%if 0%{?suse_version} +%{?single_pythons_311plus} %endif %if 0%{?rhel} # We need these to build this properly, and OBS doesn't pull them in by default for EPEL BuildRequires: epel-rpm-macros %endif -Requires: python%{python3_pkgversion}-distro -Requires: python%{python3_pkgversion}-netifaces %if 0%{?suse_version} # SUSE distributions have messed up naming of this module +BuildRequires: python%{python3_pkgversion}-libvirt-python Requires: python%{python3_pkgversion}-libvirt-python %else +BuildRequires: python%{python3_pkgversion}-libvirt Requires: python%{python3_pkgversion}-libvirt %endif -%if "%{_vendor}" == "debbuild" -Recommends: virtinst -%else -Recommends: virt-install -%endif %description Koan stands for kickstart-over-a-network and allows for both network @@ -87,33 +73,16 @@ %prep %autosetup -p1 -%if 0%{?fedora}%{?rhel} -pathfix.py -pni "%{__python} %{py_shbang_opts}" bin -%endif - %build -%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel -%else -python3 -m pip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./dist . -%endif %install -%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} %pyproject_install -%else -python3 -m pip install --verbose --progress-bar off --disable-pip-version-check --root %{buildroot} --no-compile --ignore-installed --no-deps --no-index . -%endif +%fdupes %{buildroot}%{python_sitelib} -%if "%{_vendor}" == "debbuild" -%post -# Do late-stage bytecompilation, per debian policy -py%{python3_pkgversion}compile -p %{name} - -%preun -# Ensure all __pycache__ files are deleted, per debian policy -py%{python3_pkgversion}clean -p %{name} -%endif +%check +%pytest %files %license COPYING @@ -121,5 +90,5 @@ %{_bindir}/koan %{_bindir}/cobbler-register %{python_sitelib}/koan -%{python_sitelib}/koan-%{next_tag}.dist-info +%{python_sitelib}/koan-%{version}.dist-info ++++++ _service ++++++ --- /var/tmp/diff_new_pack.v8I533/_old 2026-12-01 17:03:16.119933863 +0100 +++ /var/tmp/diff_new_pack.v8I533/_new 2026-12-01 17:03:16.125934114 +0100 @@ -7,7 +7,7 @@ <param name="extract">koan.spec</param> <param name="exclude">tests*</param> --> - <param name="revision">main</param> + <param name="revision">v3.3.1</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="versionrewrite-pattern">v(.*?)(\+git0)?$</param> </service> ++++++ koan-3.0.1+git68.obscpio -> koan-3.3.1.obscpio ++++++ ++++ 16915 lines of diff (skipped) ++++++ koan.obsinfo ++++++ --- /var/tmp/diff_new_pack.v8I533/_old 2026-12-01 17:03:16.417946351 +0100 +++ /var/tmp/diff_new_pack.v8I533/_new 2026-12-01 17:03:16.420946477 +0100 @@ -1,5 +1,5 @@ name: koan -version: 3.0.1+git68 -mtime: 1754038639 -commit: bfbba77e472c972b3d771419da6f49a1e2785e30 +version: 3.3.1 +mtime: 1784718949 +commit: 222f2999310190e8919f352b47ae8761ab0e3026
