Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ansible-lint for openSUSE:Factory checked in at 2026-10-22 15:51:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansible-lint (Old) and /work/SRC/openSUSE:Factory/.ansible-lint.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-lint" Thu Oct 22 15:51:23 2026 rev:86 rq:1387034 version:26.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ansible-lint/ansible-lint.changes 2026-10-14 18:41:04.764948245 +0200 +++ /work/SRC/openSUSE:Factory/.ansible-lint.new.2252680/ansible-lint.changes 2026-10-22 15:55:26.632049807 +0200 @@ -7,0 +8,8 @@ +Wed Oct 14 04:37:13 UTC 2026 - Harshvardhan Sharma <[email protected]> + +- Build the wheel with setuptools_scm and SETUPTOOLS_SCM_PRETEND_VERSION: + the GitHub archive has no git metadata, so the installed + distribution was versioned 0.0.0 and "pip check" failed for + ansible-navigator (requires ansible-lint >= 6.19.0) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansible-lint.spec ++++++ --- /var/tmp/diff_new_pack.JjTW5d/_old 2026-10-22 15:55:27.557088582 +0200 +++ /var/tmp/diff_new_pack.JjTW5d/_new 2026-10-22 15:55:27.559088666 +0200 @@ -49,6 +49,8 @@ BuildRequires: python-rpm-macros BuildRequires: %{ansible_python}-base >= 3.12 BuildRequires: %{ansible_python}-pip +BuildRequires: %{ansible_python}-setuptools >= 65.3.0 +BuildRequires: %{ansible_python}-setuptools_scm >= 7.0.5 BuildRequires: %{ansible_python}-wheel BuildRequires: fdupes @@ -117,6 +119,9 @@ sed -i 's/0.1.dev1/%{version}/' src/ansiblelint/version.py %build +# The GitHub archive tarball carries no git metadata: without setuptools_scm and a +# pretend version the wheel is built as 0.0.0 and ansible-lint --version reports 0.0.0 +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install
