Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-fawltydeps for
openSUSE:Factory checked in at 2025-08-15 21:52:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fawltydeps (Old)
and /work/SRC/openSUSE:Factory/.python-fawltydeps.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fawltydeps"
Fri Aug 15 21:52:36 2025 rev:4 rq:1299776 version:0.20.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fawltydeps/python-fawltydeps.changes
2025-07-21 20:01:20.601690136 +0200
+++
/work/SRC/openSUSE:Factory/.python-fawltydeps.new.1085/python-fawltydeps.changes
2025-08-15 21:54:14.633567511 +0200
@@ -1,0 +2,10 @@
+Fri Aug 15 08:47:51 UTC 2025 - Nico Krapp <[email protected]>
+
+- migrate to libalternatives
+
+-------------------------------------------------------------------
+Thu Aug 14 14:09:44 UTC 2025 - Felix Stegmeier <[email protected]>
+
+- Add missing runtime requirements
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-fawltydeps.spec ++++++
--- /var/tmp/diff_new_pack.VqDzk3/_old 2025-08-15 21:54:15.157589301 +0200
+++ /var/tmp/diff_new_pack.VqDzk3/_new 2025-08-15 21:54:15.157589301 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-fawltydeps
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 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,6 +16,12 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
%{?sle15_python_module_pythons}
Name: python-fawltydeps
Version: 0.20.0
@@ -25,8 +31,7 @@
URL: https://github.com/tweag/FawltyDeps
Source:
https://github.com/tweag/FawltyDeps/archive/refs/tags/v%{version}.tar.gz#/fawltydeps-%{version}.tar.gz
BuildRequires: %{python_module PyYAML >= 6.0.1}
-BuildRequires: %{python_module base >= 3.8}
-BuildRequires: %{python_module hypothesis}
+BuildRequires: %{python_module base >= 3.9.2}
BuildRequires: %{python_module importlib-metadata >= 6.6.0}
BuildRequires: %{python_module isort > 5.10}
BuildRequires: %{python_module nox}
@@ -35,20 +40,26 @@
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pydantic >= 1.10.4}
-# TEST dependencies
-BuildRequires: %{python_module pytest >= 7.1.0}
BuildRequires: fdupes
+# Section TEST dependencies
+BuildRequires: %{python_module pytest >= 7.1.0}
+BuildRequires: %{python_module hypothesis}
+#
Requires: python-PyYAML >= 6.0.1
Requires: python-importlib-metadata >= 6.6.0
Requires: python-isort > 5.10
+Requires: python-packaging
Requires: python-pip-requirements-parser
+Requires: python-pydantic
+%if %{with libalternatives}
+Requires: alts
+BuildRequires: alts
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
+%endif
Suggests: python-uv
BuildArch: noarch
-%if "%{python_flavor}" < "python311"
-BuildRequires: %{python_module tomli >= 2.0.1}
-%endif
%python_subpackages
%description
@@ -75,6 +86,10 @@
skiptests+=" or test_resolve_dependencies__generates_expected_mappings"
%pytest -k "not ($skiptests)"
+%pre
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative fawltydeps
+
%post
%python_install_alternative fawltydeps