Hello community,

here is the log from the commit of package python-pygal for openSUSE:Factory 
checked in at 2019-11-22 10:20:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygal (Old)
 and      /work/SRC/openSUSE:Factory/.python-pygal.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pygal"

Fri Nov 22 10:20:23 2019 rev:5 rq:746026 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pygal/python-pygal.changes        
2019-07-30 13:03:22.702414629 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygal.new.26869/python-pygal.changes     
2019-11-22 10:20:24.733345648 +0100
@@ -1,0 +2,7 @@
+Wed Nov  6 15:16:36 CET 2019 - Matej Cepl <mc...@suse.com>
+
+- Add patch pytest4.patch to make the test suite compatible with
+  pytest4+ (yes, THIS is the only change necessary!).
+  gh#Kozea/pygal#340
+
+-------------------------------------------------------------------

New:
----
  pytest4.patch

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

Other differences:
------------------
++++++ python-pygal.spec ++++++
--- /var/tmp/diff_new_pack.HmTUQp/_old  2019-11-22 10:20:25.133345544 +0100
+++ /var/tmp/diff_new_pack.HmTUQp/_new  2019-11-22 10:20:25.133345544 +0100
@@ -27,6 +27,9 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz
 Source10:       
https://raw.githubusercontent.com/Kozea/pygal/%{version}/COPYING
 Patch0:         python38.patch
+# PATCH-FIX-UPSTREAM pytest4.patch gh#Kozea/pygal#340 mc...@suse.com
+# yes, THIS is what makes this test suite pytest4+ compatible!
+Patch1:         pytest4.patch
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module pyquery}
@@ -43,8 +46,7 @@
 %endif
 # SECTION test requirements
 BuildRequires:  %{python_module pytest-runner}
-# https://github.com/Kozea/pygal/pull/340
-BuildRequires:  %{python_module pytest < 4.0}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -54,7 +56,8 @@
 
 %prep
 %setup -q -n pygal-%{version}
-%patch0 -p1
+%autopatch -p1
+
 cp %{SOURCE10} .
 
 %build

++++++ pytest4.patch ++++++
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,13 +1,6 @@
 [wheel]
 universal = 1
 
-[pytest]
-flake8-ignore = 
-       *.py E731 E402
-       pygal/__init__.py F401
-       pygal/_compat.py F821 F401
-       docs/conf.py ALL
-
 [egg_info]
 tag_build = 
 tag_date = 0

Reply via email to