Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-paramiko for openSUSE:Factory
checked in at 2024-05-15 21:25:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-paramiko (Old)
and /work/SRC/openSUSE:Factory/.python-paramiko.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-paramiko"
Wed May 15 21:25:35 2024 rev:62 rq:1173814 version:3.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-paramiko/python-paramiko.changes
2023-12-20 21:00:18.590217952 +0100
+++
/work/SRC/openSUSE:Factory/.python-paramiko.new.1880/python-paramiko.changes
2024-05-15 21:25:54.444095062 +0200
@@ -1,0 +2,6 @@
+Tue May 14 03:27:34 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-8.patch:
+ * Use non-deprecated setup method to support pytest >= 8.
+
+-------------------------------------------------------------------
New:
----
support-pytest-8.patch
BETA DEBUG BEGIN:
New:
- Add patch support-pytest-8.patch:
* Use non-deprecated setup method to support pytest >= 8.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-paramiko.spec ++++++
--- /var/tmp/diff_new_pack.ZPLI1l/_old 2024-05-15 21:25:55.232123584 +0200
+++ /var/tmp/diff_new_pack.ZPLI1l/_new 2024-05-15 21:25:55.232123584 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-paramiko
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,8 @@
Patch1: remove-icecream-dep.patch
# PATCH-FIX-OPENSUSE use 64-bit value of sys.maxsize to prevent test failure
on 32-bit
Patch2: use-64-bit-maxsize-everywhere.patch
+# PATCH-FIX-UPSTREAM gh#paramiko/paramiko#2349 Use non-deprecated setup method
name to support pytest >= 8
+Patch3: support-pytest-8.patch
BuildRequires: %{python_module PyNaCl >= 1.0.1}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module bcrypt >= 3.2}
++++++ support-pytest-8.patch ++++++
>From d71046151d9904df467ff72709585cde39cdd4ca Mon Sep 17 00:00:00 2001
From: Alex Gaynor <[email protected]>
Date: Sat, 27 Jan 2024 17:04:18 -0500
Subject: [PATCH] Use pytest's setup_method -- in pytest 8 the nose method
setup is deprecated
---
tests/test_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_config.py b/tests/test_config.py
index 2e49aa3de..1e623e0ad 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -53,7 +53,7 @@ def load_config(name):
class TestSSHConfig:
- def setup(self):
+ def setup_method(self):
self.config = load_config("robey")
def test_init(self):