Hello community,

here is the log from the commit of package python-celery for openSUSE:Factory 
checked in at 2019-08-07 13:53:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-celery (Old)
 and      /work/SRC/openSUSE:Factory/.python-celery.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-celery"

Wed Aug  7 13:53:32 2019 rev:28 rq:720025 version:4.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-celery/python-celery.changes      
2019-07-30 13:06:05.658376827 +0200
+++ /work/SRC/openSUSE:Factory/.python-celery.new.9556/python-celery.changes    
2019-08-07 13:53:37.084858017 +0200
@@ -1,0 +2,6 @@
+Wed Jul 31 09:55:16 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch from git to fix build with new pytest:
+  * pytest5.patch
+
+-------------------------------------------------------------------

New:
----
  pytest5.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-celery.spec ++++++
--- /var/tmp/diff_new_pack.mhP3EF/_old  2019-08-07 13:53:37.804858009 +0200
+++ /var/tmp/diff_new_pack.mhP3EF/_new  2019-08-07 13:53:37.808858009 +0200
@@ -34,6 +34,7 @@
 Group:          Development/Languages/Python
 URL:            http://celeryproject.org
 Source:         
https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
+Patch0:         pytest5.patch
 Patch2:         unpin-pytest.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ pytest5.patch ++++++
>From 6514fed13ef2f992b2846116f9b2d1237aac8298 Mon Sep 17 00:00:00 2001
From: Omer Katz <[email protected]>
Date: Mon, 20 May 2019 13:02:34 +0300
Subject: [PATCH] Fix pytest deprecation warning.

---
 t/unit/tasks/test_result.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/unit/tasks/test_result.py b/t/unit/tasks/test_result.py
index 0fe173ed2f..fed76c8fed 100644
--- a/t/unit/tasks/test_result.py
+++ b/t/unit/tasks/test_result.py
@@ -759,7 +759,7 @@ def test_restore_current_app_fallback(self):
         ts = self.app.GroupResult(uuid(), subs)
         ts.save()
         with pytest.raises(RuntimeError,
-                           message="Test depends on current_app"):
+                           match="Test depends on current_app"):
             GroupResult.restore(ts.id)
 
     def test_join_native(self):

Reply via email to