public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ansible-runner] rawhide: Ignore the DeprecationWarnings during the test run
@ 2026-06-03 10:02 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-03 10:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-ansible-runner
Branch : rawhide
Commit : 9f1550b6b5db6ec96cb1268dc43910203b701966
Author : Karolina Surma <ksurma@redhat.com>
Date   : 2026-05-26T12:21:31+02:00
Stats  : +4/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-ansible-runner/c/9f1550b6b5db6ec96cb1268dc43910203b701966?branch=rawhide

Log:
Ignore the DeprecationWarnings during the test run

---
diff --git a/python-ansible-runner.spec b/python-ansible-runner.spec
index 53bac46..d396753 100644
--- a/python-ansible-runner.spec
+++ b/python-ansible-runner.spec
@@ -92,7 +92,10 @@ ln -s ansible-runner-%{python3_version} %{buildroot}/%{_bindir}/ansible-runner-3
 # test suite hangs indefinitely on exit without -n auto
 # note this implies the dep on xdist, so don't remove it
 # https://github.com/ansible/ansible-runner/issues/1369
-%pytest -n auto
+# Ignore the DeprecationWarnings in builds with Python 3.15 where 
+# "This process is multi-threaded, use of forkpty() may lead to deadlocks in the child."
+# is emitted for ~100 tests
+%pytest -n auto -W ignore::DeprecationWarning
 
 %files -n python3-%{pypi_name}
 %license LICENSE.md

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-03 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 10:02 [rpms/python-ansible-runner] rawhide: Ignore the DeprecationWarnings during the test run Karolina Surma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox