Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-subprocess for
openSUSE:Factory checked in at 2025-11-17 12:08:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-subprocess (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-subprocess.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-subprocess"
Mon Nov 17 12:08:38 2025 rev:6 rq:1317762 version:1.5.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-subprocess/python-pytest-subprocess.changes
2025-09-15 19:54:55.728198864 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-subprocess.new.2061/python-pytest-subprocess.changes
2025-11-17 12:09:20.490247258 +0100
@@ -1,0 +2,6 @@
+Fri Nov 14 04:33:37 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Refresh patch py314-fix-tests.patch:
+ * Ignore DeprecationWarning about asyncio event loop policies.
+
+-------------------------------------------------------------------
New:
----
_scmsync.obsinfo
build.specials.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-subprocess.spec ++++++
--- /var/tmp/diff_new_pack.yOyM5I/_old 2025-11-17 12:09:22.918349810 +0100
+++ /var/tmp/diff_new_pack.yOyM5I/_new 2025-11-17 12:09:22.926350147 +0100
@@ -24,7 +24,8 @@
License: MIT
URL: https://github.com/aklajnert/pytest-subprocess
Source0:
https://github.com/aklajnert/pytest-subprocess/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
-Patch1:
https://github.com/aklajnert/pytest-subprocess/commit/be30d9a94ba45afb600717e3fcd95b8b2ff2c60e.patch#/py314-fix-tests.patch
+# PATCH-FIX-UPSTREAM Based on
gh#aklajnert/pytest-subprocess#be30d9a94ba45afb600717e3fcd95b8b2ff2c60e
+Patch1: py314-fix-tests.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ _scmsync.obsinfo ++++++
mtime: 1763113859
commit: 06088bb81a7944ab70512510a4ae9e3fb4d639444233bd98368dcb85ea4bace3
url: https://src.opensuse.org/python-pytest/python-pytest-subprocess.git
revision: 06088bb81a7944ab70512510a4ae9e3fb4d639444233bd98368dcb85ea4bace3
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2025-11-14 11:20:59.000000000 +0100
@@ -0,0 +1 @@
+.osc
++++++ py314-fix-tests.patch ++++++
--- /var/tmp/diff_new_pack.yOyM5I/_old 2025-11-17 12:09:23.970394243 +0100
+++ /var/tmp/diff_new_pack.yOyM5I/_new 2025-11-17 12:09:24.014396102 +0100
@@ -8,16 +8,16 @@
tests/test_examples.py | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
-diff --git a/tests/test_examples.py b/tests/test_examples.py
-index 5a27604..df849f3 100644
---- a/tests/test_examples.py
-+++ b/tests/test_examples.py
+Index: pytest-subprocess-1.5.3/tests/test_examples.py
+===================================================================
+--- pytest-subprocess-1.5.3.orig/tests/test_examples.py
++++ pytest-subprocess-1.5.3/tests/test_examples.py
@@ -1,3 +1,4 @@
+import sys
from pathlib import Path
import pytest
-@@ -39,18 +40,21 @@ def test_documentation(testdir, rst_file):
+@@ -39,18 +40,21 @@ def test_documentation(testdir, rst_file
" os.chdir(os.path.dirname(__file__))\n\n"
)
@@ -51,4 +51,37 @@
code_blocks = "\n".join(get_code_blocks(ROOT_DIR / rst_file))
testdir.makepyfile(
+Index: pytest-subprocess-1.5.3/tests/test_asyncio.py
+===================================================================
+--- pytest-subprocess-1.5.3.orig/tests/test_asyncio.py
++++ pytest-subprocess-1.5.3/tests/test_asyncio.py
+@@ -2,6 +2,7 @@ import asyncio
+ import os
+ import sys
+ import time
++import warnings
+
+ import anyio
+ import pytest
+@@ -13,12 +14,14 @@ PYTHON = sys.executable
+
+ @pytest.fixture()
+ def event_loop_policy(request):
+- if sys.platform.startswith("win"):
+- if request.node.name.startswith("test_invalid_event_loop"):
+- return asyncio.WindowsSelectorEventLoopPolicy()
+- else:
+- return asyncio.WindowsProactorEventLoopPolicy()
+- return asyncio.DefaultEventLoopPolicy()
++ with warnings.catch_warnings():
++ warnings.simplefilter('ignore', DeprecationWarning)
++ if sys.platform.startswith("win"):
++ if request.node.name.startswith("test_invalid_event_loop"):
++ return asyncio.WindowsSelectorEventLoopPolicy()
++ else:
++ return asyncio.WindowsProactorEventLoopPolicy()
++ return asyncio.DefaultEventLoopPolicy()
+
+
+ if sys.platform.startswith("win") and sys.version_info < (3, 8):