Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ansible-builder for openSUSE:Factory
checked in at 2026-01-12 10:24:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-builder (Old)
and /work/SRC/openSUSE:Factory/.ansible-builder.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-builder"
Mon Jan 12 10:24:13 2026 rev:6 rq:1326568 version:3.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-builder/ansible-builder.changes
2025-10-28 14:49:19.749910230 +0100
+++
/work/SRC/openSUSE:Factory/.ansible-builder.new.1928/ansible-builder.changes
2026-01-12 10:32:38.665458675 +0100
@@ -1,0 +2,8 @@
+Tue Jan 6 22:31:16 UTC 2026 - Harshvardhan Sharma
<[email protected]>
+
+- Fix pytest 9.0.2 compatibility: ignore PytestRemovedIn9Warning
+ pytest 9.0.2 treats deprecation warnings about marks on
+ fixtures as errors. Add warning filters to suppress
+ PytestRemovedIn9Warning so tests can run successfully.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ansible-builder.spec ++++++
--- /var/tmp/diff_new_pack.Rl51oV/_old 2026-01-12 10:32:39.161479026 +0100
+++ /var/tmp/diff_new_pack.Rl51oV/_new 2026-01-12 10:32:39.161479026 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ansible-builder
#
-# 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
@@ -105,6 +105,9 @@
sed -i '/cov/d' pytest.ini
# disable color output
sed -i '/color/d' pytest.ini
+# ignore pytest 9 deprecation warning for marks on fixtures
+echo "filterwarnings =" >> pytest.ini
+echo " ignore::pytest.PytestRemovedIn9Warning" >> pytest.ini
# add %{buildroot}%{_bindir} to PATH, so the executable is found
export PATH=%{buildroot}%{_bindir}:$PATH
# checks ignored, as they require podman
@@ -114,7 +117,7 @@
IGNORED_CHECKS="${IGNORED_CHECKS} or test_ansible_check_is_skipped"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_missing_ansible"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_missing_runner"
-%pytest -k "not (${IGNORED_CHECKS})"
+%pytest -W ignore::pytest.PytestRemovedIn9Warning -k "not (${IGNORED_CHECKS})"
%files
%doc README.md