Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-uv-dynamic-versioning for
openSUSE:Factory checked in at 2026-06-18 18:38:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-uv-dynamic-versioning (Old)
and /work/SRC/openSUSE:Factory/.python-uv-dynamic-versioning.new.1981
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uv-dynamic-versioning"
Thu Jun 18 18:38:20 2026 rev:2 rq:1359874 version:0.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-uv-dynamic-versioning/python-uv-dynamic-versioning.changes
2026-06-08 14:25:25.793330353 +0200
+++
/work/SRC/openSUSE:Factory/.python-uv-dynamic-versioning.new.1981/python-uv-dynamic-versioning.changes
2026-06-18 18:38:38.888084834 +0200
@@ -1,0 +2,6 @@
+Wed Jun 17 02:50:04 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Enable the testsuite.
+- Add missing BuildRequires on update-alternatives.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-uv-dynamic-versioning.spec ++++++
--- /var/tmp/diff_new_pack.UiUuJn/_old 2026-06-18 18:38:39.496110200 +0200
+++ /var/tmp/diff_new_pack.UiUuJn/_new 2026-06-18 18:38:39.500110367 +0200
@@ -29,15 +29,19 @@
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module dunamai >= 1.26}
-BuildRequires: %{python_module hatchling >= 1.26}
+BuildRequires: %{python_module GitPython}
BuildRequires: %{python_module jinja2 >= 3.0}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tomlkit >= 0.13}
+BuildRequires: git
# /SECTION
BuildRequires: fdupes
Requires: python-dunamai >= 1.26
Requires: python-hatchling >= 1.26
Requires: python-jinja2 >= 3.0
Requires: python-tomlkit >= 0.13
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -55,9 +59,12 @@
%python_clone -a %{buildroot}%{_bindir}/uv-dynamic-versioning
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# TODO
-# check
-# CHOOSE: pytest OR pyunittest -v OR CUSTOM
+%check
+git init
+git config user.email "[email protected]"
+git add pyproject.toml
+git commit -m "need at least one commit"
+%pytest
%post
%python_install_alternative uv-dynamic-versioning