Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-handy-archives for openSUSE:Factory checked in at 2024-08-13 13:22:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-handy-archives (Old) and /work/SRC/openSUSE:Factory/.python-handy-archives.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-handy-archives" Tue Aug 13 13:22:55 2024 rev:2 rq:1193378 version:0.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-handy-archives/python-handy-archives.changes 2024-07-30 11:56:26.926329230 +0200 +++ /work/SRC/openSUSE:Factory/.python-handy-archives.new.7232/python-handy-archives.changes 2024-08-13 13:23:05.977885437 +0200 @@ -1,0 +2,7 @@ +Mon Aug 12 09:12:23 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Add upstream patch to fix tests with pytest >= 8.1: + 0001-Use-reason-instead-of-msg-for-pytest.skip.patch + gh#domdfcoding/handy-archives#35 + +------------------------------------------------------------------- New: ---- 0001-Use-reason-instead-of-msg-for-pytest.skip.patch BETA DEBUG BEGIN: New:- Add upstream patch to fix tests with pytest >= 8.1: 0001-Use-reason-instead-of-msg-for-pytest.skip.patch gh#domdfcoding/handy-archives#35 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-handy-archives.spec ++++++ --- /var/tmp/diff_new_pack.LknDzr/_old 2024-08-13 13:23:06.685914937 +0200 +++ /var/tmp/diff_new_pack.LknDzr/_new 2024-08-13 13:23:06.685914937 +0200 @@ -33,6 +33,8 @@ Source: https://github.com/domdfcoding/handy-archives/archive/refs/tags/v%{version}.tar.gz#/handy_archives-%{version}.tar.gz # PATCH-FIX-UPSTREAM gh#domdfcoding/handy-archives#3bc48dda6a06545ba53a829c6efb0f1a1b95349e Patch0: ignore-tarfile-deprecation-warning.patch +# PATCH-FIX-UPSTREAM: 0001-Use-reason-instead-of-msg-for-pytest.skip.patch gh#domdfcoding/handy-archives#35 +Patch1: 0001-Use-reason-instead-of-msg-for-pytest.skip.patch BuildRequires: %{python_module flit-core >= 3.2} BuildRequires: %{python_module pip} %if %{with test} ++++++ 0001-Use-reason-instead-of-msg-for-pytest.skip.patch ++++++ >From 51c1bad2af2a9bfd65f3543d5548ffbd218ee6a3 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Moreno <daniel.gar...@suse.com> Date: Mon, 12 Aug 2024 11:05:45 +0200 Subject: [PATCH] Use reason instead of msg for pytest.skip msg argument is removed since version 8.1.0 https://github.com/pytest-dev/pytest/commit/0591569b4ba9bfb12e5b5307da621a83c4ceced6 --- tests/test_zipfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_zipfile.py b/tests/test_zipfile.py index 3e5e0b1..da81e75 100644 --- a/tests/test_zipfile.py +++ b/tests/test_zipfile.py @@ -761,11 +761,11 @@ class TestStoredTestsWithSourceFile(AbstractTestsWithSourceFile): try: time.localtime(ts) except OverflowError: - pytest.skip(msg=f'time.localtime({ts}) raises OverflowError') + pytest.skip(reason=f'time.localtime({ts}) raises OverflowError') try: os.utime(testfn, (ts, ts)) except OverflowError: - pytest.skip(msg="Host fs cannot set timestamp to required value.") + pytest.skip(reason="Host fs cannot set timestamp to required value.") mtime_ns = os.stat(tmp_pathplus / TESTFN).st_mtime_ns if mtime_ns != (4386268800 * 10**9): -- 2.45.2